2 writes to MatrixColumnIndexColumnName
Microsoft.ML.Recommender (2)
MatrixFactorizationPredictor.cs (2)
452
MatrixColumnIndexColumnName
= matrixColumnIndexColumnName;
490
MatrixColumnIndexColumnName
= ctx.LoadString();
11 references to MatrixColumnIndexColumnName
Microsoft.ML.Recommender (11)
MatrixFactorizationPredictor.cs (11)
436
/// columns specified by <see cref="
MatrixColumnIndexColumnName
"/>, <see cref="MatrixColumnIndexColumnType"/>, <see cref="MatrixRowIndexColumnName"/>, and <see cref="MatrixRowIndexColumnType"></see>.
455
if (!trainSchema.TryGetColumnIndex(
MatrixColumnIndexColumnName
, out int xCol))
456
throw Host.ExceptSchemaMismatch(nameof(
MatrixColumnIndexColumnName
), "matrixColumnIndex",
MatrixColumnIndexColumnName
);
472
roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixColumnIndexKind,
MatrixColumnIndexColumnName
));
493
if (!TrainSchema.TryGetColumnIndex(
MatrixColumnIndexColumnName
, out int xCol))
494
throw Host.ExceptSchemaMismatch(nameof(
MatrixColumnIndexColumnName
), "matrixColumnIndex",
MatrixColumnIndexColumnName
);
514
if (!inputSchema.TryGetColumnIndex(
MatrixColumnIndexColumnName
, out int xCol))
515
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "matrixColumnIndex",
MatrixColumnIndexColumnName
);
545
ctx.SaveString(
MatrixColumnIndexColumnName
);