15 references to RecommenderUtils
Microsoft.ML.Recommender (15)
MatrixFactorizationPredictor.cs (10)
342var matrixColumnList = schema.GetColumns(RecommenderUtils.MatrixColumnIndexKind); 343string msg = $"'{RecommenderUtils.MatrixColumnIndexKind}' column doesn't exist or not unique"; 347var matrixRowList = schema.GetColumns(RecommenderUtils.MatrixRowIndexKind); 348msg = $"'{RecommenderUtils.MatrixRowIndexKind}' column doesn't exist or not unique"; 375yield return RecommenderUtils.MatrixColumnIndexKind.Bind(_matrixColumnIndexColumnName); 376yield return RecommenderUtils.MatrixRowIndexKind.Bind(_matrixRowIndexColumnName); 442/// <param name="matrixColumnIndexColumnName">The name of the column used as role <see cref="RecommenderUtils.MatrixColumnIndexKind"/> in matrix factorization world</param> 443/// <param name="matrixRowIndexColumnName">The name of the column used as role <see cref="RecommenderUtils.MatrixRowIndexKind"/> in matrix factorization world</param> 472roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixColumnIndexKind, MatrixColumnIndexColumnName)); 473roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixRowIndexKind, MatrixRowIndexColumnName));
MatrixFactorizationTrainer.cs (5)
442RecommenderUtils.CheckAndGetMatrixIndexColumns(data, out var matrixColumnIndexColInfo, out var matrixRowIndexColInfo, isDecode: false); 451RecommenderUtils.CheckAndGetMatrixIndexColumns(validData, out var validMatrixColumnIndexColInfo, out var validMatrixRowIndexColInfo, isDecode: false); 492RecommenderUtils.CheckAndGetMatrixIndexColumns(validData, out var validMatrixColumnIndexColInfo, out var validMatrixRowIndexColInfo, isDecode: false); 531roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixColumnIndexKind.Value, MatrixColumnIndexName)); 532roles.Add(new KeyValuePair<RoleMappedSchema.ColumnRole, string>(RecommenderUtils.MatrixRowIndexKind.Value, MatrixRowIndexName));