1 write to CategoricalColumnNames
Microsoft.ML.AutoML (1)
API\ColumnInference.cs (1)
130CategoricalColumnNames = new Collection<string>();
16 references to CategoricalColumnNames
Microsoft.ML.AutoML (9)
API\AutoCatalog.cs (1)
775columnInfo.CategoricalColumnNames.Add(catalogColumn);
ColumnInference\ColumnInformationUtil.cs (3)
34if (columnInfo.CategoricalColumnNames.Contains(columnName)) 90columnInfo.CategoricalColumnNames.Add(column.name); 137AddStringsToListIfNotNull(columnNames, columnInformation.CategoricalColumnNames);
TrainerExtensions\TrainerExtensionCatalog.cs (1)
73columnInfo.CategoricalColumnNames.Count == 0 &&
Utils\UserInputValidationUtil.cs (4)
114ValidateTrainDataColumns(trainData, columnInformation.CategoricalColumnNames, CategoricalColumnPurposeName, 127ValidateColumnInfoEnumerationProperty(columnInformation.CategoricalColumnNames, CategoricalColumnPurposeName); 136if (columnInformation.CategoricalColumnNames != null) { allColumns.AddRange(columnInformation.CategoricalColumnNames); }
Microsoft.ML.AutoML.Tests (7)
ColumnInferenceTests.cs (3)
129Assert.Single(result.ColumnInformation.CategoricalColumnNames); 227Assert.Single(result.ColumnInformation.CategoricalColumnNames); 231Assert.Equal("animal", result.ColumnInformation.CategoricalColumnNames.First());
ColumnInferenceValidationUtilTests.cs (1)
29columnInfo.CategoricalColumnNames.Add("Categorical");
ColumnInformationUtilTests.cs (3)
32columnInfo.CategoricalColumnNames.Add("Cat"); 61columnInfo.CategoricalColumnNames.Add("Cat1"); 62columnInfo.CategoricalColumnNames.Add("Cat2");