434 references to TestDatasets
Microsoft.ML.AutoML.Tests (2)
AutoFitTests.cs (2)
524
var trainDataView = reader.Load(new MultiFileSource(GetDataPath(
TestDatasets
.trivialMatrixFactorization.trainFilename)));
525
var testDataView = reader.Load(new MultiFileSource(GetDataPath(
TestDatasets
.trivialMatrixFactorization.testFilename)));
Microsoft.ML.Core.Tests (40)
UnitTests\TestEntryPoints.cs (40)
45
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
65
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
557
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
575
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2283
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2334
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2384
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2429
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2645
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2693
var dataPath = GetDataPath(
TestDatasets
.generatedRegressionDatasetmacro.trainFilename);
2699
dataPath, warningsPath, overallMetricsPath, instanceMetricsPath, loader:
TestDatasets
.generatedRegressionDatasetmacro.loaderSettings);
2815
TestEntryPointRoutine(
TestDatasets
.generatedRegressionDatasetmacro.trainFilename, "Trainers.StochasticDualCoordinateAscentRegressor", loader:
TestDatasets
.generatedRegressionDatasetmacro.loaderSettings);
2833
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Label:0 col=Features:1-9",
2932
TestEntryPointRoutine(
TestDatasets
.generatedRegressionDatasetmacro.trainFilename, "Trainers.EnsembleRegression", loader:
TestDatasets
.generatedRegressionDatasetmacro.loaderSettings);
2950
TestEntryPointRoutine(
TestDatasets
.generatedRegressionDatasetmacro.trainFilename, "Trainers.PoissonRegressor", loader:
TestDatasets
.generatedRegressionDatasetmacro.loaderSettings);
2956
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Label:R4:0 col=Features:R4:1-9",
2970
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=LT:TX:0 col=LB:BL:0 col=FT:TX:1-9 col=LN:0 col=FN:1-9 col=Key:U2[0-9]:2",
3016
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=G1:TX:0 col=G2:R4:0 col=G3:U4[0-100]:1 col=V1:R4:2 col=V2:TX:3 col=V3:U2[0-10]:4 col=V4:I4:5",
3033
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Features:R4:1-9 header+",
3043
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Features:R4:1-9 header+",
3058
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=FV1:2-3 col=FV2:3-4 col=FV3:4-5 col=FV4:7-9 col=Label:0",
3106
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Label:0",
3136
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Filter:R4:3",
3158
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Filter:R4:3",
3509
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
3604
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
3709
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
3870
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
4061
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
4151
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
4651
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Input:R4:1",
4668
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Input:R4:1",
4684
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Input:R4:1",
4716
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
4728
TestEntryPointPipelineRoutine(GetDataPath(
TestDatasets
.breastCancer.trainFilename), "col=Text:TX:1-9 col=OneText:TX:1 col=Label:0",
4758
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
5017
var dataPath = GetDataPath(
TestDatasets
.generatedRegressionDatasetmacro.trainFilename);
Microsoft.ML.IntegrationTests (139)
DataTransformation.cs (15)
33
TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
34
hasHeader:
TestDatasets
.iris.fileHasHeader,
35
separatorChar:
TestDatasets
.iris.fileSeparator);
86
TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
87
hasHeader:
TestDatasets
.iris.fileHasHeader,
88
separatorChar:
TestDatasets
.iris.fileSeparator);
132
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
133
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
134
separatorChar:
TestDatasets
.Sentiment.fileSeparator);
170
TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
171
hasHeader:
TestDatasets
.iris.fileHasHeader,
172
separatorChar:
TestDatasets
.iris.fileSeparator);
197
TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
198
hasHeader:
TestDatasets
.iris.fileHasHeader,
199
separatorChar:
TestDatasets
.iris.fileSeparator);
Debugging.cs (3)
104
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
133
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
171
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
Evaluation.cs (28)
31
TestDatasets
.mnistOneClass.fileHasHeader,
TestDatasets
.mnistOneClass.fileSeparator)
32
.Load(TestCommon.GetDataPath(DataDir,
TestDatasets
.mnistOneClass.trainFilename));
34
TestDatasets
.mnistOneClass.fileHasHeader,
TestDatasets
.mnistOneClass.fileSeparator)
35
.Load(TestCommon.GetDataPath(DataDir,
TestDatasets
.mnistOneClass.testFilename));
60
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
61
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
62
separatorChar:
TestDatasets
.Sentiment.fileSeparator);
89
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
90
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
91
separatorChar:
TestDatasets
.Sentiment.fileSeparator);
118
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
119
hasHeader:
TestDatasets
.iris.fileHasHeader,
120
separatorChar:
TestDatasets
.iris.fileSeparator);
146
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
147
hasHeader:
TestDatasets
.iris.fileHasHeader,
148
separatorChar:
TestDatasets
.iris.fileSeparator);
171
TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
172
hasHeader:
TestDatasets
.iris.fileHasHeader,
173
separatorChar:
TestDatasets
.iris.fileSeparator);
232
TestCommon.GetDataPath(DataDir,
TestDatasets
.trivialMatrixFactorization.trainFilename),
233
TestDatasets
.trivialMatrixFactorization.fileHasHeader,
234
TestDatasets
.trivialMatrixFactorization.fileSeparator);
268
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
295
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
296
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
297
separatorChar:
TestDatasets
.Sentiment.fileSeparator);
Explainability.cs (8)
35
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
93
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
117
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
144
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
171
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
208
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
245
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
283
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
IntrospectiveTraining.cs (26)
35
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
75
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
76
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
77
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
78
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
138
TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
139
hasHeader:
TestDatasets
.iris.fileHasHeader,
140
separatorChar:
TestDatasets
.iris.fileSeparator);
178
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
179
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
180
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
181
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
219
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
220
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
221
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
222
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
259
TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
260
hasHeader:
TestDatasets
.iris.fileHasHeader,
261
separatorChar:
TestDatasets
.iris.fileSeparator);
289
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
332
var data = mlContext.Data.LoadFromTextFile<Adult>(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename),
333
hasHeader:
TestDatasets
.adult.fileHasHeader,
334
separatorChar:
TestDatasets
.adult.fileSeparator);
389
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
390
hasHeader:
TestDatasets
.iris.fileHasHeader,
391
separatorChar:
TestDatasets
.iris.fileSeparator);
ModelFiles.cs (9)
45
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
92
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
134
var file = new MultiFileSource(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename));
267
var file = new MultiFileSource(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename));
324
var file = new MultiFileSource(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename));
357
var file = new MultiFileSource(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename));
386
var file = new MultiFileSource(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename));
424
var file = new MultiFileSource(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename));
457
var file = new MultiFileSource(TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename));
ONNX.cs (3)
37
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
87
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
139
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
Prediction.cs (3)
42
HasHeader =
TestDatasets
.Sentiment.fileHasHeader,
43
Separators = new[] {
TestDatasets
.Sentiment.fileSeparator }
46
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
SchemaDefinitionTests.cs (2)
33
var fileName = TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename);
63
var fileName = TestCommon.GetDataPath(DataDir,
TestDatasets
.adult.trainFilename);
Training.cs (39)
32
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
33
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
34
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
35
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
86
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
87
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
88
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
89
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
130
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
131
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
132
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
133
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
174
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
175
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
176
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
177
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
218
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
219
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
220
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
221
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
261
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
262
hasHeader:
TestDatasets
.iris.fileHasHeader,
263
separatorChar:
TestDatasets
.iris.fileSeparator);
312
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename),
313
separatorChar:
TestDatasets
.housing.fileSeparator,
314
hasHeader:
TestDatasets
.housing.fileHasHeader);
356
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename),
357
separatorChar:
TestDatasets
.housing.fileSeparator,
358
hasHeader:
TestDatasets
.housing.fileHasHeader);
400
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir,
TestDatasets
.Sentiment.trainFilename),
401
separatorChar:
TestDatasets
.Sentiment.fileSeparator,
402
hasHeader:
TestDatasets
.Sentiment.fileHasHeader,
403
allowQuoting:
TestDatasets
.Sentiment.allowQuoting);
448
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
449
hasHeader:
TestDatasets
.iris.fileHasHeader,
450
separatorChar:
TestDatasets
.iris.fileSeparator);
479
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename),
480
hasHeader:
TestDatasets
.iris.fileHasHeader,
481
separatorChar:
TestDatasets
.iris.fileSeparator);
Validation.cs (3)
38
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
104
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir,
TestDatasets
.housing.trainFilename), hasHeader: true);
153
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(DataDir,
TestDatasets
.iris.trainFilename), hasHeader: true);
Microsoft.ML.PerformanceTests (16)
Numeric\Ranking.cs (10)
25
_mslrWeb10kValidate = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.MSLRWeb.validFilename,
TestDatasets
.MSLRWeb.path);
26
_mslrWeb10kTrain = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.MSLRWeb.trainFilename,
TestDatasets
.MSLRWeb.path);
75
_mslrWeb10kTest = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.MSLRWeb.testFilename,
TestDatasets
.MSLRWeb.path);
76
_mslrWeb10kValidate = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.MSLRWeb.validFilename,
TestDatasets
.MSLRWeb.path);
77
_mslrWeb10kTrain = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.MSLRWeb.trainFilename,
TestDatasets
.MSLRWeb.path);
RffTransform.cs (2)
22
_dataPathDigits = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.Digits.trainFilename,
TestDatasets
.Digits.path);
Text\MultiClassClassification.cs (4)
23
_dataPathWiki = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.WikiDetox.trainFilename,
TestDatasets
.WikiDetox.path);
100
_dataPathWiki = GetBenchmarkDataPathAndEnsureData(
TestDatasets
.WikiDetox.trainFilename,
TestDatasets
.WikiDetox.path);
Microsoft.ML.Predictor.Tests (95)
TestConcurrency.cs (2)
24
TestParallelRun("CVWithLR", "CV", "LR {nt=2}",
TestDatasets
.breastCancer.trainFilename);
31
var bc =
TestDatasets
.breastCancer;
TestIniModels.cs (2)
528
}).Load(GetDataPath(
TestDatasets
.breastCancer.trainFilename));
567
}).Load(GetDataPath(
TestDatasets
.breastCancer.trainFilename));
TestParallelFasttreeInterface.cs (1)
181
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
TestPredictors.cs (90)
56
TestDatasets
.breastCancer,
64
TestDatasets
.breastCancer,
65
TestDatasets
.iris
74
return new[] {
TestDatasets
.housing };
82
return new[] {
TestDatasets
.rankingText };
91
TestDatasets
.breastCancerBoolLabel,
92
TestDatasets
.breastCancerPipeMissing,
93
TestDatasets
.breastCancerPipeMissingFilter,
94
TestDatasets
.msm
103
return new[] {
TestDatasets
.breastCancerWeighted };
126
RunAllTests(predictors, new[] {
TestDatasets
.breastCancerBoolLabel });
139
var dataset =
TestDatasets
.msm.Clone();
155
RunOneAllTests(TestLearners.multiclassLogisticRegression,
TestDatasets
.iris, digitsOfPrecision: 3);
169
RunOneAllTests(TestLearners.multiclassLogisticRegressionNonNegative,
TestDatasets
.iris, digitsOfPrecision: 3);
200
RunOneAllTests(TestLearners.multiclassLogisticRegression,
TestDatasets
.irisTreeFeaturized, digitsOfPrecision: 4);
201
RunOneAllTests(TestLearners.multiclassLogisticRegression,
TestDatasets
.irisTreeFeaturizedPermuted, digitsOfPrecision: 4);
224
Run_CV(predictor,
TestDatasets
.mnistTiny28, extraTag: "DifferentClassCounts");
232
RunOneAllTests(TestLearners.Ova,
TestDatasets
.iris, digitsOfPrecision: 6);
233
RunOneAllTests(TestLearners.OvaWithFastForest,
TestDatasets
.iris, digitsOfPrecision: 6);
234
RunOneAllTests(TestLearners.Pkpd,
TestDatasets
.iris, digitsOfPrecision: 6);
245
var datasets = new[] {
TestDatasets
.adult,
TestDatasets
.mnistTiny28 };
276
RunOneAllTests(TestLearners.logisticRegression,
TestDatasets
.breastCancer, summary: true, digitsOfPrecision: 3);
288
RunOneAllTests(TestLearners.symSGD,
TestDatasets
.breastCancer, summary: true, digitsOfPrecision: 4);
297
var binaryClassificationDatasets = new[] {
TestDatasets
.breastCancer };
323
var binaryClassificationDatasets = new[] {
TestDatasets
.breastCancer };
371
var data =
TestDatasets
.breastCancer;
430
new[] {
TestDatasets
.breastCancerDifferentlyWeighted });
449
new[] {
TestDatasets
.housingDifferentlyWeightedRep });
463
var binaryClassificationDatasets = new List<TestDataset> {
TestDatasets
.breastCancerPipe };
479
var binaryClassificationDatasets = new List<TestDataset> {
TestDatasets
.breastCancerPipe };
507
Run_Test(TestLearners.LightGBMClassifier,
TestDatasets
.breastCancerPipeWithoutMamlExtraSettings, previousBaselineModelPath);
516
var binaryClassificationDatasets = new List<TestDataset> {
TestDatasets
.breastCancerPipe };
527
var binaryClassificationDatasets = new List<TestDataset> {
TestDatasets
.breastCancerPipe };
541
var multiClassificationDatasets = new[] {
TestDatasets
.irisLoader };
555
var multiClassificationDatasets = new[] {
TestDatasets
.irisLoaderU404 };
569
var regDatasets = new[] {
TestDatasets
.generatedRegressionDataset };
583
var regDatasets = new[] {
TestDatasets
.generatedRegressionDataset };
597
var regDatasets = new[] {
TestDatasets
.generatedRegressionDataset };
618
var rankDatasets = new[] {
TestDatasets
.MQ2008 };
626
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
756
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
802
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
980
var binaryClassificationDatasets = new List<TestDataset> {
TestDatasets
.adultOnlyCat,
TestDatasets
.adult };
999
var regressionDatasets = new List<TestDataset> {
TestDatasets
.autosSample };
1019
var binaryClassificationDatasets = new List<TestDataset> {
TestDatasets
.breastCancerGroupId };
1037
var binaryClassificationDatasets = new List<TestDataset> {
TestDatasets
.breastCancerPipe };
1133
Run_TrainTest(TestLearners.FastTreeUnderbuiltRegressor,
TestDatasets
.housing, null, "Underbuilt");
1201
Run_TrainTest(TestLearners.Ols,
TestDatasets
.generatedRegressionDataset, digitsOfPrecision: 4);
1214
RunAllTests(regressionPredictors, new[] {
TestDatasets
.generatedRegressionDataset });
1558
var datasets = new[] {
TestDatasets
.childrenPoisson,
TestDatasets
.autosSample };
1574
var datasets = new[] {
TestDatasets
.childrenPoisson,
TestDatasets
.autosSample };
1589
new List<TestDataset>() {
TestDatasets
.reutersMaxDim });
1598
return new[] {
TestDatasets
.breastCancer };
1672
var data =
TestDatasets
.breastCancerWeighted;
1723
RunOneAllTests(TestLearners.fastRankRegressionWeighted,
TestDatasets
.housingWeightedRep);
1738
RunOneAllTests(TestLearners.fastRankRankingWeighted,
TestDatasets
.rankingWeighted);
1757
RunOneTrain(TestLearners.NnBinCustom(path),
TestDatasets
.breastCancer, null, "InputMismatch");
1767
RunOneTrain(TestLearners.NnBinCustom(path),
TestDatasets
.breastCancer, null, "OutputMismatch");
1778
RunOneTrain(TestLearners.NnBinCustom(path),
TestDatasets
.iris, null, "NonBinData");
1787
Run_TrainTest(TestLearners.PCAAnomalyDefault,
TestDatasets
.mnistOneClass, extraSettings: new[] { "loader=text{sparse+}" }, digitsOfPrecision: 4);
1788
Run_TrainTest(TestLearners.PCAAnomalyNoNorm,
TestDatasets
.mnistOneClass, extraSettings: new[] { "loader=text{sparse+}" }, digitsOfPrecision: 4);
1806
Run_TrainTest(TestLearners.OneClassSvmLinear,
TestDatasets
.mnistOneClass, extraTag: "LinearKernel");
1807
Run_TrainTest(TestLearners.OneClassSvmPoly,
TestDatasets
.mnistOneClass, extraTag: "PolynomialKernel");
1808
Run_TrainTest(TestLearners.OneClassSvmRbf,
TestDatasets
.mnistOneClass, extraTag: "RbfKernel");
1809
Run_TrainTest(TestLearners.OneClassSvmSigmoid,
TestDatasets
.mnistOneClass, extraTag: "SigmoidKernel");
1821
Run_TrainTest(TestLearners.OneClassSvmLinear,
TestDatasets
.breastCancerOneClass, extraTag: "LinearKernel");
1822
Run_TrainTest(TestLearners.OneClassSvmPoly,
TestDatasets
.breastCancerOneClass, extraTag: "PolynomialKernel");
1823
Run_TrainTest(TestLearners.OneClassSvmRbf,
TestDatasets
.breastCancerOneClass, extraTag: "RbfKernel");
1824
Run_TrainTest(TestLearners.OneClassSvmSigmoid,
TestDatasets
.breastCancerOneClass, extraTag: "SigmoidKernel");
2195
RunOneAllTests(TestLearners.MulticlassNaiveBayesClassifier,
TestDatasets
.breastCancerPipe);
2203
Run_TrainTest(pa,
TestDatasets
.iris, digitsOfPrecision: 6, parseOption: NumberParseOption.UseSingle);
2212
RunOneAllTests(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 3, parseOption: NumberParseOption.UseSingle);
2220
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 5, parseOption: NumberParseOption.UseSingle);
2228
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 5, parseOption: NumberParseOption.UseSingle);
2236
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 6, parseOption: NumberParseOption.UseSingle);
2244
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 4, parseOption: NumberParseOption.UseSingle);
2252
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 3, parseOption: NumberParseOption.UseSingle);
2260
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 4, parseOption: NumberParseOption.UseSingle);
2268
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 6, parseOption: NumberParseOption.UseSingle);
2276
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 4, parseOption: NumberParseOption.UseSingle);
2284
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 6, parseOption: NumberParseOption.UseSingle);
2292
Run_TrainTest(pa,
TestDatasets
.breastCancer, new[] { "loader=Text{col=Label:BL:0 col=Features:R4:1-9}" }, digitsOfPrecision: 3, parseOption: NumberParseOption.UseSingle);
2300
Run_TrainTest(pa,
TestDatasets
.iris, digitsOfPrecision: 6, parseOption: NumberParseOption.UseSingle);
2308
Run_TrainTest(pa,
TestDatasets
.iris, digitsOfPrecision: 6, parseOption: NumberParseOption.UseSingle);
2316
Run_TrainTest(pa,
TestDatasets
.iris, digitsOfPrecision: 3, parseOption: NumberParseOption.UseSingle);
2324
Run_TrainTest(pa,
TestDatasets
.iris, digitsOfPrecision: 4, parseOption: NumberParseOption.UseSingle);
Microsoft.ML.TensorFlow.Tests (8)
TensorflowTests.cs (8)
665
var trainData = reader.Load(GetDataPath(
TestDatasets
.mnistTiny28.trainFilename));
666
var testData = reader.Load(GetDataPath(
TestDatasets
.mnistOneClass.testFilename));
706
var trainData = reader.Load(GetDataPath(
TestDatasets
.mnistTiny28.trainFilename));
707
var testData = reader.Load(GetDataPath(
TestDatasets
.mnistOneClass.testFilename));
796
var trainData = reader.Load(GetDataPath(
TestDatasets
.mnistTiny28.trainFilename));
797
var testData = reader.Load(GetDataPath(
TestDatasets
.mnistOneClass.testFilename));
889
var trainData = reader.Load(GetDataPath(
TestDatasets
.mnistTiny28.trainFilename));
890
var testData = reader.Load(GetDataPath(
TestDatasets
.mnistOneClass.testFilename));
Microsoft.ML.TestFramework (18)
DataPipe\TestDataPipe.cs (1)
1495
var inputData = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
DataPipe\TestDataPipeBase.cs (1)
317
pathData = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
TestCommandBase.cs (16)
990
var dataPath = GetDataPath(
TestDatasets
.adult.testFilename);
993
var trainArgs = $"Train tr=SDCA {
TestDatasets
.adult.loaderSettings} {
TestDatasets
.adult.mamlExtraSettings[0]} {
TestDatasets
.adult.mamlExtraSettings[1]}" +
1412
string pathData = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1553
string pathData = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1811
TestDataset dataset =
TestDatasets
.azureCounterUnlabeled;
1838
TestDataset dataset =
TestDatasets
.mnistOneClass;
1888
var dataPath = GetDataPath(
TestDatasets
.adultRanking.trainFilename);
1891
RunMTAThread(() => TestCore("train", dataPath,
TestDatasets
.adultRanking.loaderSettings, extraArgs));
1930
RunMTAThread(() => TestCore("traintest", dataPath,
TestDatasets
.adultRanking.loaderSettings, trainTestExtra));
1953
TestDataset dataset =
TestDatasets
.mnistTiny28;
2009
string data = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2025
string data = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2094
string data = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2124
string data = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Microsoft.ML.Tests (116)
AnomalyDetectionTests.cs (3)
28
var trainPath = GetDataPath(
TestDatasets
.mnistOneClass.trainFilename);
29
var testPath = GetDataPath(
TestDatasets
.mnistOneClass.testFilename);
46
var trainPath = GetDataPath(
TestDatasets
.mnistOneClass.trainFilename);
DatabaseLoaderTests.cs (4)
281
GetMSSQLConnectionString(
TestDatasets
.irisDb.name),
282
String.Format(command, $@"""{
TestDatasets
.irisDb.trainFilename}"""),
287
GetSQLiteConnectionString(
TestDatasets
.irisDbSQLite.name),
288
String.Format(command,
TestDatasets
.irisDbSQLite.trainFilename),
OnnxConversionTest.cs (22)
69
var trainDataPath = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
147
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
179
string dataPath = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
220
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
261
string dataPath = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
436
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
565
var trainDataPath = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
596
var trainDataPath = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
623
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
767
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
787
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
964
var dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
1002
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1601
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1646
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1700
var trainDataPath = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
1718
var trainDataPath = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
1845
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1884
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1931
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1973
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
2023
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
PermutationFeatureImportanceTests.cs (1)
487
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
208
=> TrainRegression(GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename), GetDataPath(
TestDatasets
.generatedRegressionDataset.testFilename),
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (2)
28
var dataPath = GetDataPath(
TestDatasets
.irisData.trainFilename);
42
var testLoader = ml.Data.LoadFromTextFile(dataPath,
TestDatasets
.irisData.GetLoaderColumns(), separatorChar: ',', hasHeader: true);
Scenarios\Api\Estimators\Extensibility.cs (3)
27
var dataPath = GetDataPath(
TestDatasets
.irisData.trainFilename);
30
var data = ml.Data.CreateTextLoader(
TestDatasets
.irisData.GetLoaderColumns(), separatorChar: ',')
51
var testLoader = ml.Data.LoadFromTextFile(dataPath,
TestDatasets
.irisData.GetLoaderColumns(), separatorChar: ',');
Scenarios\Api\Estimators\MultithreadedPrediction.cs (2)
28
var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(
TestDatasets
.Sentiment.trainFilename), hasHeader: true);
44
ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(
TestDatasets
.Sentiment.testFilename), hasHeader: true), false);
Scenarios\Api\Estimators\PredictAndMetadata.cs (4)
26
var dataPath = GetDataPath(
TestDatasets
.irisData.trainFilename);
39
var testLoader = ml.Data.LoadFromTextFile(dataPath,
TestDatasets
.irisData.GetLoaderColumns(), separatorChar: ',', hasHeader: true);
77
var dataPath = GetDataPath(
TestDatasets
.irisData.trainFilename);
109
var dataPath2 = GetDataPath(
TestDatasets
.iris.trainFilename);
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (4)
26
var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(
TestDatasets
.Sentiment.trainFilename), hasHeader: true);
42
ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(
TestDatasets
.Sentiment.testFilename), hasHeader: true), false);
63
var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(
TestDatasets
.Sentiment.trainFilename), hasHeader: true);
81
ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(
TestDatasets
.Sentiment.testFilename), hasHeader: true), false);
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
25
var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(
TestDatasets
.Sentiment.trainFilename), hasHeader: true);
Scenarios\Api\TestApi.cs (2)
174
var dataFile = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
268
var dataFile = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Scenarios\GetColumnTests.cs (2)
27
var path = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
69
var path = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Scenarios\IrisPlantClassificationTests.cs (1)
40
string dataPath = GetDataPath(
TestDatasets
.iris.trainFilename);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (1)
38
string dataPath = GetDataPath(
TestDatasets
.iris.trainFilename);
TextLoaderTests.cs (7)
610
var fileName = GetDataPath(
TestDatasets
.adult.trainFilename);
732
var dataPath = GetDataPath(
TestDatasets
.irisData.trainFilename);
815
string breastCancerPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
834
string irisPath = GetDataPath(
TestDatasets
.irisData.trainFilename);
1182
var dataPath = GetDataPath(
TestDatasets
.irisData.trainFilename);
1242
string breastCancerPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
1254
string breastCancerPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
TrainerEstimators\FAFMEstimator.cs (1)
69
.Load(GetDataPath(
TestDatasets
.breastCancer.trainFilename));
TrainerEstimators\MatrixFactorizationTests.cs (4)
33
.Load(new MultiFileSource(GetDataPath(
TestDatasets
.trivialMatrixFactorization.trainFilename)));
37
.Load(new MultiFileSource(GetDataPath(
TestDatasets
.trivialMatrixFactorization.testFilename)));
71
var data = reader.Load(new MultiFileSource(GetDataPath(
TestDatasets
.trivialMatrixFactorization.trainFilename)));
107
var testData = reader.Load(new MultiFileSource(GetDataPath(
TestDatasets
.trivialMatrixFactorization.testFilename)));
TrainerEstimators\MetalinearEstimators.cs (2)
80
Columns =
TestDatasets
.irisData.GetLoaderColumns(),
85
var data = loader.Load(GetDataPath(
TestDatasets
.irisData.trainFilename));
TrainerEstimators\OnlineLinearTests.cs (1)
18
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
TrainerEstimators\PriorRandomTests.cs (1)
27
}).Load(GetDataPath(
TestDatasets
.breastCancer.trainFilename));
TrainerEstimators\SdcaTests.cs (1)
19
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
TrainerEstimators\TrainerEstimators.cs (5)
40
var data = reader.Load(GetDataPath(
TestDatasets
.mnistOneClass.trainFilename));
70
var data = reader.Load(GetDataPath(
TestDatasets
.mnistTiny28.trainFilename));
203
}).Load(GetDataPath(
TestDatasets
.Sentiment.trainFilename));
237
}).Load(GetDataPath(
TestDatasets
.adultRanking.trainFilename));
259
}).Load(GetDataPath(
TestDatasets
.generatedRegressionDatasetmacro.trainFilename));
Transformers\CategoricalHashTests.cs (1)
80
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\CategoricalTests.cs (1)
156
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\CountTargetEncodingTests.cs (5)
25
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
41
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
56
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
76
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
161
var dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\CustomMappingTests.cs (2)
168
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
193
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\FeatureSelectionTests.cs (6)
64
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
105
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
147
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
169
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
207
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
229
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\HashTests.cs (1)
356
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\KeyToBinaryVectorEstimatorTest.cs (1)
62
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\KeyToValueTests.cs (1)
67
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\KeyToVectorEstimatorTests.cs (1)
72
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\NAIndicatorTests.cs (1)
94
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\NAReplaceTests.cs (1)
124
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\NormalizerTests.cs (13)
35
string dataPath = GetDataPath(
TestDatasets
.iris.trainFilename);
469
string dataPath = GetDataPath(
TestDatasets
.iris.trainFilename);
573
string dataPath = GetDataPath(
TestDatasets
.iris.trainFilename);
631
string dataPath = GetDataPath(
TestDatasets
.iris.trainFilename);
655
string dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
689
string dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
731
string dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
753
string dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
792
string dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
813
string dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
852
string dataSource = GetDataPath(
TestDatasets
.generatedRegressionDataset.trainFilename);
873
var dataFile = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
989
string dataPath = GetDataPath(
TestDatasets
.iris.trainFilename);
Transformers\RffTests.cs (1)
66
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\TextFeaturizerTests.cs (3)
762
ML.Data.LoadFromTextFile(GetDataPath(
TestDatasets
.Sentiment.testFilename),
763
TestDatasets
.Sentiment.GetLoaderColumns(), hasHeader: true), false);
776
string dataPath = GetDataPath(
TestDatasets
.breastCancer.trainFilename);
Transformers\WordEmbeddingsTests.cs (2)
28
var dataPath = GetDataPath(
TestDatasets
.Sentiment.trainFilename);
63
var dataPath = GetDataPath(
TestDatasets
.Sentiment.trainFilename);