MatrixFactorizationTrainer.Fit 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
Fit(IDataView) |
|
Fit(IDataView, IDataView) |
Trains a MatrixFactorizationTrainer using both training and validation data, returns a MatrixFactorizationPredictionTransformer. |
Fit(IDataView)
public Microsoft.ML.Trainers.Recommender.MatrixFactorizationPredictionTransformer Fit (Microsoft.ML.IDataView input);
abstract member Fit : Microsoft.ML.IDataView -> Microsoft.ML.Trainers.Recommender.MatrixFactorizationPredictionTransformer
override this.Fit : Microsoft.ML.IDataView -> Microsoft.ML.Trainers.Recommender.MatrixFactorizationPredictionTransformer
Public Function Fit (input As IDataView) As MatrixFactorizationPredictionTransformer
Parameters
- input
- IDataView
The training data set.
Returns
Implements
Applies to
Fit(IDataView, IDataView)
Trains a MatrixFactorizationTrainer using both training and validation data, returns a MatrixFactorizationPredictionTransformer.
public Microsoft.ML.Trainers.Recommender.MatrixFactorizationPredictionTransformer Fit (Microsoft.ML.IDataView trainData, Microsoft.ML.IDataView validationData);
member this.Fit : Microsoft.ML.IDataView * Microsoft.ML.IDataView -> Microsoft.ML.Trainers.Recommender.MatrixFactorizationPredictionTransformer
Public Function Fit (trainData As IDataView, validationData As IDataView) As MatrixFactorizationPredictionTransformer
Parameters
- trainData
- IDataView
The training data set.
- validationData
- IDataView
The validation data set.