26 writes to DataKind
Microsoft.ML.AutoML (1)
ColumnInference\TextFileContents.cs (1)
68
DataKind
= DataKind.String,
Microsoft.ML.CodeGenerator.Tests (25)
CodeGenTests.cs (25)
145
new TextLoader.Column(){ Name = "Label", Source = new TextLoader.Range[]{new TextLoader.Range(0) },
DataKind
= DataKind.Boolean },
149
new TextLoader.Column(){ Name = "id", Source = new TextLoader.Range[]{new TextLoader.Range(0) },
DataKind
= DataKind.Single },
150
new TextLoader.Column(){ Name = "country", Source = new TextLoader.Range[]{new TextLoader.Range(1) },
DataKind
= DataKind.Single },
151
new TextLoader.Column(){ Name = "Country", Source = new TextLoader.Range[]{new TextLoader.Range(2) },
DataKind
= DataKind.String }
155
new TextLoader.Column(){ Name = "id", Source = new TextLoader.Range[]{new TextLoader.Range(0) },
DataKind
= DataKind.Int32 },
156
new TextLoader.Column(){ Name = "shape", Source = new TextLoader.Range[]{new TextLoader.Range(1) },
DataKind
= DataKind.Int32 },
157
new TextLoader.Column(){ Name = "Shape", Source = new TextLoader.Range[]{new TextLoader.Range(2) },
DataKind
= DataKind.String },
158
new TextLoader.Column(){ Name = "color", Source = new TextLoader.Range[]{new TextLoader.Range(3) },
DataKind
= DataKind.String },
159
new TextLoader.Column(){ Name = "price", Source = new TextLoader.Range[]{new TextLoader.Range(4) },
DataKind
= DataKind.Double },
163
new TextLoader.Column(){ Name = "vin", Source = new TextLoader.Range[]{new TextLoader.Range(0) },
DataKind
= DataKind.String },
164
new TextLoader.Column(){ Name = "make", Source = new TextLoader.Range[]{new TextLoader.Range(1) },
DataKind
= DataKind.String },
165
new TextLoader.Column(){ Name = "model", Source = new TextLoader.Range[]{new TextLoader.Range(2) },
DataKind
= DataKind.String },
166
new TextLoader.Column(){ Name = "color", Source = new TextLoader.Range[]{new TextLoader.Range(3) },
DataKind
= DataKind.String },
167
new TextLoader.Column(){ Name = "MSRP", Source = new TextLoader.Range[]{new TextLoader.Range(4) },
DataKind
= DataKind.Single },
168
new TextLoader.Column(){ Name = "engine size", Source = new TextLoader.Range[]{new TextLoader.Range(5) },
DataKind
= DataKind.Double },
169
new TextLoader.Column(){ Name = "isElectric", Source = new TextLoader.Range[]{new TextLoader.Range(6) },
DataKind
= DataKind.Boolean },
173
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.Range(0) },
DataKind
= DataKind.String },
174
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.Range(1) },
DataKind
= DataKind.String },
175
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(2) },
DataKind
= DataKind.Int32 },
176
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(3) },
DataKind
= DataKind.Int32 },
177
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(4) },
DataKind
= DataKind.Int32 },
178
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.Range(5) },
DataKind
= DataKind.String },
179
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(6) },
DataKind
= DataKind.Int32 },
180
new TextLoader.Column(){ Name = "var_text", Source = new TextLoader.Range[]{new TextLoader.Range(7) },
DataKind
= DataKind.String },
181
new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(8) },
DataKind
= DataKind.Double },
12 references to DataKind
Microsoft.ML.AutoML.Tests (8)
ColumnInferenceTests.cs (8)
83
Assert.Equal(DataKind.Single, emptyColumn.
DataKind
);
95
Assert.Equal(DataKind.Single, boolColumn.
DataKind
);
124
Assert.Equal(DataKind.String, labelColumn.
DataKind
);
125
Assert.Equal(DataKind.Single, userColumn.
DataKind
);
126
Assert.Equal(DataKind.Single, itemColumn.
DataKind
);
127
Assert.Equal(DataKind.Single, ignoreColumn.
DataKind
);
141
Assert.Equal(DataKind.String, nameColumn.
DataKind
);
193
Assert.Equal(DataKind.Single, labelCol.
DataKind
);
Microsoft.ML.CodeGenerator (3)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachModelCodeGenerator.cs (1)
56
var labelType = _columnInferenceResult.TextLoaderOptions.Columns.Where(t => t.Name == _settings.LabelName).First().
DataKind
;
CodeGenerator\CSharp\CodeGenerator.cs (1)
60
var labelType = _columnInferenceResult.TextLoaderOptions.Columns.Where(t => t.Name == _settings.LabelName).First().
DataKind
;
Utils.cs (1)
284
dataKind = column.
DataKind
;
Microsoft.ML.Data (1)
DataLoadSave\Text\TextLoader.cs (1)
111
/// Although <see cref="InternalDataKind"/> is internal, <see cref="Type"/>'s information can be publicly accessed by <see cref="
DataKind
"/>.