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