2 writes to MatrixColumnIndexColumnName
Microsoft.ML.Recommender (2)
MatrixFactorizationPredictor.cs (2)
452MatrixColumnIndexColumnName = matrixColumnIndexColumnName; 490MatrixColumnIndexColumnName = 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>. 455if (!trainSchema.TryGetColumnIndex(MatrixColumnIndexColumnName, out int xCol)) 456throw Host.ExceptSchemaMismatch(nameof(MatrixColumnIndexColumnName), "matrixColumnIndex", MatrixColumnIndexColumnName); 472roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixColumnIndexKind, MatrixColumnIndexColumnName)); 493if (!TrainSchema.TryGetColumnIndex(MatrixColumnIndexColumnName, out int xCol)) 494throw Host.ExceptSchemaMismatch(nameof(MatrixColumnIndexColumnName), "matrixColumnIndex", MatrixColumnIndexColumnName); 514if (!inputSchema.TryGetColumnIndex(MatrixColumnIndexColumnName, out int xCol)) 515throw Host.ExceptSchemaMismatch(nameof(inputSchema), "matrixColumnIndex", MatrixColumnIndexColumnName); 545ctx.SaveString(MatrixColumnIndexColumnName);