399 references to Single
Microsoft.ML.AutoML (4)
AutoMLExperiment\ITrialResultManager.cs (4)
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 (10)
AutoFitTests.cs (4)
699new TextLoader.Column(labelColumnName, DataKind.Single, new [] { new TextLoader.Range(0) }), 714new TextLoader.Column(labelColumnName, DataKind.Single, 0), 716new TextLoader.Column(featureColumnVectorNameA, DataKind.Single, 2, 9), 717new TextLoader.Column(featureColumnVectorNameB, DataKind.Single, 10, 137)
ColumnInferenceTests.cs (6)
83Assert.Equal(DataKind.Single, emptyColumn.DataKind); 95Assert.Equal(DataKind.Single, boolColumn.DataKind); 125Assert.Equal(DataKind.Single, userColumn.DataKind); 126Assert.Equal(DataKind.Single, itemColumn.DataKind); 127Assert.Equal(DataKind.Single, ignoreColumn.DataKind); 193Assert.Equal(DataKind.Single, labelCol.DataKind);
Microsoft.ML.CodeGenerator (2)
Utils.cs (2)
158case Microsoft.ML.Data.DataKind.Single: 349case DataKind.Single:
Microsoft.ML.CodeGenerator.Tests (11)
ApprovalTests\ConsoleCodeGeneratorTests.cs (8)
612new TextLoader.Column("col1", DataKind.Single, 1), 613new TextLoader.Column("col2", DataKind.Single, 0), 649new TextLoader.Column("col1", DataKind.Single, 1), 650new TextLoader.Column("col2", DataKind.Single, 0), 740new TextLoader.Column("GroupId", DataKind.Single, 1), 741new TextLoader.Column("col1", DataKind.Single, 0), 1107new TextLoader.Column("col1", DataKind.Single, 1), 1108new TextLoader.Column("col2", DataKind.Single, 0),
CodeGenTests.cs (3)
149new TextLoader.Column(){ Name = "id", Source = new TextLoader.Range[]{new TextLoader.Range(0) }, DataKind = DataKind.Single }, 150new TextLoader.Column(){ Name = "country", Source = new TextLoader.Range[]{new TextLoader.Range(1) }, DataKind = DataKind.Single }, 167new TextLoader.Column(){ Name = "MSRP", Source = new TextLoader.Range[]{new TextLoader.Range(4) }, DataKind = DataKind.Single },
Microsoft.ML.Core (1)
Data\DataKind.cs (1)
94R4 = DataKind.Single,
Microsoft.ML.Core.Tests (14)
UnitTests\TestEntryPoints.cs (13)
53new TextLoader.Column("Label", DataKind.Single, 0), 54new TextLoader.Column("Features", DataKind.Single, 74new TextLoader.Column("Label", DataKind.Single, 0), 77new TextLoader.Column("Rest", DataKind.Single, new [] { new TextLoader.Range(3, 9) }) 1993new TextLoader.Column("Label", DataKind.Single, 0), 1994new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 4) }) 2139new TextLoader.Column("Label", DataKind.Single, 0), 2140new TextLoader.Column("Features", DataKind.Single, new[] { new TextLoader.Range(1, 8) }), 4241new TextLoader.Column("Label", DataKind.Single, 0), 4242new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 9) }) 4316new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 784) }) 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 (3)
Transforms\TypeConverting.cs (1)
537public const DataKind DefaultOutputKind = DataKind.Single;
Transforms\ValueMapping.cs (1)
666valueColumn = new TextLoader.Column(valueColumnName, DataKind.Single, 1);
Transforms\ValueToKeyMappingTransformer.cs (1)
806var t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Single).ToType();
Microsoft.ML.EntryPoints (2)
FeatureCombiner.cs (2)
188Utils.Add(ref cvt, new TypeConvertingEstimator.ColumnOptions(colName, DataKind.Single, col.Name)); 303var xf = new TypeConvertingTransformer(host, new TypeConvertingEstimator.ColumnOptions(input.LabelColumn, DataKind.Single, input.LabelColumn)).Transform(input.Data);
Microsoft.ML.IntegrationTests (7)
Datasets\MnistOneClass.cs (2)
21new TextLoader.Column("Label", DataKind.Single, 0), 22new TextLoader.Column("Features", DataKind.Single, 1, 1 + _featureLength)
Datasets\TypeTestData.cs (2)
90new TextLoader.Column("R4", DataKind.Single, 9), 96new TextLoader.Column("Features", DataKind.Single, 15, 15 + _numFeatures - 1),
Validation.cs (3)
79new TextLoader.Column(labelColumnName, DataKind.Single, 0), 81new TextLoader.Column(featuresColumnVectorNameA, DataKind.Single, 2, 9), 82new TextLoader.Column(featuresColumnVectorNameB, DataKind.Single, 10, 137)
Microsoft.ML.PerformanceTests (20)
KMeansAndLogisticRegressionBench.cs (1)
30new TextLoader.Column("NumFeatures", DataKind.Single,
PredictionEngineBench.cs (6)
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), 120new TextLoader.Column("Features", DataKind.Single, new[] { new TextLoader.Range(1, 9) })
RffTransform.cs (2)
36new TextLoader.Column("Label", DataKind.Single, 64), 37new TextLoader.Column("Features", DataKind.Single, new[] {new TextLoader.Range() {Min = 0, Max = 63}})
StochasticDualCoordinateAscentClassifierBench.cs (11)
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), 93new TextLoader.Column("Label", DataKind.Single, new[] { new TextLoader.Range() { Min = 0, Max = 0 } }), 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),
Microsoft.ML.Predictor.Tests (3)
TestIniModels.cs (3)
525new TextLoader.Column("Label", DataKind.Single, 0), 526new TextLoader.Column("Features", DataKind.Single, 1, 9) 565new TextLoader.Column("Features", DataKind.Single, 1, 9)
Microsoft.ML.Samples (9)
Dynamic\DataOperations\LoadingText.cs (3)
46new TextLoader.Column("Features", DataKind.Single, 0, 9) 95DataKind.Single, 141new TextLoader.Column("Features", DataKind.Single, 0, 9)
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (2)
38new TextLoader.Column("Label", DataKind.Single, 0), 39new TextLoader.Column("Features", DataKind.Single, 1, 6)
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (2)
38new TextLoader.Column("Label", DataKind.Single, 0), 39new TextLoader.Column("Features", DataKind.Single, 1, 6)
Dynamic\Transforms\Concatenate.cs (1)
50outputKind: DataKind.Single)
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (1)
47DataKind.Single);
Microsoft.ML.Samples.OneDal (2)
Program.cs (2)
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 (18)
SamplesDatasetUtils.cs (18)
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), 131new TextLoader.Column("fnlwgt", DataKind.Single, 2), 133new TextLoader.Column("education-num", DataKind.Single, 4), 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),
Microsoft.ML.StandardTrainers (5)
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (3)
462var t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Single).ToType(); 533t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Single).ToType(); 557t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Single).ToType();
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
818var t1 = InternalDataKindExtensions.ToInternalDataKind(DataKind.Single).ToType();
Standard\Simple\SimpleTrainers.cs (1)
427var t = InternalDataKindExtensions.ToInternalDataKind(DataKind.Single).ToType();
Microsoft.ML.TensorFlow.Tests (4)
TensorflowTests.cs (4)
658new TextLoader.Column("Placeholder", DataKind.Single, new []{ new TextLoader.Range(1, 784) }) 701new TextLoader.Column("Placeholder", DataKind.Single, new []{ new TextLoader.Range(1, 784) }) 791new TextLoader.Column("Placeholder", DataKind.Single, new []{ new TextLoader.Range(1, 784) }) 883new TextLoader.Column("Placeholder", DataKind.Single, new []{ new TextLoader.Range(1, 784) })
Microsoft.ML.TestFrameworkCommon (16)
Datasets.cs (16)
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), 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),
Microsoft.ML.Tests (264)
AnomalyDetectionTests.cs (2)
241new TextLoader.Column(DefaultColumnNames.Label, DataKind.Single, 0), 242new TextLoader.Column(DefaultColumnNames.Features, DataKind.Single, 1, 784)
ImagesTests.cs (1)
46new TextLoader.Column("ImagePath", DataKind.Single, 0),
OnnxConversionTest.cs (33)
263new TextLoader.Column("label", DataKind.Single, 11), 264new TextLoader.Column("features", DataKind.Single, 0, 10) 460public void KeyToVectorTest([CombinatorialValues(DataKind.Single, DataKind.Int64, DataKind.Int32, DataKind.Int16, DataKind.UInt64, 891[InlineData(DataKind.SByte, DataKind.Single)] 897[InlineData(DataKind.Byte, DataKind.Single)] 902[InlineData(DataKind.Int16, DataKind.Single)] 907[InlineData(DataKind.UInt16, DataKind.Single)] 912[InlineData(DataKind.Int32, DataKind.Single)] 917[InlineData(DataKind.Int64, DataKind.Single)] 922[InlineData(DataKind.UInt64, DataKind.Single)] 924[InlineData(DataKind.Single, DataKind.Single)] 925[InlineData(DataKind.Single, DataKind.Double)] 926[InlineData(DataKind.Double, DataKind.Single)] 929[InlineData(DataKind.String, DataKind.Single)] 968new TextLoader.Column("label", DataKind.Single, 11), 969new TextLoader.Column("features", DataKind.Single, 0, 10) 1055DataKind.UInt16, DataKind.UInt32, DataKind.UInt64, DataKind.Single, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind type, 1070(type == DataKind.Single) ? 16 : 1094DataKind.UInt16, DataKind.UInt32, DataKind.UInt64, DataKind.Single, DataKind.Double, DataKind.String, DataKind.Boolean)] DataKind type, 1109(type == DataKind.Single) ? 16 : 1121(type == DataKind.Single) ? 17 : 1183[CombinatorialValues(DataKind.Single, DataKind.Int64, DataKind.Int32, DataKind.Int16, DataKind.UInt64, 1245if (keyType == DataKind.Single) 1379[InlineData(DataKind.Single)] 1594[InlineData(DataKind.Single)] 1605new TextLoader.Column("Thickness", DataKind.Single, 1), 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) 1839[InlineData(DataKind.Single)] 1889new TextLoader.Column("Size", DataKind.Single, 2),
PermutationFeatureImportanceTests.cs (1)
491new TextLoader.Column("Features", DataKind.Single, 1, 9) });
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (51)
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) 579new TextLoader.Column("NumericalFeatures", DataKind.Single, 9, 14), 708new TextLoader.Column("Income", DataKind.Single, 10), 709new TextLoader.Column("Features", DataKind.Single, 12, 14)
Scenarios\Api\Estimators\PredictAndMetadata.cs (2)
102new TextLoader.Column("Label", DataKind.Single, 0), //notice the label being loaded as a float 103new TextLoader.Column("Features", DataKind.Single, new[]{ new TextLoader.Range(1,4) })
Scenarios\Api\TestApi.cs (2)
305new TextLoader.Column("Age", DataKind.Single,9) 353new TextLoader.Column("Age", DataKind.Single,9)
Scenarios\GetColumnTests.cs (5)
30new TextLoader.Column("floatScalar", DataKind.Single, 1), 31new TextLoader.Column("floatVector", DataKind.Single, 2, 6), 54new TextLoader.Column("anotherFloatVector", DataKind.Single, 2, 6), 72new TextLoader.Column("floatScalar", DataKind.Single, 1), 73new TextLoader.Column("floatVector", DataKind.Single, 2, 6),
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 (4)
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),
Scenarios\OvaTest.cs (8)
26new TextLoader.Column("Label", DataKind.Single, 0), 27new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 4) }), 59new TextLoader.Column("Label", DataKind.Single, 0), 60new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 4) }), 95new TextLoader.Column("Label", DataKind.Single, 0), 96new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 4) }), 130new TextLoader.Column("Label", DataKind.Single, 0), 131new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 4) }),
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 (2)
59new TextLoader.Column("float1", DataKind.Single, 9), 60new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(9), new TextLoader.Range(10), new TextLoader.Range(11), new TextLoader.Range(12) }),
TextLoaderTests.cs (11)
899new TextLoader.Column("Features", typeof(T) == typeof(double) ? DataKind.Double : DataKind.Single, new [] { new TextLoader.Range(1, 4) }), 935new TextLoader.Column("Features", typeof(T) == typeof(double) ? DataKind.Double : DataKind.Single, new [] { new TextLoader.Range(1, 4) }) 994new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(1, 4) }) 1046new TextLoader.Column("Features", DataKind.Single, new[] { new TextLoader.Range(1, 4) }) 1056new TextLoader.Column("Features", DataKind.Single, new[] { new TextLoader.Range(1, 4) }) 1439new TextLoader.Column("sing1", DataKind.Single, 2), 1440new TextLoader.Column("sing2", DataKind.Single, 3), 1441new TextLoader.Column("singFt1", DataKind.Single, new [] { new TextLoader.Range(2,3) } ), 1442new TextLoader.Column("sing3", DataKind.Single, 5), 1443new TextLoader.Column("sing4", DataKind.Single, 6), 1444new TextLoader.Column("singFt2", DataKind.Single, new [] { new TextLoader.Range(2,3), new TextLoader.Range(5,6) } ),
TrainerEstimators\FAFMEstimator.cs (4)
97new TextLoader.Column("Feature1", DataKind.Single, new [] { new TextLoader.Range(1, 2) }), 98new TextLoader.Column("Feature2", DataKind.Single, new [] { new TextLoader.Range(3, 4) }), 99new TextLoader.Column("Feature3", DataKind.Single, new [] { new TextLoader.Range(5, 6) }), 100new TextLoader.Column("Feature4", DataKind.Single, new [] { new TextLoader.Range(7, 9) }),
TrainerEstimators\MatrixFactorizationTests.cs (1)
164new TextLoader.Column(labelColumnName, DataKind.Single, new [] { new TextLoader.Range(0) }),
TrainerEstimators\OneDalEstimators.cs (8)
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),
TrainerEstimators\OnlineLinearTests.cs (3)
21new TextLoader.Column("Label", DataKind.Single, 0), 22new TextLoader.Column("Features", DataKind.Single, 1, 10) 36new TextLoader.Column("Features", DataKind.Single, 1, 10)
TrainerEstimators\PriorRandomTests.cs (1)
25new TextLoader.Column("Rest", DataKind.Single, new [] { new TextLoader.Range(3, 9) })
TrainerEstimators\SdcaTests.cs (2)
22new TextLoader.Column("Label", DataKind.Single, 0), 23new TextLoader.Column("Features", DataKind.Single, 1, 10)
TrainerEstimators\TrainerEstimators.cs (9)
36new TextLoader.Column(featureColumn, DataKind.Single, new [] { new TextLoader.Range(1, 784) }) 65new TextLoader.Column(featureColumn, DataKind.Single, new [] { new TextLoader.Range(1, 784) }), 66new TextLoader.Column(weights, DataKind.Single, 0), 233new TextLoader.Column("Label", DataKind.Single, 0), 235new TextLoader.Column("NumericFeatures", DataKind.Single, new [] { new TextLoader.Range(9, 14) }) 256new TextLoader.Column("Label", DataKind.Single, 11), 257new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(0, 10) } ) 270new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(0, 3) }), 283new TextLoader.Column("Features", DataKind.Single, new [] { new TextLoader.Range(0, 3) }),
Transformers\CategoricalTests.cs (2)
109var pipe = mlContext.Transforms.Conversion.ConvertType("A", outputKind: DataKind.Single) 110.Append(mlContext.Transforms.Conversion.ConvertType("B", outputKind: DataKind.Single))
Transformers\ConcatTests.cs (7)
49new TextLoader.Column("float1", DataKind.Single, 9), 50new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(9), new TextLoader.Range(10), new TextLoader.Range(11), new TextLoader.Range(12) }), 51new TextLoader.Column("float6", DataKind.Single, new[]{new TextLoader.Range(9), new TextLoader.Range(10), new TextLoader.Range(11), new TextLoader.Range(12, 14) }), 52new TextLoader.Column("vfloat", DataKind.Single, new[]{new TextLoader.Range(14, null) { AutoEnd = false, VariableEnd = true } }) 107new TextLoader.Column("float1", DataKind.Single, 9), 108new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(9), new TextLoader.Range(10), new TextLoader.Range(11), new TextLoader.Range(12) }), 109new TextLoader.Column("vfloat", DataKind.Single, new[]{new TextLoader.Range(9), new TextLoader.Range(10), new TextLoader.Range(11), new TextLoader.Range(12, null) { AutoEnd = false, VariableEnd = true } })
Transformers\ConvertTests.cs (14)
130var pipe = ML.Transforms.Conversion.ConvertType(columns: new[] {new TypeConvertingEstimator.ColumnOptions("ConvA", DataKind.Single, "A"), 131new TypeConvertingEstimator.ColumnOptions("ConvB", DataKind.Single, "B")}); 170new TypeConvertingEstimator.ColumnOptions("ConvA", DataKind.Single, "AA"), 171new TypeConvertingEstimator.ColumnOptions("ConvB", DataKind.Single, "AB"), 172new TypeConvertingEstimator.ColumnOptions("ConvC", DataKind.Single, "AC"), 173new TypeConvertingEstimator.ColumnOptions("ConvD", DataKind.Single, "AD"), 174new TypeConvertingEstimator.ColumnOptions("ConvE", DataKind.Single, "AE"), 175new TypeConvertingEstimator.ColumnOptions("ConvF", DataKind.Single, "AF"), 176new TypeConvertingEstimator.ColumnOptions("ConvG", DataKind.Single, "AG"), 177new TypeConvertingEstimator.ColumnOptions("ConvH", DataKind.Single, "AH"), 178new TypeConvertingEstimator.ColumnOptions("ConvK", DataKind.Single, "AK"), 179new TypeConvertingEstimator.ColumnOptions("ConvL", DataKind.Single, "AL"), 180new TypeConvertingEstimator.ColumnOptions("ConvM", DataKind.Single, "AM"), 181new TypeConvertingEstimator.ColumnOptions("ConvN", DataKind.Single, "AN"),
Transformers\CountTargetEncodingTests.cs (4)
29new TextLoader.Column("Label", DataKind.Single, 0) 42var data = ML.Data.LoadFromTextFile(dataPath, new[] { new TextLoader.Column("Label", DataKind.Single, 0), 60new TextLoader.Column("Label", DataKind.Single, 0) 165new TextLoader.Column("Label", DataKind.Single, 0)
Transformers\CustomMappingTests.cs (8)
57new TextLoader.Column("Float1", DataKind.Single, 9), 58new TextLoader.Column("Float4", DataKind.Single, new[]{new TextLoader.Range(9), new TextLoader.Range(10), new TextLoader.Range(11), new TextLoader.Range(12) }) 93new TextLoader.Column("Float1", DataKind.Single, 0), 94new TextLoader.Column("Float4", DataKind.Single, new[]{new TextLoader.Range(0), new TextLoader.Range(2), new TextLoader.Range(4), new TextLoader.Range(10) }), 171new TextLoader.Column("Features", DataKind.Single, 1, 9), 173new TextLoader.Column("Value", DataKind.Single, 2), 196new TextLoader.Column("Float4", DataKind.Single, 1, 4), 197new TextLoader.Column("Float1", DataKind.Single, 2),
Transformers\ExpressionTransformerTests.cs (2)
27new TextLoader.Column("Float", DataKind.Single, 9), 28new TextLoader.Column("FloatVector", DataKind.Single, 9, 14),
Transformers\FeatureSelectionTests.cs (10)
38new TextLoader.Column("text", DataKind.Single, 1) }, 66new TextLoader.Column("ScalarFloat", DataKind.Single, 1), 68new TextLoader.Column("VectorFloat", DataKind.Single, 1, 4), 108new TextLoader.Column("ScalarFloat", DataKind.Single, 6), 109new TextLoader.Column("VectorFloat", DataKind.Single, 1, 4), 150new TextLoader.Column("VectorFloat", DataKind.Single, 1, 4) 172new TextLoader.Column("ScalarFloat", DataKind.Single, 6), 173new TextLoader.Column("VectorFloat", DataKind.Single, 1, 4), 210new TextLoader.Column("VectorFloat", DataKind.Single, 1, 4) 232new TextLoader.Column("Label", DataKind.Single, 0),
Transformers\HashTests.cs (1)
359new TextLoader.Column("Features", DataKind.Single, 1, 9)
Transformers\NAIndicatorTests.cs (2)
96new TextLoader.Column("ScalarFloat", DataKind.Single, 1), 98new TextLoader.Column("VectorFloat", DataKind.Single, 1, 4),
Transformers\NAReplaceTests.cs (2)
126new TextLoader.Column("ScalarFloat", DataKind.Single, 1), 128new TextLoader.Column("VectorFloat", DataKind.Single, 1, 4),
Transformers\NormalizerTests.cs (36)
40new TextLoader.Column("float1", DataKind.Single, 1), 41new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(1, 4) }), 45new TextLoader.Column("float0", DataKind.Single, new[]{ new TextLoader.Range { Min = 1, VariableEnd = true } }), 109new TextLoader.Column("float1", DataKind.Single, 1), 110new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(1, 4) }), 114new TextLoader.Column("float0", DataKind.Single, new[]{ new TextLoader.Range { Min = 1, VariableEnd = true } }) 227new TextLoader.Column("Label", DataKind.Single, 0), 228new TextLoader.Column("float1", DataKind.Single, 1), 229new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(1, 4) }), 233new TextLoader.Column("float0", DataKind.Single, new[]{ new TextLoader.Range { Min = 1, VariableEnd = true } }) 474new TextLoader.Column("Label", DataKind.Single, 0), 475new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(1, 4) }), 578new TextLoader.Column("Label", DataKind.Single, 0), 579new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(1, 4) }), 636new TextLoader.Column("Label", DataKind.Single, 0), 637new TextLoader.Column("input", DataKind.Single, new[]{new TextLoader.Range(1, 4) }), 657new TextLoader.Column("label", DataKind.Single, 11), 658new TextLoader.Column("features", DataKind.Single, 0, 10) 662new TextLoader.Column("label", DataKind.Single, 11), 691new TextLoader.Column("label", DataKind.Single, 11), 692new TextLoader.Column("features", DataKind.Single, 0, 10) 696new TextLoader.Column("label", DataKind.Single, 11), 733new TextLoader.Column("label", DataKind.Single, 11), 734new TextLoader.Column("features", DataKind.Single, 0, 10) 755new TextLoader.Column("label", DataKind.Single, 11), 756new TextLoader.Column("features", DataKind.Single, 0, 10) 760new TextLoader.Column("label", DataKind.Single, 11), 794new TextLoader.Column("label", DataKind.Single, 11), 795new TextLoader.Column("features", DataKind.Single, 0, 10) 815new TextLoader.Column("label", DataKind.Single, 11), 816new TextLoader.Column("features", DataKind.Single, 0, 10) 820new TextLoader.Column("label", DataKind.Single, 11), 854new TextLoader.Column("label", DataKind.Single, 11), 855new TextLoader.Column("features", DataKind.Single, 0, 10) 994new TextLoader.Column("float1", DataKind.Single, 1), 995new TextLoader.Column("float4", DataKind.Single, new[]{new TextLoader.Range(1, 4) }),
Transformers\PcaTests.cs (7)
30new TextLoader.Column("label", DataKind.Single, 11), 31new TextLoader.Column("weight", DataKind.Single, 0), 32new TextLoader.Column("features", DataKind.Single, 1, 10) 36new TextLoader.Column("label", DataKind.Single, 11), 37new TextLoader.Column("weight", DataKind.Single, 0), 54new TextLoader.Column("label", DataKind.Single, 11), 55new TextLoader.Column("features", DataKind.Single, 0, 10)
Transformers\RffTests.cs (2)
68new TextLoader.Column("VectorFloat", DataKind.Single, 1, 8), 69new TextLoader.Column("Label", DataKind.Single, 0)
Transformers\TextFeaturizerTests.cs (6)
433new TextLoader.Column("text", DataKind.Single, 1) }, 466new TextLoader.Column("text", DataKind.Single, 1) }, 533new TextLoader.Column("text", DataKind.Single, 1) }, 596new TextLoader.Column("text", DataKind.Single, 1) }, 626new TextLoader.Column("text", DataKind.Single, 1) }, 680new TextLoader.Column("text", DataKind.Single, 1) },
Microsoft.ML.TimeSeries.Tests (3)
TimeSeriesDirectApi.cs (3)
304.Append(ml.Transforms.Conversion.ConvertType("Value", "Value", DataKind.Single)) 450.Append(ml.Transforms.Conversion.ConvertType("Value", "Value", DataKind.Single)) 540new TextLoader.Column("Value", DataKind.Single, 0),
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
422new TextLoader.Column("relevance", DataKind.Single,4),