AutoMLExperimentExtension.SetDataset 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
SetDataset(AutoMLExperiment, DataOperationsCatalog+TrainTestData) |
Set train and validation dataset for AutoMLExperiment. This will make AutoMLExperiment uses TrainSet from |
SetDataset(AutoMLExperiment, IDataView, IDataView, Boolean) |
Set train and validation dataset for AutoMLExperiment. This will make AutoMLExperiment uses |
SetDataset(AutoMLExperiment, IDataView, Int32, String) |
Set cross-validation dataset for AutoMLExperiment. This will make AutoMLExperiment use n= |
SetDataset(AutoMLExperiment, DataOperationsCatalog+TrainTestData)
Set train and validation dataset for AutoMLExperiment. This will make AutoMLExperiment uses TrainSet from trainValidationSplit
to train a model, and use TestSet from trainValidationSplit
to evaluate the model.
public static Microsoft.ML.AutoML.AutoMLExperiment SetDataset (this Microsoft.ML.AutoML.AutoMLExperiment experiment, Microsoft.ML.DataOperationsCatalog.TrainTestData trainValidationSplit);
static member SetDataset : Microsoft.ML.AutoML.AutoMLExperiment * Microsoft.ML.DataOperationsCatalog.TrainTestData -> Microsoft.ML.AutoML.AutoMLExperiment
<Extension()>
Public Function SetDataset (experiment As AutoMLExperiment, trainValidationSplit As DataOperationsCatalog.TrainTestData) As AutoMLExperiment
Parameters
- experiment
- AutoMLExperiment
- trainValidationSplit
- DataOperationsCatalog.TrainTestData
a DataOperationsCatalog.TrainTestData for train and validation.
Returns
Applies to
SetDataset(AutoMLExperiment, IDataView, IDataView, Boolean)
Set train and validation dataset for AutoMLExperiment. This will make AutoMLExperiment uses train
to train a model, and use validation
to evaluate the model.
public static Microsoft.ML.AutoML.AutoMLExperiment SetDataset (this Microsoft.ML.AutoML.AutoMLExperiment experiment, Microsoft.ML.IDataView train, Microsoft.ML.IDataView validation, bool subSamplingTrainDataset = false);
static member SetDataset : Microsoft.ML.AutoML.AutoMLExperiment * Microsoft.ML.IDataView * Microsoft.ML.IDataView * bool -> Microsoft.ML.AutoML.AutoMLExperiment
<Extension()>
Public Function SetDataset (experiment As AutoMLExperiment, train As IDataView, validation As IDataView, Optional subSamplingTrainDataset As Boolean = false) As AutoMLExperiment
Parameters
- experiment
- AutoMLExperiment
- train
- IDataView
dataset for training a model.
- validation
- IDataView
dataset for validating a model during training.
- subSamplingTrainDataset
- Boolean
determine if subsampling train
to train. This will be useful if train
is too large to be held in memory.
Returns
Applies to
SetDataset(AutoMLExperiment, IDataView, Int32, String)
Set cross-validation dataset for AutoMLExperiment. This will make AutoMLExperiment use n=fold
cross-validation split on dataset
to train and evaluate a model.
public static Microsoft.ML.AutoML.AutoMLExperiment SetDataset (this Microsoft.ML.AutoML.AutoMLExperiment experiment, Microsoft.ML.IDataView dataset, int fold = 10, string samplingKeyColumnName = default);
static member SetDataset : Microsoft.ML.AutoML.AutoMLExperiment * Microsoft.ML.IDataView * int * string -> Microsoft.ML.AutoML.AutoMLExperiment
<Extension()>
Public Function SetDataset (experiment As AutoMLExperiment, dataset As IDataView, Optional fold As Integer = 10, Optional samplingKeyColumnName As String = Nothing) As AutoMLExperiment
Parameters
- experiment
- AutoMLExperiment
- dataset
- IDataView
dataset for cross-validation split.
- fold
- Int32
number of cross-validation folds
- samplingKeyColumnName
- String
column name for sampling key