Share via


MatrixFactorizationTrainer.Options.LossFunction Field

Definition

Loss function minimized for finding factor matrices.

public Microsoft.ML.Trainers.MatrixFactorizationTrainer.LossFunctionType LossFunction;
val mutable LossFunction : Microsoft.ML.Trainers.MatrixFactorizationTrainer.LossFunctionType
Public LossFunction As MatrixFactorizationTrainer.LossFunctionType 

Field Value

Remarks

Two values are allowed, SquareLossRegression or SquareLossOneClass. The SquareLossRegression means traditional collaborative filtering problem with squared loss. The SquareLossOneClass triggers one-class matrix factorization for implicit-feedback recommendation problem.

Applies to