111 references to LoadFromTextFile
Microsoft.ML.AutoML.Samples (10)
AutoFit\BinaryClassificationExperiment.cs (2)
21
IDataView trainDataView = mlContext.Data.
LoadFromTextFile
<SentimentIssue>(TrainDataPath, hasHeader: true);
22
IDataView testDataView = mlContext.Data.
LoadFromTextFile
<SentimentIssue>(TestDataPath, hasHeader: true);
AutoFit\MulticlassClassificationExperiment.cs (2)
22
IDataView trainDataView = mlContext.Data.
LoadFromTextFile
<PixelData>(TrainDataPath, separatorChar: ',');
23
IDataView testDataView = mlContext.Data.
LoadFromTextFile
<PixelData>(TestDataPath, separatorChar: ',');
AutoFit\RankingExperiment.cs (2)
25
IDataView trainDataView = mlContext.Data.
LoadFromTextFile
<SearchData>(TrainDataPath, hasHeader: true, separatorChar: ',');
26
IDataView testDataView = mlContext.Data.
LoadFromTextFile
<SearchData>(TestDataPath, hasHeader: true, separatorChar: ',');
AutoFit\RecommendationExperiment.cs (2)
28
IDataView trainDataView = mlContext.Data.
LoadFromTextFile
<Movie>(TrainDataPath, hasHeader: true, separatorChar: ',');
29
IDataView testDataView = mlContext.Data.
LoadFromTextFile
<Movie>(TestDataPath, hasHeader: true, separatorChar: ',');
AutoFit\RegressionExperiment.cs (2)
22
IDataView trainDataView = mlContext.Data.
LoadFromTextFile
<TaxiTrip>(TrainDataPath, hasHeader: true, separatorChar: ',');
23
IDataView testDataView = mlContext.Data.
LoadFromTextFile
<TaxiTrip>(TestDataPath, hasHeader: true, separatorChar: ',');
Microsoft.ML.CodeGenerator.Tests (2)
UtilTest.cs (2)
131
var dataView = context.Data.
LoadFromTextFile
<TestClass>(filePath, separatorChar: ',', hasHeader: true);
166
var dataView = context.Data.
LoadFromTextFile
<TestClassContainsDuplicates>(filePath, separatorChar: ',', hasHeader: true);
Microsoft.ML.IntegrationTests (53)
DataIO.cs (1)
98
var dataAfter = mlContext.Data.
LoadFromTextFile
<TypeTestData>(filePath, separatorChar: separator, hasHeader: true, allowQuoting: true);
Datasets\Iris.cs (1)
39
var data = mlContext.Data.
LoadFromTextFile
<Iris>(filePath, hasHeader: hasHeader, separatorChar: separatorChar);
Datasets\TrivialMatrixFactorization.cs (1)
27
var data = mlContext.Data.
LoadFromTextFile
<TrivialMatrixFactorization>(filePath, hasHeader: hasHeader, separatorChar: separatorChar);
DataTransformation.cs (5)
32
var data = mlContext.Data.
LoadFromTextFile
<Iris>(
85
var data = mlContext.Data.
LoadFromTextFile
<Iris>(
132
var data = mlContext.Data.
LoadFromTextFile
<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
169
var data = mlContext.Data.
LoadFromTextFile
<Iris>(
196
var data = mlContext.Data.
LoadFromTextFile
<Iris>(
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 (6)
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),
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),
137
var data = mlContext.Data.
LoadFromTextFile
<Iris>(
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),
258
var data = mlContext.Data.
LoadFromTextFile
<Iris>(
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 (2)
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);
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);
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 (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.OnnxTransformerTest (1)
DnnImageFeaturizerTest.cs (1)
214
var data = ML.Data.
LoadFromTextFile
<ModelInput>(
Microsoft.ML.PerformanceTests (1)
TextPredictionEngineCreation.cs (1)
24
var data = _context.Data.
LoadFromTextFile
<SentimentData>(
Microsoft.ML.Tests (38)
FeatureContributionTests.cs (1)
418
IDataView trainingDataView = ML.Data.
LoadFromTextFile
<TaxiTrip>(trainDataPath, hasHeader: true, separatorChar: ',');
OnnxConversionTest.cs (17)
71
var data = mlContext.Data.
LoadFromTextFile
<AdultData>(trainDataPath,
149
var data = mlContext.Data.
LoadFromTextFile
<BreastCancerFeatureVector>(dataPath,
182
var dataView = mlContext.Data.
LoadFromTextFile
<AdultData>(dataPath,
222
var dataView = mlContext.Data.
LoadFromTextFile
<BreastCancerBinaryClassification>(dataPath, separatorChar: '\t', hasHeader: false);
280
var dataView = ML.Data.
LoadFromTextFile
<BreastCancerBinaryClassification>(dataPath, separatorChar: '\t', hasHeader: true);
567
var data = mlContext.Data.
LoadFromTextFile
<AdultData>(trainDataPath,
598
var data = mlContext.Data.
LoadFromTextFile
<AdultData>(trainDataPath,
624
var data = mlContext.Data.
LoadFromTextFile
<BreastCancerMulticlassExample>(dataPath,
788
var data = mlContext.Data.
LoadFromTextFile
<BreastCancerCatFeatureExample>(dataPath,
851
var data = mlContext.Data.
LoadFromTextFile
<SmallSentimentExample>(dataPath, separatorChar: '\t', hasHeader: false);
1004
var dataView = mlContext.Data.
LoadFromTextFile
<BreastCancerCatFeatureExample>(dataPath);
1647
var dataView = mlContext.Data.
LoadFromTextFile
<BreastCancerMulticlassExample>(dataPath, separatorChar: '\t', hasHeader: false);
1701
var dataView = mlContext.Data.
LoadFromTextFile
<AdultData>(trainDataPath,
1719
var dataView = mlContext.Data.
LoadFromTextFile
<AdultData>(trainDataPath,
1933
var dataView = mlContext.Data.
LoadFromTextFile
<BreastCancerBinaryClassificationNonDefaultColNames>(dataPath, separatorChar: '\t', hasHeader: false);
1974
var dataView = mlContext.Data.
LoadFromTextFile
<BreastCancerMulticlassExampleNonDefaultColNames>(dataPath, separatorChar: '\t', hasHeader: false);
2025
var dataView = ML.Data.
LoadFromTextFile
<BreastCancerCatFeatureExample>(dataPath);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (7)
41
var data = mlContext.Data.
LoadFromTextFile
<InspectedRow>(dataPath,
151
var trainData = mlContext.Data.
LoadFromTextFile
<RegressionData>(trainDataPath,
187
var testData = mlContext.Data.
LoadFromTextFile
<RegressionData>(testDataPath,
219
var trainData = mlContext.Data.
LoadFromTextFile
<IrisInput>(irisDataPath,
304
var trainData = mlContext.Data.
LoadFromTextFile
<IrisInputAllFeatures>(dataPath,
636
var data = mlContext.Data.
LoadFromTextFile
<IrisInput>(dataPath,
685
var loader = mlContext.Data.
LoadFromTextFile
<RegressionData>(dataPath,
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (1)
31
var data = ml.Data.
LoadFromTextFile
<IrisData>(dataPath, 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 (2)
29
var data = ml.Data.
LoadFromTextFile
<IrisData>(dataPath, separatorChar: ',');
78
var data = mlContext.Data.
LoadFromTextFile
<IrisData>(dataPath, separatorChar: ',');
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\RegressionTest.cs (1)
20
context.Data.
LoadFromTextFile
<FeatureContributionTests.TaxiTrip>(taxiDataPath, hasHeader: true,
TextLoaderTests.cs (2)
584
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => mlContext.Data.
LoadFromTextFile
<ModelWithoutColumnAttribute>("fakefile.txt"));
601
var data2 = mlContext.Data.
LoadFromTextFile
<Input>(combinedPath);
Microsoft.ML.TimeSeries.Tests (6)
TimeSeriesDirectApi.cs (6)
597
dataView = ml.Data.
LoadFromTextFile
<TimeSeriesDataDouble>(dataPath, hasHeader: true);
685
dataView = ml.Data.
LoadFromTextFile
<TimeSeriesDataDouble>(dataPath, hasHeader: true);
732
dataView = ml.Data.
LoadFromTextFile
<TimeSeriesDataDouble>(dataPath, hasHeader: true);
787
dataView = ml.Data.
LoadFromTextFile
<TimeSeriesDataDouble>(dataPath, hasHeader: true);
846
dataView = ml.Data.
LoadFromTextFile
<TimeSeriesDataDouble>(dataPath, hasHeader: true);
904
dataView = ml.Data.
LoadFromTextFile
<TimeSeriesDataDouble>(dataPath, hasHeader: true);