GamRegressionTrainer.Fit(IDataView, IDataView) 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.
Trains a GamRegressionTrainer using both training and validation data, returns a RegressionPredictionTransformer<TModel>.
public Microsoft.ML.Data.RegressionPredictionTransformer<Microsoft.ML.Trainers.FastTree.GamRegressionModelParameters> Fit (Microsoft.ML.IDataView trainData, Microsoft.ML.IDataView validationData);
override this.Fit : Microsoft.ML.IDataView * Microsoft.ML.IDataView -> Microsoft.ML.Data.RegressionPredictionTransformer<Microsoft.ML.Trainers.FastTree.GamRegressionModelParameters>
Public Function Fit (trainData As IDataView, validationData As IDataView) As RegressionPredictionTransformer(Of GamRegressionModelParameters)
Parameters
- trainData
- IDataView
- validationData
- IDataView