1 write to ColumnInformation
Microsoft.ML.AutoML (1)
ColumnInference\ColumnInferenceApi.cs (1)
103
ColumnInformation
= ColumnInformationUtil.BuildColumnInfo(purposeResults)
35 references to ColumnInformation
Microsoft.ML.AutoML.Tests (33)
AutoFeaturizerTests.cs (1)
111
var pipeline = context.Auto().Featurizer(trainData, columnInference.
ColumnInformation
);
AutoFitTests.cs (3)
348
.Execute(trainDataset, testDataset, columnInference.
ColumnInformation
);
371
.Execute(trainData, 5, columnInference.
ColumnInformation
);
400
.Execute(trainData, columnInference.
ColumnInformation
);
ColumnInferenceTests.cs (29)
64
Assert.Equal("hours-per-week", result.
ColumnInformation
.LabelColumnName);
75
Assert.Equal(DefaultColumnNames.Label, result.
ColumnInformation
.LabelColumnName);
99
Assert.Single(result.
ColumnInformation
.NumericColumnNames);
100
Assert.Equal("Bool", result.
ColumnInformation
.NumericColumnNames.First());
101
Assert.Equal(DefaultColumnNames.Label, result.
ColumnInformation
.LabelColumnName);
129
Assert.Single(result.
ColumnInformation
.CategoricalColumnNames);
130
Assert.Empty(result.
ColumnInformation
.TextColumnNames);
144
Assert.Single(result.
ColumnInformation
.TextColumnNames);
145
Assert.Equal("Username", result.
ColumnInformation
.TextColumnNames.First());
146
Assert.Equal(DefaultColumnNames.Label, result.
ColumnInformation
.LabelColumnName);
163
Assert.Equal(DefaultColumnNames.Label, result.
ColumnInformation
.LabelColumnName);
164
Assert.Equal(DefaultColumnNames.Weight, result.
ColumnInformation
.ExampleWeightColumnName);
165
Assert.Equal(DefaultColumnNames.User, result.
ColumnInformation
.UserIdColumnName);
166
Assert.Equal(DefaultColumnNames.Item, result.
ColumnInformation
.ItemIdColumnName);
167
Assert.Equal(3, result.
ColumnInformation
.NumericColumnNames.Count());
180
Assert.Equal(DefaultColumnNames.Label, result.
ColumnInformation
.LabelColumnName);
181
Assert.Equal(DefaultColumnNames.Weight, result.
ColumnInformation
.ExampleWeightColumnName);
182
Assert.Single(result.
ColumnInformation
.NumericColumnNames);
183
Assert.Equal(DefaultColumnNames.Features, result.
ColumnInformation
.NumericColumnNames.First());
194
Assert.Equal(DatasetUtil.MlNetGeneratedRegressionLabel, result.
ColumnInformation
.LabelColumnName);
195
Assert.Single(result.
ColumnInformation
.NumericColumnNames);
196
Assert.Equal(DefaultColumnNames.Features, result.
ColumnInformation
.NumericColumnNames.First());
197
Assert.Null(result.
ColumnInformation
.ExampleWeightColumnName);
225
Assert.NotNull(result.
ColumnInformation
.LabelColumnName);
226
Assert.Single(result.
ColumnInformation
.TextColumnNames);
227
Assert.Single(result.
ColumnInformation
.CategoricalColumnNames);
229
Assert.Equal("id", result.
ColumnInformation
.LabelColumnName);
230
Assert.Equal("description", result.
ColumnInformation
.TextColumnNames.First());
231
Assert.Equal("animal", result.
ColumnInformation
.CategoricalColumnNames.First());
Microsoft.ML.CodeGenerator (2)
Utils.cs (2)
55
col => col.Name != columnInference.
ColumnInformation
.LabelColumnName &&
56
!columnInference.
ColumnInformation
.IgnoredColumnNames.Contains(col.Name));