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