1 write to TextColumnNames
Microsoft.ML.AutoML (1)
API\ColumnInference.cs (1)
132
TextColumnNames
= new Collection<string>();
16 references to TextColumnNames
Microsoft.ML.AutoML (9)
API\AutoCatalog.cs (1)
791
columnInfo.
TextColumnNames
.Add(column);
ColumnInference\ColumnInformationUtil.cs (3)
44
if (columnInfo.
TextColumnNames
.Contains(columnName))
108
columnInfo.
TextColumnNames
.Add(column.name);
140
AddStringsToListIfNotNull(columnNames, columnInformation.
TextColumnNames
);
TrainerExtensions\TrainerExtensionCatalog.cs (1)
75
columnInfo.
TextColumnNames
.Count == 0)
Utils\UserInputValidationUtil.cs (4)
118
ValidateTrainDataColumns(trainData, columnInformation.
TextColumnNames
, TextColumnPurposeName,
129
ValidateColumnInfoEnumerationProperty(columnInformation.
TextColumnNames
, TextColumnPurposeName);
138
if (columnInformation.
TextColumnNames
!= null) { allColumns.AddRange(columnInformation.
TextColumnNames
); }
Microsoft.ML.AutoML.Tests (7)
ColumnInferenceTests.cs (5)
130
Assert.Empty(result.ColumnInformation.
TextColumnNames
);
144
Assert.Single(result.ColumnInformation.
TextColumnNames
);
145
Assert.Equal("Username", result.ColumnInformation.
TextColumnNames
.First());
226
Assert.Single(result.ColumnInformation.
TextColumnNames
);
230
Assert.Equal("description", result.ColumnInformation.
TextColumnNames
.First());
ColumnInformationUtilTests.cs (1)
34
columnInfo.
TextColumnNames
.Add("Text");
UserInputValidationTests.cs (1)
224
columnInfo.
TextColumnNames
.Add(textPurposeColName);