3 writes to MatrixRowIndex
Microsoft.ML.Tests (3)
TrainerEstimators\MatrixFactorizationTests.cs (3)
747
observedMatrix.Add(new OneClassMatrixElement() { MatrixColumnIndex = i,
MatrixRowIndex
= j, Value = 1, Score = 0 });
748
fullMatrix.Add(new OneClassMatrixElement() { MatrixColumnIndex = i,
MatrixRowIndex
= j, Value = 1, Score = 0 });
752
fullMatrix.Add(new OneClassMatrixElement() { MatrixColumnIndex = i,
MatrixRowIndex
= j, Value = 0.15f, Score = 0 });
6 references to MatrixRowIndex
Microsoft.ML.Tests (6)
TrainerEstimators\MatrixFactorizationTests.cs (6)
661
MatrixRowIndexColumnName = nameof(OneClassMatrixElement.
MatrixRowIndex
),
689
Assert.Equal(1u, firstElement.
MatrixRowIndex
);
694
Assert.Equal(100u, lastElement.
MatrixRowIndex
);
701
var topColumns = results.Where(element => element.
MatrixRowIndex
== 1).OrderByDescending(element => element.Score).Take(2);
707
Assert.Equal(1u, firstElement.
MatrixRowIndex
);
712
Assert.Equal(1u, lastElement.
MatrixRowIndex
);