1 write to NumericColumnNames
Microsoft.ML.AutoML (1)
API\ColumnInference.cs (1)
131
NumericColumnNames
= new Collection<string>();
21 references to NumericColumnNames
Microsoft.ML.AutoML (9)
API\AutoCatalog.cs (1)
783
columnInfo.
NumericColumnNames
.Add(column);
ColumnInference\ColumnInformationUtil.cs (3)
39
if (columnInfo.
NumericColumnNames
.Contains(columnName))
96
columnInfo.
NumericColumnNames
.Add(column.name);
139
AddStringsToListIfNotNull(columnNames, columnInformation.
NumericColumnNames
);
TrainerExtensions\TrainerExtensionCatalog.cs (1)
74
columnInfo.
NumericColumnNames
.Count == 0 &&
Utils\UserInputValidationUtil.cs (4)
116
ValidateTrainDataColumns(trainData, columnInformation.
NumericColumnNames
, NumericColumnPurposeName,
128
ValidateColumnInfoEnumerationProperty(columnInformation.
NumericColumnNames
, NumericColumnPurposeName);
137
if (columnInformation.
NumericColumnNames
!= null) { allColumns.AddRange(columnInformation.
NumericColumnNames
); }
Microsoft.ML.AutoML.Tests (12)
ColumnInferenceTests.cs (7)
99
Assert.Single(result.ColumnInformation.
NumericColumnNames
);
100
Assert.Equal("Bool", result.ColumnInformation.
NumericColumnNames
.First());
167
Assert.Equal(3, result.ColumnInformation.
NumericColumnNames
.Count());
182
Assert.Single(result.ColumnInformation.
NumericColumnNames
);
183
Assert.Equal(DefaultColumnNames.Features, result.ColumnInformation.
NumericColumnNames
.First());
195
Assert.Single(result.ColumnInformation.
NumericColumnNames
);
196
Assert.Equal(DefaultColumnNames.Features, result.ColumnInformation.
NumericColumnNames
.First());
ColumnInformationUtilTests.cs (2)
33
columnInfo.
NumericColumnNames
.Add("Num");
63
columnInfo.
NumericColumnNames
.Add("Num");
UserInputValidationTests.cs (3)
74
columnInfo.
NumericColumnNames
.Add("N");
87
columnInfo.
NumericColumnNames
.Add(null);
97
columnInfo.
NumericColumnNames
.Add(DefaultColumnNames.Label);