MatrixFactorizationTrainer.Fit 方法

定义

重载

Fit(IDataView) 火车并返回一个 MatrixFactorizationPredictionTransformer
Fit(IDataView, IDataView)

MatrixFactorizationTrainer使用训练和验证数据训练返回 aMatrixFactorizationPredictionTransformer.

Fit(IDataView)

火车并返回一个 MatrixFactorizationPredictionTransformer
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

参数

input
IDataView

训练数据集。

返回

实现

适用于

Fit(IDataView, IDataView)

MatrixFactorizationTrainer使用训练和验证数据训练返回 aMatrixFactorizationPredictionTransformer.

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

参数

trainData
IDataView

训练数据集。

validationData
IDataView

验证数据集。

返回

适用于