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)
81public 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)"); 187Utils.WriteSinglesNoCount(ctx.Writer, _rightFactorMatrix); 206for (int i = 0; i < _rightFactorMatrix.Length; ++i) 208writer.Write(_rightFactorMatrix[i].ToString("G")); 305score += _leftFactorMatrix[rowOffset + i] * _rightFactorMatrix[columnOffset + i];