1 write to DataDir
Microsoft.ML.IntegrationTests (1)
IntegrationTestBaseClass.cs (1)
22
DataDir
= Path.Combine(RootDir, "test", "data");
66 references to DataDir
Microsoft.ML.IntegrationTests (66)
DataTransformation.cs (5)
33
TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
86
TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
132
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
170
TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
197
TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
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 (10)
32
.Load(TestCommon.GetDataPath(
DataDir
, TestDatasets.mnistOneClass.trainFilename));
35
.Load(TestCommon.GetDataPath(
DataDir
, TestDatasets.mnistOneClass.testFilename));
60
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
89
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
118
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
146
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
171
TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
232
TestCommon.GetDataPath(
DataDir
, TestDatasets.trivialMatrixFactorization.trainFilename),
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),
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 (9)
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),
138
TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
178
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
219
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
259
TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
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),
389
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
ModelFiles.cs (10)
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));
241
trainedModel = mlContext.Model.Load(TestCommon.GetDataPath(
DataDir
, "backcompat", "modelwithoptionalcolumntransform.zip"), out dataViewSchema);
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 (1)
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 (11)
32
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
86
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
130
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
174
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
218
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
261
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
312
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(
DataDir
, TestDatasets.housing.trainFilename),
356
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(
DataDir
, TestDatasets.housing.trainFilename),
400
var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(
DataDir
, TestDatasets.Sentiment.trainFilename),
448
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
479
var data = mlContext.Data.LoadFromTextFile<Iris>(TestCommon.GetDataPath(
DataDir
, TestDatasets.iris.trainFilename),
Validation.cs (4)
38
var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(
DataDir
, TestDatasets.housing.trainFilename), hasHeader: true);
85
var trainDataView = reader.Load(TestCommon.GetDataPath(
DataDir
, "MSLRWeb1K-tiny.tsv"));
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);