119 references to Load
Microsoft.ML.AutoML (1)
ColumnInference\ColumnInferenceApi.cs (1)
63var dataView = textLoader.Load(path);
Microsoft.ML.AutoML.Tests (19)
AutoFeaturizerTests.cs (1)
110var trainData = textLoader.Load(datasetPath);
AutoFitTests.cs (11)
48var trainData = textLoader.Load(dataPath); 74var trainData = textLoader.Load(dataPath); 101var trainData = textLoader.Load(dataPath); 128var trainData = textLoader.Load(dataPath); 262var trainData = textLoader.Load(DatasetUtil.TrivialMulticlassDatasetPath); 336var trainData = context.Data.ShuffleRows(textLoader.Load(datasetPath), seed: 1); 363var trainData = context.Data.ShuffleRows(textLoader.Load(datasetPath), seed: 1); 393var trainData = textLoader.Load(datasetPath); 481var trainDataView = reader.Load(DatasetUtil.GetMLSRDataset()); 588var dataFull = textLoader.Load(dataPath); 652var trainData = textLoader.Load(dataPath);
DatasetUtil.cs (6)
60_uciAdultDataView = textLoader.Load(uciAdultDataFile); 73_irisDataView = textLoader.Load(dataFile); 86_taxiFareTrainDataView = textLoader.Load(taxiFareFile); 99_newspaperChurnDataView = textLoader.Load(file); 111return textLoader.Load(file); 122_taxiFareTestDataView = textLoader.Load(taxiFareFile);
TrainValidaionDatasetManagerTest.cs (1)
32var trainData = textLoader.Load(dataPath);
Microsoft.ML.CodeGenerator (1)
Utils.cs (1)
43var trainData = textLoader.Load(inputFile);
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1372}).Load(dataPath);
Microsoft.ML.IntegrationTests (4)
DataIO.cs (1)
76var dataAfter = TypeTestData.GetTextLoader(mlContext, separator).Load(filePath);
Evaluation.cs (2)
32.Load(TestCommon.GetDataPath(DataDir, TestDatasets.mnistOneClass.trainFilename)); 35.Load(TestCommon.GetDataPath(DataDir, TestDatasets.mnistOneClass.testFilename));
Validation.cs (1)
85var trainDataView = reader.Load(TestCommon.GetDataPath(DataDir, "MSLRWeb1K-tiny.tsv"));
Microsoft.ML.PerformanceTests (8)
FeaturizeTextBench.cs (1)
47_dataset = textLoader.Load(path);
PredictionEngineBench.cs (3)
55IDataView data = loader.Load(irisDataPath); 91IDataView data = loader.Load(sentimentDataPath); 126IDataView data = loader.Load(breastCancerDataPath);
RffTransform.cs (1)
43var data = loader.Load(_dataPathDigits);
StochasticDualCoordinateAscentClassifierBench.cs (2)
76IDataView data = loader.Load(dataPath); 145IDataView testData = loader.Load(_dataPath);
TextLoaderBench.cs (1)
52_dataView = textLoader.Load(path);
Microsoft.ML.Predictor.Tests (2)
TestIniModels.cs (2)
528}).Load(GetDataPath(TestDatasets.breastCancer.trainFilename)); 567}).Load(GetDataPath(TestDatasets.breastCancer.trainFilename));
Microsoft.ML.Samples (12)
Dynamic\DataOperations\LoadingText.cs (7)
52var singleFileData = loader.Load(dataFiles[0]); 60var multipleFilesData = loader.Load(dataFiles.ToArray()); 69loader.Load(Path.Combine(dataDirectoryName, "Data_*.csv")); 81var singleFileCustomTypeData = loaderWithCustomType.Load(dataFiles[0]); 101var dataWithInferredLength = loaderWithUnknownLength.Load(dataFiles[0]); 147var sparseData = sparseLoader.Load(sparseDataFileName); 177var sparseDataWithSchema = sparseLoaderWithSchema.Load(sparseDataFileName);
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (1)
41}).Load(imagesDataFile);
Dynamic\Transforms\ImageAnalytics\DnnFeaturizeImage.cs (1)
40}).Load(imagesDataFile);
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (1)
43}).Load(imagesDataFile);
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (1)
40}).Load(imagesDataFile);
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (1)
40}).Load(imagesDataFile);
Microsoft.ML.Samples.OneDal (2)
Program.cs (2)
44dataList.Add(loader.Load(trainingFile)); 45dataList.Add(loader.Load(testingFile));
Microsoft.ML.SamplesUtils (2)
SamplesDatasetUtils.cs (2)
70var data = loader.Load(dataFile); 149return loader.Load(dataFile);
Microsoft.ML.TensorFlow.Tests (8)
TensorflowTests.cs (8)
665var trainData = reader.Load(GetDataPath(TestDatasets.mnistTiny28.trainFilename)); 666var testData = reader.Load(GetDataPath(TestDatasets.mnistOneClass.testFilename)); 706var trainData = reader.Load(GetDataPath(TestDatasets.mnistTiny28.trainFilename)); 707var testData = reader.Load(GetDataPath(TestDatasets.mnistOneClass.testFilename)); 796var trainData = reader.Load(GetDataPath(TestDatasets.mnistTiny28.trainFilename)); 797var testData = reader.Load(GetDataPath(TestDatasets.mnistOneClass.testFilename)); 889var trainData = reader.Load(GetDataPath(TestDatasets.mnistTiny28.trainFilename)); 890var testData = reader.Load(GetDataPath(TestDatasets.mnistOneClass.testFilename));
Microsoft.ML.Tests (59)
AnomalyDetectionTests.cs (2)
246var trainData = loader.Load(trainPath); 247var testData = loader.Load(testPath);
OnnxConversionTest.cs (1)
1775var originalData = loader.Load(dataPath);
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
513var data = loader.Load(dataPath); 587var data = loader.Load(dataPath);
Scenarios\Api\Estimators\Extensibility.cs (1)
31.Load(dataPath);
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
110var data2 = dataReader.Load(dataPath2);
Scenarios\IrisPlantClassificationTests.cs (2)
42var trainData = reader.Load(dataPath); 43var testData = reader.Load(testDataPath);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (2)
32var trainData = reader.Load(dataPath); 33var testData = reader.Load(testDataPath);
Scenarios\OvaTest.cs (4)
31var textData = reader.Load(GetDataPath(dataPath)); 65var textData = reader.Load(GetDataPath(dataPath)); 101var textData = reader.Load(GetDataPath(dataPath)); 135var textData = reader.Load(GetDataPath(dataPath));
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (2)
40var trainData = reader.Load(dataPath); 41var testData = reader.Load(testDataPath);
SvmLightTests.cs (2)
156var data = model.Load(path); 185data = model.Load(path);
TermEstimatorTests.cs (1)
80var data = loader.Load(dataPath);
TextLoaderTests.cs (15)
746dataIris = mlContext.Data.CreateTextLoader<Iris>(new TextLoader.Options() { Separator = ",", AllowQuoting = false }).Load(dataPath); 748dataIris = mlContext.Data.CreateTextLoader<Iris>(separatorChar: ',').Load(dataPath); 767dataIrisStartEnd = mlContext.Data.CreateTextLoader<IrisStartEnd>(new TextLoader.Options() { Separator = ",", AllowQuoting = false }).Load(dataPath); 769dataIrisStartEnd = mlContext.Data.CreateTextLoader<IrisStartEnd>(separatorChar: ',').Load(dataPath); 789dataIrisColumnIndices = mlContext.Data.CreateTextLoader<IrisColumnIndices>(new TextLoader.Options() { Separator = ",", AllowQuoting = false }).Load(dataPath); 791dataIrisColumnIndices = mlContext.Data.CreateTextLoader<IrisColumnIndices>(separatorChar: ',').Load(dataPath); 903var textDataDecimalMarkerPeriod = readerDecimalMarkerPeriod.Load(GetDataPath(dataPathDecimalMarkerPeriod)); 953var textDataDecimalMarkerComma = readerDecimalMarkerComma.Load(GetDataPath(dataPathDecimalMarkerComma)); 1008var textData = reader.Load(GetDataPath(dataPath)); 1186var dataIris = mlContext.Data.CreateTextLoader<IrisPublicGetProperties>(separatorChar: ',').Load(dataPath); 1191dataIris = mlContext.Data.CreateTextLoader<IrisPublicFields>(separatorChar: ',').Load(dataPath); 1198dataIris = mlContext.Data.CreateTextLoader<IrisNoFields>(separatorChar: ',').Load(dataPath); 1209dataIris = mlContext.Data.CreateTextLoader<IrisPrivateFields>(separatorChar: ',').Load(dataPath); 1244var data = mlContext.Data.CreateTextLoader<BreastCancerInputModelWithKeyType>(separatorChar: ',').Load(breastCancerPath); 1256var data = mlContext.Data.CreateTextLoader<BreastCancerInputModelWithoutKeyType>(separatorChar: ',').Load(breastCancerPath);
TrainerEstimators\FAFMEstimator.cs (1)
69.Load(GetDataPath(TestDatasets.breastCancer.trainFilename));
TrainerEstimators\MetalinearEstimators.cs (1)
85var data = loader.Load(GetDataPath(TestDatasets.irisData.trainFilename));
TrainerEstimators\OneDalEstimators.cs (2)
54var trainingData = loader.Load(trainDataPath); 55var testingData = loader.Load(testDataPath);
TrainerEstimators\PriorRandomTests.cs (1)
27}).Load(GetDataPath(TestDatasets.breastCancer.trainFilename));
TrainerEstimators\TrainerEstimators.cs (6)
40var data = reader.Load(GetDataPath(TestDatasets.mnistOneClass.trainFilename)); 70var 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)); 286}).Load(GetDataPath(IrisDataPath));
Transformers\ExpressionTransformerTests.cs (3)
47TestEstimatorCore(expr, loader.Load(dataPath)); 49var transformed = expr.Fit(loader.Load(dataPath)).Transform(loader.Load(dataPath));
Transformers\KeyToValueTests.cs (1)
37var data = reader.Load(dataPath);
Transformers\NormalizerTests.cs (7)
76var data = loader.Load(dataPath); 137var data = loader.Load(dataPath); 254var data = loader.Load(dataPath); 479var data = loader.Load(dataPath); 583var data = loader.Load(dataPath); 641var data = loader.Load(dataPath); 1003var data = loader.Load(dataPath);
Transformers\WordEmbeddingsTests.cs (2)
39}).Load(GetDataPath(dataPath)); 74}).Load(GetDataPath(dataPath));