549 references to Column
Microsoft.ML.AutoML (5)
AutoMLExperiment\ITrialResultManager.cs (5)
140
new TextLoader.
Column
("id", DataKind.Int32, 0),
141
new TextLoader.
Column
("loss", DataKind.Single, 1),
142
new TextLoader.
Column
("durationInMilliseconds", DataKind.Single, 2),
143
new TextLoader.
Column
("peakCpu", DataKind.Single, 3),
144
new TextLoader.
Column
("peakMemoryInMegaByte", DataKind.Single, 4),
Microsoft.ML.AutoML.Tests (2)
AutoFitTests.cs (2)
714
new TextLoader.
Column
(labelColumnName, DataKind.Single, 0),
715
new TextLoader.
Column
(groupIdColumnName, DataKind.Int32, 1),
Microsoft.ML.CodeGenerator.Tests (54)
ApprovalTests\ConsoleCodeGeneratorTests.cs (54)
572
new TextLoader.
Column
("Label", DataKind.String, 0),
573
new TextLoader.
Column
("userId", DataKind.String, 1),
574
new TextLoader.
Column
("movieId", DataKind.String, 2),
611
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
612
new TextLoader.
Column
("col1", DataKind.Single, 1),
613
new TextLoader.
Column
("col2", DataKind.Single, 0),
614
new TextLoader.
Column
("col3", DataKind.String, 0),
615
new TextLoader.
Column
("col4", DataKind.Int32, 0),
616
new TextLoader.
Column
("col5", DataKind.UInt32, 0),
648
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
649
new TextLoader.
Column
("col1", DataKind.Single, 1),
650
new TextLoader.
Column
("col2", DataKind.Single, 0),
651
new TextLoader.
Column
("col3", DataKind.String, 0),
652
new TextLoader.
Column
("col4", DataKind.Int32, 0),
653
new TextLoader.
Column
("col5", DataKind.UInt32, 0),
701
new TextLoader.
Column
("Label", DataKind.String, 0),
702
new TextLoader.
Column
("ImagePath", DataKind.String, 1), // 0?
739
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
740
new TextLoader.
Column
("GroupId", DataKind.Single, 1),
741
new TextLoader.
Column
("col1", DataKind.Single, 0),
742
new TextLoader.
Column
("col2", DataKind.String, 0),
743
new TextLoader.
Column
("col3", DataKind.Int32, 0),
744
new TextLoader.
Column
("col4", DataKind.UInt32, 0),
790
new TextLoader.
Column
("Label", DataKind.String, 0),
791
new TextLoader.
Column
("ImageSource", DataKind.String, 1), // 0?
821
new TextLoader.
Column
("Age", DataKind.Double, 0),
822
new TextLoader.
Column
("Workclass", DataKind.String, 1), // 0?
823
new TextLoader.
Column
("Fnlwgt", DataKind.Double, 2),
824
new TextLoader.
Column
("Education", DataKind.String, 3),
825
new TextLoader.
Column
("Education_num", DataKind.Double, 4),
826
new TextLoader.
Column
("Marital_status", DataKind.String, 5),
827
new TextLoader.
Column
("Occupation", DataKind.String, 6),
828
new TextLoader.
Column
("Relationship", DataKind.String, 7),
829
new TextLoader.
Column
("Race", DataKind.String, 8),
830
new TextLoader.
Column
("Sex", DataKind.String, 9),
831
new TextLoader.
Column
("Capital_gain", DataKind.Double, 10),
832
new TextLoader.
Column
("Capital_loss", DataKind.Double, 11),
833
new TextLoader.
Column
("Hours_per_week", DataKind.Double, 12),
834
new TextLoader.
Column
("Native_country", DataKind.String, 13),
835
new TextLoader.
Column
("label", DataKind.Boolean, 14),
996
new TextLoader.
Column
("id", DataKind.Int32, 0),
997
new TextLoader.
Column
("MsAssetNum", DataKind.Int32, 1),
998
new TextLoader.
Column
("Make", DataKind.String, 2),
999
new TextLoader.
Column
("Model", DataKind.String, 3),
1000
new TextLoader.
Column
("model", DataKind.Double, 4),
1001
new TextLoader.
Column
("work category", DataKind.String, 5),
1002
new TextLoader.
Column
("Work category", DataKind.Int32, 6),
1003
new TextLoader.
Column
("IsDetachable", DataKind.Boolean, 7),
1106
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
1107
new TextLoader.
Column
("col1", DataKind.Single, 1),
1108
new TextLoader.
Column
("col2", DataKind.Single, 0),
1109
new TextLoader.
Column
("col3", DataKind.String, 0),
1110
new TextLoader.
Column
("col4", DataKind.Int32, 0),
1111
new TextLoader.
Column
("col5", DataKind.UInt32, 0),
Microsoft.ML.Core.Tests (15)
UnitTests\TestEntryPoints.cs (14)
53
new TextLoader.
Column
("Label", DataKind.Single, 0),
74
new TextLoader.
Column
("Label", DataKind.Single, 0),
75
new TextLoader.
Column
("F1", DataKind.String, 1),
76
new TextLoader.
Column
("F2", DataKind.Int32, 2),
1369
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
1370
new TextLoader.
Column
("SentimentText", DataKind.String, 1)
1777
new TextLoader.
Column
("Label", DataKind.String, 0),
1778
new TextLoader.
Column
("Text", DataKind.String, 3)
1993
new TextLoader.
Column
("Label", DataKind.Single, 0),
2139
new TextLoader.
Column
("Label", DataKind.Single, 0),
2141
new TextLoader.
Column
("Cat", DataKind.String, 9)
4241
new TextLoader.
Column
("Label", DataKind.Single, 0),
4722
new TextLoader.
Column
("Label", DataKind.Single, 0)
4764
new TextLoader.
Column
("Label", DataKind.Single, 0)
UnitTests\TestHosts.cs (1)
131
env.Data.CreateTextLoader(new TextLoader.Options { Columns = new[] { new TextLoader.
Column
("TestColumn", DataKind.Single, 0) } });
Microsoft.ML.Data (6)
Transforms\ValueMapping.cs (5)
534
TextLoader.Column valueColumn = new TextLoader.
Column
(valueColumnName, DataKind.UInt32, 1);
642
keyColumn = new TextLoader.
Column
(keyColumnName, DataKind.String, 0);
643
valueColumn = new TextLoader.
Column
(valueColumnName, DataKind.String, 1);
665
keyColumn = new TextLoader.
Column
(keyColumnName, DataKind.String, 0);
666
valueColumn = new TextLoader.
Column
(valueColumnName, DataKind.Single, 1);
Transforms\ValueToKeyMappingTransformer.cs (1)
442
new TextLoader.
Column
("Term", DataKind.String, 0)
Microsoft.ML.IntegrationTests (18)
Datasets\MnistOneClass.cs (1)
21
new TextLoader.
Column
("Label", DataKind.Single, 0),
Datasets\TypeTestData.cs (15)
81
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
82
new TextLoader.
Column
("I1", DataKind.SByte, 1),
83
new TextLoader.
Column
("U1", DataKind.Byte, 2),
84
new TextLoader.
Column
("I2", DataKind.Int16, 3),
85
new TextLoader.
Column
("U2", DataKind.UInt16, 4),
86
new TextLoader.
Column
("I4", DataKind.Int32, 5),
87
new TextLoader.
Column
("U4", DataKind.UInt32, 6),
88
new TextLoader.
Column
("I8", DataKind.Int64, 7),
89
new TextLoader.
Column
("U8", DataKind.UInt64, 8),
90
new TextLoader.
Column
("R4", DataKind.Single, 9),
91
new TextLoader.
Column
("R8", DataKind.Double, 10),
92
new TextLoader.
Column
("Tx", DataKind.String, 11),
93
new TextLoader.
Column
("Ts", DataKind.TimeSpan, 12),
94
new TextLoader.
Column
("Dt", DataKind.DateTime, 13),
95
new TextLoader.
Column
("Dz", DataKind.DateTimeOffset, 14),
Validation.cs (2)
79
new TextLoader.
Column
(labelColumnName, DataKind.Single, 0),
80
new TextLoader.
Column
(groupIdColumnName, DataKind.Int32, 1),
Microsoft.ML.OnnxTransformerTest (8)
DnnImageFeaturizerTest.cs (2)
105
new TextLoader.
Column
("imagePath", DataKind.String, 0),
106
new TextLoader.
Column
("name", DataKind.String, 1)
OnnxTransformTests.cs (6)
250
new TextLoader.
Column
("imagePath", DataKind.String, 0),
251
new TextLoader.
Column
("name", DataKind.String, 1)
301
new TextLoader.
Column
("imagePath", DataKind.String, 0),
302
new TextLoader.
Column
("name", DataKind.String, 1)
1130
new TextLoader.
Column
("imagePath", DataKind.String, 0),
1131
new TextLoader.
Column
("name", DataKind.String, 1)
Microsoft.ML.PerformanceTests (22)
FeaturizeTextBench.cs (1)
36
columns.Add(new TextLoader.
Column
($"Column{i}", DataKind.String, i));
KMeansAndLogisticRegressionBench.cs (1)
25
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
PredictionEngineBench.cs (8)
45
new TextLoader.
Column
("Label", DataKind.Single, 0),
46
new TextLoader.
Column
("SepalLength", DataKind.Single, 1),
47
new TextLoader.
Column
("SepalWidth", DataKind.Single, 2),
48
new TextLoader.
Column
("PetalLength", DataKind.Single, 3),
49
new TextLoader.
Column
("PetalWidth", DataKind.Single, 4),
84
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
85
new TextLoader.
Column
("SentimentText", DataKind.String, 1)
119
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
RffTransform.cs (1)
36
new TextLoader.
Column
("Label", DataKind.Single, 64),
StochasticDualCoordinateAscentClassifierBench.cs (10)
66
new TextLoader.
Column
("Label", DataKind.Single, 0),
67
new TextLoader.
Column
("SepalLength", DataKind.Single, 1),
68
new TextLoader.
Column
("SepalWidth", DataKind.Single, 2),
69
new TextLoader.
Column
("PetalLength", DataKind.Single, 3),
70
new TextLoader.
Column
("PetalWidth", DataKind.Single, 4),
135
new TextLoader.
Column
("Label", DataKind.Single, 0),
136
new TextLoader.
Column
("SepalLength", DataKind.Single, 1),
137
new TextLoader.
Column
("SepalWidth", DataKind.Single, 2),
138
new TextLoader.
Column
("PetalLength", DataKind.Single, 3),
139
new TextLoader.
Column
("PetalWidth", DataKind.Single, 4),
TextLoaderBench.cs (1)
39
_columns.Add(new TextLoader.
Column
($"Column{i}", DataKind.String, i));
Microsoft.ML.Predictor.Tests (2)
TestIniModels.cs (2)
525
new TextLoader.
Column
("Label", DataKind.Single, 0),
564
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
Microsoft.ML.Samples (14)
Dynamic\TensorFlow\TextClassification.cs (2)
50
new TextLoader.
Column
("Words", DataKind.String, 0),
51
new TextLoader.
Column
("Ids", DataKind.Int32, 1),
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
38
new TextLoader.
Column
("Label", DataKind.Single, 0),
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
38
new TextLoader.
Column
("Label", DataKind.Single, 0),
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (2)
38
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
39
new TextLoader.
Column
("Name", DataKind.String, 1),
Dynamic\Transforms\ImageAnalytics\DnnFeaturizeImage.cs (2)
37
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
38
new TextLoader.
Column
("Name", DataKind.String, 1),
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (2)
40
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
41
new TextLoader.
Column
("Name", DataKind.String, 1),
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (2)
37
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
38
new TextLoader.
Column
("Name", DataKind.String, 1),
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (2)
37
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
38
new TextLoader.
Column
("Name", DataKind.String, 1),
Microsoft.ML.Samples.GPU (2)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (2)
50
new TextLoader.
Column
("Words", DataKind.String, 0),
51
new TextLoader.
Column
("Ids", DataKind.Int32, 1),
Microsoft.ML.Samples.OneDal (3)
Program.cs (3)
29
columns.Add(new TextLoader.
Column
(column, DataKind.Boolean, Array.IndexOf(headerArray, column)));
31
columns.Add(new TextLoader.
Column
(column, DataKind.Single, Array.IndexOf(headerArray, column)));
35
columns.Add(new TextLoader.
Column
(column, DataKind.Single, Array.IndexOf(headerArray, column)));
Microsoft.ML.SamplesUtils (27)
SamplesDatasetUtils.cs (27)
53
new TextLoader.
Column
("MedianHomeValue", DataKind.Single, 0),
54
new TextLoader.
Column
("CrimesPerCapita", DataKind.Single, 1),
55
new TextLoader.
Column
("PercentResidental", DataKind.Single, 2),
56
new TextLoader.
Column
("PercentNonRetail", DataKind.Single, 3),
57
new TextLoader.
Column
("CharlesRiver", DataKind.Single, 4),
58
new TextLoader.
Column
("NitricOxides", DataKind.Single, 5),
59
new TextLoader.
Column
("RoomsPerDwelling", DataKind.Single, 6),
60
new TextLoader.
Column
("PercentPre40s", DataKind.Single, 7),
61
new TextLoader.
Column
("EmploymentDistance", DataKind.Single, 8),
62
new TextLoader.
Column
("HighwayDistance", DataKind.Single, 9),
63
new TextLoader.
Column
("TaxRate", DataKind.Single, 10),
64
new TextLoader.
Column
("TeacherRatio", DataKind.Single, 11),
129
new TextLoader.
Column
("age", DataKind.Single, 0),
130
new TextLoader.
Column
("workclass", DataKind.String, 1),
131
new TextLoader.
Column
("fnlwgt", DataKind.Single, 2),
132
new TextLoader.
Column
("education", DataKind.String, 3),
133
new TextLoader.
Column
("education-num", DataKind.Single, 4),
134
new TextLoader.
Column
("marital-status", DataKind.String, 5),
135
new TextLoader.
Column
("occupation", DataKind.String, 6),
136
new TextLoader.
Column
("relationship", DataKind.String, 7),
137
new TextLoader.
Column
("ethnicity", DataKind.String, 8),
138
new TextLoader.
Column
("sex", DataKind.String, 9),
139
new TextLoader.
Column
("capital-gain", DataKind.Single, 10),
140
new TextLoader.
Column
("capital-loss", DataKind.Single, 11),
141
new TextLoader.
Column
("hours-per-week", DataKind.Single, 12),
142
new TextLoader.
Column
("native-country", DataKind.String, 13),
143
new TextLoader.
Column
("IsOver50K", DataKind.Boolean, 14),
Microsoft.ML.TensorFlow.Tests (24)
TensorFlowEstimatorTests.cs (6)
157
new TextLoader.
Column
("imagePath", DataKind.String, 0),
158
new TextLoader.
Column
("name", DataKind.String, 1)
199
new TextLoader.
Column
("imagePath", DataKind.String, 0),
200
new TextLoader.
Column
("name", DataKind.String, 1)
250
new TextLoader.
Column
("imagePath", DataKind.String, 0),
251
new TextLoader.
Column
("name", DataKind.String, 1)
TensorflowTests.cs (18)
143
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
144
new TextLoader.
Column
("Label", DataKind.String, 1),
544
new TextLoader.
Column
("ImagePath", DataKind.String , 0),
545
new TextLoader.
Column
("Name", DataKind.String, 1)
700
new TextLoader.
Column
("Label", DataKind.Int64, 0),
790
new TextLoader.
Column
("TfLabel", DataKind.Int64, 0),
1014
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
1015
new TextLoader.
Column
("Name", DataKind.String, 1),
1072
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
1073
new TextLoader.
Column
("Name", DataKind.String, 1),
1153
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
1154
new TextLoader.
Column
("Label", DataKind.String, 1),
1226
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
1227
new TextLoader.
Column
("Name", DataKind.String, 1),
1269
new TextLoader.
Column
("Words", DataKind.String, 0),
1270
new TextLoader.
Column
("Ids", DataKind.Int32, 1),
2054
new TextLoader.
Column
("imagePath", DataKind.String, 0),
2055
new TextLoader.
Column
("name", DataKind.String, 1)
Microsoft.ML.TestFrameworkCommon (19)
Datasets.cs (19)
180
new TextLoader.
Column
("MedianHomeValue", DataKind.Single, 0),
181
new TextLoader.
Column
("CrimesPerCapita", DataKind.Single, 1),
182
new TextLoader.
Column
("PercentResidental", DataKind.Single, 2),
183
new TextLoader.
Column
("PercentNonRetail", DataKind.Single, 3),
184
new TextLoader.
Column
("CharlesRiver", DataKind.Single, 4),
185
new TextLoader.
Column
("NitricOxides", DataKind.Single, 5),
186
new TextLoader.
Column
("RoomsPerDwelling", DataKind.Single, 6),
187
new TextLoader.
Column
("PercentPre40s", DataKind.Single, 7),
188
new TextLoader.
Column
("EmploymentDistance", DataKind.Single, 8),
189
new TextLoader.
Column
("HighwayDistance", DataKind.Single, 9),
190
new TextLoader.
Column
("TaxRate", DataKind.Single, 10),
191
new TextLoader.
Column
("TeacherRatio", DataKind.Single, 11),
233
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
234
new TextLoader.
Column
("SentimentText", DataKind.String, 1)
416
new TextLoader.
Column
("SepalLength", DataKind.Single, 0),
417
new TextLoader.
Column
("SepalWidth", DataKind.Single, 1),
418
new TextLoader.
Column
("PetalLength", DataKind.Single, 2),
419
new TextLoader.
Column
("PetalWidth",DataKind.Single, 3),
420
new TextLoader.
Column
("Label", DataKind.String, 4)
Microsoft.ML.Tests (313)
AnomalyDetectionTests.cs (1)
241
new TextLoader.
Column
(DefaultColumnNames.Label, DataKind.Single, 0),
ImagesTests.cs (32)
38
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
39
new TextLoader.
Column
("Name", DataKind.String, 1),
46
new TextLoader.
Column
("ImagePath", DataKind.Single, 0),
69
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
70
new TextLoader.
Column
("Name", DataKind.String, 1),
113
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
114
new TextLoader.
Column
("Name", DataKind.String, 1),
145
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
146
new TextLoader.
Column
("Name", DataKind.String, 1),
182
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
183
new TextLoader.
Column
("Name", DataKind.String, 1),
341
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
342
new TextLoader.
Column
("Name", DataKind.String, 1),
416
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
417
new TextLoader.
Column
("Name", DataKind.String, 1),
492
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
493
new TextLoader.
Column
("Name", DataKind.String, 1),
567
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
568
new TextLoader.
Column
("Name", DataKind.String, 1),
642
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
643
new TextLoader.
Column
("Name", DataKind.String, 1),
717
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
718
new TextLoader.
Column
("Name", DataKind.String, 1),
793
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
794
new TextLoader.
Column
("Name", DataKind.String, 1),
868
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
869
new TextLoader.
Column
("Name", DataKind.String, 1),
944
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
945
new TextLoader.
Column
("Name", DataKind.String, 1),
1016
new TextLoader.
Column
("ImagePath", DataKind.String, 0)
1131
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
1132
new TextLoader.
Column
("Label", DataKind.String, 1),
OnnxConversionTest.cs (31)
263
new TextLoader.
Column
("label", DataKind.Single, 11),
387
new TextLoader.
Column
("label", DataKind.Boolean, 0),
388
new TextLoader.
Column
("text", DataKind.String, 1)
473
new TextLoader.
Column
("Key", valueType, 0)
770
new TextLoader.
Column
("VectorDouble2", DataKind.Double, 1),
772
new TextLoader.
Column
("Label", DataKind.Boolean, 0)
871
new TextLoader.
Column
("label", DataKind.Boolean, 0),
872
new TextLoader.
Column
("text", DataKind.String, 1)
968
new TextLoader.
Column
("label", DataKind.Single, 11),
1075
new TextLoader.
Column
("Value", type, column),
1198
new TextLoader.
Column
("Value", valueType, 0)
1236
new TextLoader.
Column
("Keys", keyType, 0)
1400
new TextLoader.
Column
("Value", valueType, 0)
1604
new TextLoader.
Column
("Label", dataKind, 0),
1605
new TextLoader.
Column
("Thickness", DataKind.Single, 1),
1765
new TextLoader.
Column
("Label", DataKind.String, 0),
1766
new TextLoader.
Column
("SepalLength", DataKind.Single, 1),
1767
new TextLoader.
Column
("SepalWidth", DataKind.Single, 2),
1768
new TextLoader.
Column
("PetalLength", DataKind.Single, 3),
1769
new TextLoader.
Column
("PetalWidth", DataKind.Single, 4)
1848
new TextLoader.
Column
("Scalar", dataKind, 6),
1850
new TextLoader.
Column
("Label", DataKind.Boolean, 0)
1887
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
1888
new TextLoader.
Column
("Thickness", DataKind.Double, 1),
1889
new TextLoader.
Column
("Size", DataKind.Single, 2),
1890
new TextLoader.
Column
("Shape", DataKind.Int32, 3),
1891
new TextLoader.
Column
("Adhesion", DataKind.Int32, 4),
1892
new TextLoader.
Column
("EpithelialSize", DataKind.Int32, 5),
1893
new TextLoader.
Column
("BlandChromatin", DataKind.Int32, 7),
1894
new TextLoader.
Column
("NormalNucleoli", DataKind.Int32, 8),
1895
new TextLoader.
Column
("Mitoses", DataKind.Int32, 9),
PermutationFeatureImportanceTests.cs (1)
490
new[] { new TextLoader.
Column
("Label", DataKind.Boolean, 0),
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (53)
336
new TextLoader.
Column
("Label", DataKind.Single, 0),
337
new TextLoader.
Column
("CrimesPerCapita", DataKind.Single, 1),
338
new TextLoader.
Column
("PercentResidental", DataKind.Single, 2),
339
new TextLoader.
Column
("PercentNonRetail", DataKind.Single, 3),
340
new TextLoader.
Column
("CharlesRiver", DataKind.Single, 4),
341
new TextLoader.
Column
("NitricOxides", DataKind.Single, 5),
342
new TextLoader.
Column
("RoomsPerDwelling", DataKind.Single, 6),
343
new TextLoader.
Column
("PercentPre40s", DataKind.Single, 7),
344
new TextLoader.
Column
("EmploymentDistance", DataKind.Single, 8),
345
new TextLoader.
Column
("HighwayDistance", DataKind.Single, 9),
346
new TextLoader.
Column
("TaxRate", DataKind.Single, 10),
347
new TextLoader.
Column
("TeacherRatio", DataKind.Single, 11)
376
new TextLoader.
Column
("Label", DataKind.Single, 0),
377
new TextLoader.
Column
("CrimesPerCapita", DataKind.Single, 1),
378
new TextLoader.
Column
("PercentResidental", DataKind.Single, 2),
379
new TextLoader.
Column
("PercentNonRetail", DataKind.Single, 3),
380
new TextLoader.
Column
("CharlesRiver", DataKind.Single, 4),
381
new TextLoader.
Column
("NitricOxides", DataKind.Single, 5),
382
new TextLoader.
Column
("RoomsPerDwelling", DataKind.Single, 6),
383
new TextLoader.
Column
("PercentPre40s", DataKind.Single, 7),
384
new TextLoader.
Column
("EmploymentDistance", DataKind.Single, 8),
385
new TextLoader.
Column
("HighwayDistance", DataKind.Single, 9),
386
new TextLoader.
Column
("TaxRate", DataKind.Single, 10),
387
new TextLoader.
Column
("TeacherRatio", DataKind.Single, 11)
411
new TextLoader.
Column
("Label", DataKind.Single, 0),
412
new TextLoader.
Column
("CrimesPerCapita", DataKind.Single, 1),
413
new TextLoader.
Column
("PercentResidental", DataKind.Single, 2),
414
new TextLoader.
Column
("PercentNonRetail", DataKind.Single, 3),
415
new TextLoader.
Column
("CharlesRiver", DataKind.Single, 4),
416
new TextLoader.
Column
("NitricOxides", DataKind.Single, 5),
417
new TextLoader.
Column
("RoomsPerDwelling", DataKind.Single, 6),
418
new TextLoader.
Column
("PercentPre40s", DataKind.Single, 7),
419
new TextLoader.
Column
("EmploymentDistance", DataKind.Single, 8),
420
new TextLoader.
Column
("HighwayDistance", DataKind.Single, 9),
421
new TextLoader.
Column
("TaxRate", DataKind.Single, 10),
422
new TextLoader.
Column
("TeacherRatio", DataKind.Single, 11)
447
new TextLoader.
Column
("MedianHomeValue", DataKind.Single, 0),
448
new TextLoader.
Column
("CrimesPerCapita", DataKind.Single, 1),
449
new TextLoader.
Column
("PercentResidental", DataKind.Single, 2),
450
new TextLoader.
Column
("PercentNonRetail", DataKind.Single, 3),
451
new TextLoader.
Column
("CharlesRiver", DataKind.Single, 4),
452
new TextLoader.
Column
("NitricOxides", DataKind.Single, 5),
453
new TextLoader.
Column
("RoomsPerDwelling", DataKind.Single, 6),
454
new TextLoader.
Column
("PercentPre40s", DataKind.Single, 7),
455
new TextLoader.
Column
("EmploymentDistance", DataKind.Single, 8),
456
new TextLoader.
Column
("HighwayDistance", DataKind.Single, 9),
457
new TextLoader.
Column
("TaxRate", DataKind.Single, 10),
458
new TextLoader.
Column
("TeacherRatio", DataKind.Single, 11)
506
new TextLoader.
Column
("IsToxic", DataKind.Boolean, 0),
507
new TextLoader.
Column
("Message", DataKind.String, 1),
575
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
581
new TextLoader.
Column
("Workclass", DataKind.String, 1),
708
new TextLoader.
Column
("Income", DataKind.Single, 10),
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
102
new TextLoader.
Column
("Label", DataKind.Single, 0), //notice the label being loaded as a float
Scenarios\Api\TestApi.cs (8)
302
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
303
new TextLoader.
Column
("Workclass", DataKind.String, 1),
304
new TextLoader.
Column
("Education", DataKind.String,2),
305
new TextLoader.
Column
("Age", DataKind.Single,9)
350
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
351
new TextLoader.
Column
("Workclass", DataKind.String, 1),
352
new TextLoader.
Column
("Education", DataKind.String,2),
353
new TextLoader.
Column
("Age", DataKind.Single,9)
Scenarios\GetColumnTests.cs (5)
30
new TextLoader.
Column
("floatScalar", DataKind.Single, 1),
32
new TextLoader.
Column
("stringScalar", DataKind.String, 4),
53
new TextLoader.
Column
("floatScalar", DataKind.String, 1),
72
new TextLoader.
Column
("floatScalar", DataKind.Single, 1),
74
new TextLoader.
Column
("stringScalar", DataKind.String, 4),
Scenarios\IrisPlantClassificationTests.cs (5)
24
new TextLoader.
Column
("Label", DataKind.Single, 0),
25
new TextLoader.
Column
("SepalLength", DataKind.Single, 1),
26
new TextLoader.
Column
("SepalWidth", DataKind.Single, 2),
27
new TextLoader.
Column
("PetalLength", DataKind.Single, 3),
28
new TextLoader.
Column
("PetalWidth", DataKind.Single, 4)
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (5)
20
new TextLoader.
Column
("SepalLength", DataKind.Single, 0),
21
new TextLoader.
Column
("SepalWidth", DataKind.Single, 1),
22
new TextLoader.
Column
("PetalLength", DataKind.Single, 2),
23
new TextLoader.
Column
("PetalWidth", DataKind.Single, 3),
24
new TextLoader.
Column
("IrisPlantType", DataKind.String, 4),
Scenarios\OvaTest.cs (4)
26
new TextLoader.
Column
("Label", DataKind.Single, 0),
59
new TextLoader.
Column
("Label", DataKind.Single, 0),
95
new TextLoader.
Column
("Label", DataKind.Single, 0),
130
new TextLoader.
Column
("Label", DataKind.Single, 0),
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (5)
22
new TextLoader.
Column
("Label", DataKind.Single, 0),
23
new TextLoader.
Column
("SepalLength", DataKind.Single, 1),
24
new TextLoader.
Column
("SepalWidth", DataKind.Single, 2),
25
new TextLoader.
Column
("PetalLength", DataKind.Single, 3),
26
new TextLoader.
Column
("PetalWidth", DataKind.Single, 4)
SvmLightTests.cs (1)
506
var loader = ML.Data.CreateTextLoader(new[] { new TextLoader.
Column
("Column", DataKind.Single, 0) });
TermEstimatorTests.cs (4)
59
new TextLoader.
Column
("float1", DataKind.Single, 9),
61
new TextLoader.
Column
("double1", DataKind.Double, 9),
63
new TextLoader.
Column
("int1", DataKind.Int32, 9),
64
new TextLoader.
Column
("text1", DataKind.String, 1),
TextLoaderTests.cs (22)
898
new TextLoader.
Column
("Label", DataKind.UInt32, 0),
934
new TextLoader.
Column
("Label", DataKind.UInt32, 0),
993
new TextLoader.
Column
("Label", DataKind.UInt32, 0),
1045
new TextLoader.
Column
("Label", DataKind.UInt32, 0),
1055
new TextLoader.
Column
("Label", DataKind.UInt32, 0),
1286
new TextLoader.
Column
("id", DataKind.Int32, 0),
1287
new TextLoader.
Column
("description", DataKind.String, 1),
1288
new TextLoader.
Column
("animal", DataKind.String, 2),
1397
new TextLoader.
Column
("id", DataKind.Int32, 0),
1398
new TextLoader.
Column
("description", DataKind.String, 1),
1399
new TextLoader.
Column
("animal", DataKind.String, 2),
1436
new TextLoader.
Column
("id", DataKind.Int32, 0),
1437
new TextLoader.
Column
("description", DataKind.String, 1),
1438
new TextLoader.
Column
("date", DataKind.DateTime, 4),
1439
new TextLoader.
Column
("sing1", DataKind.Single, 2),
1440
new TextLoader.
Column
("sing2", DataKind.Single, 3),
1442
new TextLoader.
Column
("sing3", DataKind.Single, 5),
1443
new TextLoader.
Column
("sing4", DataKind.Single, 6),
1445
new TextLoader.
Column
("doub1", DataKind.Double, 2),
1446
new TextLoader.
Column
("doub2", DataKind.Double, 3),
1448
new TextLoader.
Column
("doub3", DataKind.Double, 5),
1449
new TextLoader.
Column
("doub4", DataKind.Double, 6),
TrainerEstimators\FAFMEstimator.cs (1)
101
new TextLoader.
Column
("Label", DataKind.Boolean, 0)
TrainerEstimators\OneDalEstimators.cs (9)
41
new TextLoader.
Column
("f0", DataKind.Single, 0),
42
new TextLoader.
Column
("f1", DataKind.Single, 1),
43
new TextLoader.
Column
("f2", DataKind.Single, 2),
44
new TextLoader.
Column
("f3", DataKind.Single, 3),
45
new TextLoader.
Column
("f4", DataKind.Single, 4),
46
new TextLoader.
Column
("f5", DataKind.Single, 5),
47
new TextLoader.
Column
("f6", DataKind.Single, 6),
48
new TextLoader.
Column
("f7", DataKind.Single, 7),
49
new TextLoader.
Column
("target", DataKind.Boolean,8)},
TrainerEstimators\OnlineLinearTests.cs (2)
21
new TextLoader.
Column
("Label", DataKind.Single, 0),
35
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
TrainerEstimators\PriorRandomTests.cs (3)
22
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
23
new TextLoader.
Column
("F1", DataKind.String, 1),
24
new TextLoader.
Column
("F2", DataKind.Int32, 2),
TrainerEstimators\SdcaTests.cs (1)
22
new TextLoader.
Column
("Label", DataKind.Single, 0),
TrainerEstimators\TrainerEstimators.cs (9)
66
new TextLoader.
Column
(weights, DataKind.Single, 0),
199
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
200
new TextLoader.
Column
("SentimentText", DataKind.String, 1),
201
new TextLoader.
Column
("LoggedIn", DataKind.Boolean, 2)
233
new TextLoader.
Column
("Label", DataKind.Single, 0),
234
new TextLoader.
Column
("Workclass", DataKind.String, 1),
256
new TextLoader.
Column
("Label", DataKind.Single, 11),
271
new TextLoader.
Column
("Label", DataKind.String, 4)
284
new TextLoader.
Column
("Label", DataKind.String, 4)
Transformers\CategoricalHashTests.cs (1)
82
new TextLoader.
Column
("ScalarString", DataKind.String, 1),
Transformers\CategoricalTests.cs (1)
158
new TextLoader.
Column
("ScalarString", DataKind.String, 1),
Transformers\ConcatTests.cs (2)
49
new TextLoader.
Column
("float1", DataKind.Single, 9),
107
new TextLoader.
Column
("float1", DataKind.Single, 9),
Transformers\CountTargetEncodingTests.cs (9)
27
new TextLoader.
Column
("ScalarString", DataKind.String, 1),
29
new TextLoader.
Column
("Label", DataKind.Single, 0)
42
var data = ML.Data.LoadFromTextFile(dataPath, new[] { new TextLoader.
Column
("Label", DataKind.Single, 0),
58
new TextLoader.
Column
("ScalarString", DataKind.String, 1),
60
new TextLoader.
Column
("Label", DataKind.Single, 0)
78
new TextLoader.
Column
("ScalarString", DataKind.String, 1),
80
new TextLoader.
Column
("Label", DataKind.Boolean, 0)
163
new TextLoader.
Column
("ScalarString", DataKind.String, 1),
165
new TextLoader.
Column
("Label", DataKind.Single, 0)
Transformers\CustomMappingTests.cs (6)
57
new TextLoader.
Column
("Float1", DataKind.Single, 9),
93
new TextLoader.
Column
("Float1", DataKind.Single, 0),
95
new TextLoader.
Column
("Text1", DataKind.String, 0)
172
new TextLoader.
Column
("Label", DataKind.String, 0),
173
new TextLoader.
Column
("Value", DataKind.Single, 2),
197
new TextLoader.
Column
("Float1", DataKind.Single, 2),
Transformers\ExpressionTransformerTests.cs (4)
27
new TextLoader.
Column
("Float", DataKind.Single, 9),
29
new TextLoader.
Column
("Double", DataKind.Double, 9),
31
new TextLoader.
Column
("Int", DataKind.Int32, 9),
33
new TextLoader.
Column
("Text", DataKind.String, 1),
Transformers\FeatureSelectionTests.cs (10)
32
new TextLoader.
Column
("label", DataKind.Boolean, 0),
33
new TextLoader.
Column
("text", DataKind.String, 1) },
37
new TextLoader.
Column
("label", DataKind.Boolean, 0),
38
new TextLoader.
Column
("text", DataKind.Single, 1) },
66
new TextLoader.
Column
("ScalarFloat", DataKind.Single, 1),
67
new TextLoader.
Column
("ScalarDouble", DataKind.Double, 1),
108
new TextLoader.
Column
("ScalarFloat", DataKind.Single, 6),
172
new TextLoader.
Column
("ScalarFloat", DataKind.Single, 6),
231
new TextLoader.
Column
("BadLabel", DataKind.UInt32, 0),
232
new TextLoader.
Column
("Label", DataKind.Single, 0),
Transformers\KeyToBinaryVectorEstimatorTest.cs (1)
64
new TextLoader.
Column
("ScalarString", DataKind.String, 0),
Transformers\KeyToValueTests.cs (2)
31
new TextLoader.
Column
("ScalarString", DataKind.String, 1),
69
new TextLoader.
Column
("ScalarString", DataKind.String, 0),
Transformers\KeyToVectorEstimatorTests.cs (1)
74
new TextLoader.
Column
("ScalarString", DataKind.String, 0),
Transformers\NAIndicatorTests.cs (2)
96
new TextLoader.
Column
("ScalarFloat", DataKind.Single, 1),
97
new TextLoader.
Column
("ScalarDouble", DataKind.Double, 1),
Transformers\NAReplaceTests.cs (2)
126
new TextLoader.
Column
("ScalarFloat", DataKind.Single, 1),
127
new TextLoader.
Column
("ScalarDouble", DataKind.Double, 1),
Transformers\NormalizerTests.cs (27)
40
new TextLoader.
Column
("float1", DataKind.Single, 1),
42
new TextLoader.
Column
("double1", DataKind.Double, 1),
44
new TextLoader.
Column
("int1", DataKind.Int32, 0),
109
new TextLoader.
Column
("float1", DataKind.Single, 1),
111
new TextLoader.
Column
("double1", DataKind.Double, 1),
113
new TextLoader.
Column
("int1", DataKind.Int32, 0),
227
new TextLoader.
Column
("Label", DataKind.Single, 0),
228
new TextLoader.
Column
("float1", DataKind.Single, 1),
230
new TextLoader.
Column
("double1", DataKind.Double, 1),
232
new TextLoader.
Column
("int1", DataKind.Int32, 0),
474
new TextLoader.
Column
("Label", DataKind.Single, 0),
578
new TextLoader.
Column
("Label", DataKind.Single, 0),
636
new TextLoader.
Column
("Label", DataKind.Single, 0),
657
new TextLoader.
Column
("label", DataKind.Single, 11),
662
new TextLoader.
Column
("label", DataKind.Single, 11),
691
new TextLoader.
Column
("label", DataKind.Single, 11),
696
new TextLoader.
Column
("label", DataKind.Single, 11),
733
new TextLoader.
Column
("label", DataKind.Single, 11),
755
new TextLoader.
Column
("label", DataKind.Single, 11),
760
new TextLoader.
Column
("label", DataKind.Single, 11),
794
new TextLoader.
Column
("label", DataKind.Single, 11),
815
new TextLoader.
Column
("label", DataKind.Single, 11),
820
new TextLoader.
Column
("label", DataKind.Single, 11),
854
new TextLoader.
Column
("label", DataKind.Single, 11),
994
new TextLoader.
Column
("float1", DataKind.Single, 1),
996
new TextLoader.
Column
("double1", DataKind.Double, 1),
998
new TextLoader.
Column
("int1", DataKind.Int32, 0),
Transformers\PcaTests.cs (5)
30
new TextLoader.
Column
("label", DataKind.Single, 11),
31
new TextLoader.
Column
("weight", DataKind.Single, 0),
36
new TextLoader.
Column
("label", DataKind.Single, 11),
37
new TextLoader.
Column
("weight", DataKind.Single, 0),
54
new TextLoader.
Column
("label", DataKind.Single, 11),
Transformers\RffTests.cs (1)
69
new TextLoader.
Column
("Label", DataKind.Single, 0)
Transformers\TextFeaturizerTests.cs (30)
427
new TextLoader.
Column
("label", DataKind.Boolean, 0),
428
new TextLoader.
Column
("text", DataKind.String, 1) },
432
new TextLoader.
Column
("label", DataKind.Boolean, 0),
433
new TextLoader.
Column
("text", DataKind.Single, 1) },
460
new TextLoader.
Column
("label", DataKind.Boolean, 0),
461
new TextLoader.
Column
("text", DataKind.String, 1) },
465
new TextLoader.
Column
("label", DataKind.Boolean, 0),
466
new TextLoader.
Column
("text", DataKind.Single, 1) },
490
new TextLoader.
Column
("label", DataKind.Boolean, 0),
491
new TextLoader.
Column
("text", DataKind.String, 1) },
527
new TextLoader.
Column
("label", DataKind.Boolean, 0),
528
new TextLoader.
Column
("text", DataKind.String, 1) },
532
new TextLoader.
Column
("label", DataKind.Boolean, 0),
533
new TextLoader.
Column
("text", DataKind.Single, 1) },
562
new TextLoader.
Column
("Text", DataKind.String, 1)
590
new TextLoader.
Column
("label", DataKind.Boolean, 0),
591
new TextLoader.
Column
("text", DataKind.String, 1) },
595
new TextLoader.
Column
("label", DataKind.Boolean, 0),
596
new TextLoader.
Column
("text", DataKind.Single, 1) },
620
new TextLoader.
Column
("label", DataKind.Boolean, 0),
621
new TextLoader.
Column
("text", DataKind.String, 1) },
625
new TextLoader.
Column
("label", DataKind.Boolean, 0),
626
new TextLoader.
Column
("text", DataKind.Single, 1) },
657
new TextLoader.
Column
("Sentiment", DataKind.Boolean, 0),
658
new TextLoader.
Column
("SentimentText", DataKind.String, 1) },
674
new TextLoader.
Column
("label", DataKind.Boolean, 0),
675
new TextLoader.
Column
("text", DataKind.String, 1) },
679
new TextLoader.
Column
("label", DataKind.Boolean, 0),
680
new TextLoader.
Column
("text", DataKind.Single, 1) },
778
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
Transformers\TextNormalizer.cs (2)
52
new TextLoader.
Column
("label", DataKind.Boolean, 0),
53
new TextLoader.
Column
("text", DataKind.String, 1)
Transformers\WordEmbeddingsTests.cs (4)
36
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
37
new TextLoader.
Column
("SentimentText", DataKind.String, 1)
71
new TextLoader.
Column
("Label", DataKind.Boolean, 0),
72
new TextLoader.
Column
("SentimentText", DataKind.String, 1)
Microsoft.ML.TimeSeries.Tests (1)
TimeSeriesDirectApi.cs (1)
540
new TextLoader.
Column
("Value", DataKind.Single, 0),
Microsoft.ML.TorchSharp.Tests (13)
NerTests.cs (2)
197
new TextLoader.
Column
("Key", DataKind.String, 0)
206
new TextLoader.
Column
("Sentence", DataKind.String, 0),
ObjectDetectionTests.cs (4)
37
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
38
new TextLoader.
Column
("Labels", DataKind.String, 1),
39
new TextLoader.
Column
("Box", DataKind.String, 2)
96
new TextLoader.
Column
("ImagePath", DataKind.String, 0),
QATests.cs (4)
77
new TextLoader.
Column
("Context", DataKind.String,0),
78
new TextLoader.
Column
("Question", DataKind.String,1),
79
new TextLoader.
Column
("TrainingAnswer", DataKind.String,2),
80
new TextLoader.
Column
("AnswerIndex", DataKind.Int32,3)
TextClassificationTests.cs (3)
421
new TextLoader.
Column
("search_term", DataKind.String,3),
422
new TextLoader.
Column
("relevance", DataKind.Single,4),
423
new TextLoader.
Column
("product_description", DataKind.String,5)
Microsoft.ML.Transforms (1)
Text\StopWordsRemovingTransformer.cs (1)
816
new TextLoader.
Column
(stopwordsCol, DataKind.String, 0)