2 writes to _rightFactorMatrix
Microsoft.ML.Recommender (2)
MatrixFactorizationPredictor.cs (2)
103
_rightFactorMatrix
= rightFactorMatrix;
146
_rightFactorMatrix
= Utils.ReadSingleArray(ctx.Reader, checked(NumberOfColumns * ApproximationRank));
7 references to _rightFactorMatrix
Microsoft.ML.Recommender (7)
MatrixFactorizationPredictor.cs (7)
81
public IReadOnlyList<float> RightFactorMatrix =>
_rightFactorMatrix
;
107
_host.Assert(
_rightFactorMatrix
.Length == ApproximationRank * NumberOfColumns);
185
_host.Check(Utils.Size(
_rightFactorMatrix
) == NumberOfColumns * ApproximationRank, "Unexpected matrix size of a factor matrix (matrix Q in LIBMF paper)");
187
Utils.WriteSinglesNoCount(ctx.Writer,
_rightFactorMatrix
);
206
for (int i = 0; i <
_rightFactorMatrix
.Length; ++i)
208
writer.Write(
_rightFactorMatrix
[i].ToString("G"));
305
score += _leftFactorMatrix[rowOffset + i] *
_rightFactorMatrix
[columnOffset + i];