AutoCatalog.CreateBinaryClassificationExperiment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateBinaryClassificationExperiment(BinaryExperimentSettings) |
Creates a new AutoML experiment to run on a binary classification dataset. |
CreateBinaryClassificationExperiment(UInt32) |
Creates a new AutoML experiment to run on a binary classification dataset. |
CreateBinaryClassificationExperiment(BinaryExperimentSettings)
Creates a new AutoML experiment to run on a binary classification dataset.
public Microsoft.ML.AutoML.BinaryClassificationExperiment CreateBinaryClassificationExperiment (Microsoft.ML.AutoML.BinaryExperimentSettings experimentSettings);
member this.CreateBinaryClassificationExperiment : Microsoft.ML.AutoML.BinaryExperimentSettings -> Microsoft.ML.AutoML.BinaryClassificationExperiment
Public Function CreateBinaryClassificationExperiment (experimentSettings As BinaryExperimentSettings) As BinaryClassificationExperiment
Parameters
- experimentSettings
- BinaryExperimentSettings
Settings for the AutoML experiment.
Returns
A new AutoML binary classification experiment.
Remarks
See BinaryClassificationExperiment for a more detailed code example of an AutoML binary classification experiment.
Applies to
CreateBinaryClassificationExperiment(UInt32)
Creates a new AutoML experiment to run on a binary classification dataset.
public Microsoft.ML.AutoML.BinaryClassificationExperiment CreateBinaryClassificationExperiment (uint maxExperimentTimeInSeconds);
member this.CreateBinaryClassificationExperiment : uint32 -> Microsoft.ML.AutoML.BinaryClassificationExperiment
Public Function CreateBinaryClassificationExperiment (maxExperimentTimeInSeconds As UInteger) As BinaryClassificationExperiment
Parameters
- maxExperimentTimeInSeconds
- UInt32
Maximum number of seconds that experiment will run.
Returns
A new AutoML binary classification experiment.
Remarks
See BinaryClassificationExperiment for a more detailed code example of an AutoML binary classification experiment.
An experiment may run for longer than maxExperimentTimeInSeconds
. This is because once AutoML starts training an ML.NET model, AutoML lets the model train to completion. For instance, if the first model AutoML trains takes 4 hours, and the second model trained takes 5 hours, but maxExperimentTimeInSeconds
was the number of seconds in 6 hours, the experiment will run for 4 + 5 = 9 hours (not 6 hours).