2 writes to MatrixRowIndexColumnName
Microsoft.ML.Recommender (2)
MatrixFactorizationPredictor.cs (2)
453
MatrixRowIndexColumnName
= matrixRowIndexColumnName;
491
MatrixRowIndexColumnName
= 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>.
458
if (!trainSchema.TryGetColumnIndex(
MatrixRowIndexColumnName
, out int yCol))
459
throw Host.ExceptSchemaMismatch(nameof(yCol), "matrixRowIndex",
MatrixRowIndexColumnName
);
473
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixRowIndexKind,
MatrixRowIndexColumnName
));
497
if (!TrainSchema.TryGetColumnIndex(
MatrixRowIndexColumnName
, out int yCol))
498
throw Host.ExceptSchemaMismatch(nameof(
MatrixRowIndexColumnName
), "matrixRowIndex",
MatrixRowIndexColumnName
);
516
if (!inputSchema.TryGetColumnIndex(
MatrixRowIndexColumnName
, out int yCol))
517
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "matrixRowIndex",
MatrixRowIndexColumnName
);
546
ctx.SaveString(
MatrixRowIndexColumnName
);