AutoCatalog.CreateRecommendationExperiment 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
CreateRecommendationExperiment(UInt32) |
Creates a new AutoML experiment to run on a recommendation classification dataset. |
CreateRecommendationExperiment(RecommendationExperimentSettings) |
Creates a new AutoML experiment to run on a recommendation dataset. |
CreateRecommendationExperiment(UInt32)
Creates a new AutoML experiment to run on a recommendation classification dataset.
public Microsoft.ML.AutoML.RecommendationExperiment CreateRecommendationExperiment (uint maxExperimentTimeInSeconds);
member this.CreateRecommendationExperiment : uint32 -> Microsoft.ML.AutoML.RecommendationExperiment
Public Function CreateRecommendationExperiment (maxExperimentTimeInSeconds As UInteger) As RecommendationExperiment
Parameters
- maxExperimentTimeInSeconds
- UInt32
Maximum number of seconds that experiment will run.
Returns
A new AutoML recommendation classification experiment.
Remarks
See RecommendationExperiment for a more detailed code example of an AutoML multiclass 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).
Applies to
CreateRecommendationExperiment(RecommendationExperimentSettings)
Creates a new AutoML experiment to run on a recommendation dataset.
public Microsoft.ML.AutoML.RecommendationExperiment CreateRecommendationExperiment (Microsoft.ML.AutoML.RecommendationExperimentSettings experimentSettings);
member this.CreateRecommendationExperiment : Microsoft.ML.AutoML.RecommendationExperimentSettings -> Microsoft.ML.AutoML.RecommendationExperiment
Public Function CreateRecommendationExperiment (experimentSettings As RecommendationExperimentSettings) As RecommendationExperiment
Parameters
- experimentSettings
- RecommendationExperimentSettings
Settings for the AutoML experiment.
Returns
A new AutoML recommendation experiment.
Remarks
See RecommendationExperiment for a more detailed code example of an AutoML recommendation experiment.