Share via


MatrixFactorizationTrainer.Fit Method

Definition

Overloads

Fit(IDataView) Trains and returns a MatrixFactorizationPredictionTransformer.
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.

Returns

Applies to