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