2 writes to MatrixRowIndexColumnName
Microsoft.ML.Recommender (2)
MatrixFactorizationPredictor.cs (2)
453MatrixRowIndexColumnName = matrixRowIndexColumnName; 491MatrixRowIndexColumnName = ctx.LoadString();
10 references to MatrixRowIndexColumnName
Microsoft.ML.Recommender (10)
MatrixFactorizationPredictor.cs (10)
436/// columns specified by <see cref="MatrixColumnIndexColumnName"/>, <see cref="MatrixColumnIndexColumnType"/>, <see cref="MatrixRowIndexColumnName"/>, and <see cref="MatrixRowIndexColumnType"></see>. 458if (!trainSchema.TryGetColumnIndex(MatrixRowIndexColumnName, out int yCol)) 459throw Host.ExceptSchemaMismatch(nameof(yCol), "matrixRowIndex", MatrixRowIndexColumnName); 473roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixRowIndexKind, MatrixRowIndexColumnName)); 497if (!TrainSchema.TryGetColumnIndex(MatrixRowIndexColumnName, out int yCol)) 498throw Host.ExceptSchemaMismatch(nameof(MatrixRowIndexColumnName), "matrixRowIndex", MatrixRowIndexColumnName); 516if (!inputSchema.TryGetColumnIndex(MatrixRowIndexColumnName, out int yCol)) 517throw Host.ExceptSchemaMismatch(nameof(inputSchema), "matrixRowIndex", MatrixRowIndexColumnName); 546ctx.SaveString(MatrixRowIndexColumnName);