Implemented interface member:
method
Load
Microsoft.ML.IDataLoader<TSource>.Load(TSource)
50 references to Load
Microsoft.ML.AutoML (2)
ColumnInference\ColumnTypeInference.cs (1)
269var idv = textLoader.Load(fileSource);
ColumnInference\TextFileContents.cs (1)
94var idv = context.Data.TakeRows(textLoader.Load(source), 1000);
Microsoft.ML.AutoML.Tests (3)
AutoFitTests.cs (3)
419var trainDataView = reader.Load(new MultiFileSource(DatasetUtil.GetMLSRDataset())); 524var trainDataView = reader.Load(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.trainFilename))); 525var testDataView = reader.Load(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.testFilename)));
Microsoft.ML.Data (18)
DataLoadSave\Text\TextLoader.cs (4)
497/// <see cref="TextLoader.Load(IMultiStreamSource)"/> is called. The sample can be used to infer slot name annotations if present. 1490=> (ILegacyDataLoader)Create(env, ctx).Load(files); 1492=> (ILegacyDataLoader)new TextLoader(env, options, files).Load(files); 1498=> new TextLoader(env, options, fileSource).Load(fileSource);
DataLoadSave\Text\TextLoaderSaverCatalog.cs (12)
26/// indicates that the first line in the <see paramref="dataSample"/> will be used for feature names, and that when <see cref="TextLoader.Load(IMultiStreamSource)"/> 28/// skip the first line when <see cref="TextLoader.Load(IMultiStreamSource)"/> is called, but columns will not have slot names annotations. This is 29/// because the output schema is made when the loader is created, and not when <see cref="TextLoader.Load(IMultiStreamSource)"/> is called.</param> 98/// indicates that the first line in the <see paramref="dataSample"/> will be used for feature names, and that when <see cref="TextLoader.Load(IMultiStreamSource)"/> 100/// skip the first line when <see cref="TextLoader.Load(IMultiStreamSource)"/> is called, but columns will not have slot names annotations. This is 101/// because the output schema is made when the loader is created, and not when <see cref="TextLoader.Load(IMultiStreamSource)"/> is called.</param> 145/// <see cref="TextLoader.Load(IMultiStreamSource)"/> is called.</param> 182return loader.Load(new MultiFileSource(path)); 207return new TextLoader(env, options, dataSample: source).Load(source); 218/// <see cref="TextLoader.Load(IMultiStreamSource)"/> is called.</param> 246allowQuoting, allowSparse, trimWhitespace).Load(new MultiFileSource(path)); 264.Load(new MultiFileSource(path));
Transforms\ValueToKeyMappingTransformer.cs (1)
447keyData = loader.Load(fileSource);
Utilities\ModelFileUtils.cs (1)
299var loader = new TextLoader(env, dataSample: repoStreamWrapper).Load(repoStreamWrapper);
Microsoft.ML.IntegrationTests (8)
ModelFiles.cs (5)
136var data = loader.Load(file); 269var data = loader.Load(file); 326var data = loader.Load(file); 427var data = loader.Load(file); 460var model = estimator.Fit(loader.Load(file));
SchemaDefinitionTests.cs (3)
35var data = loader.Load(new MultiFileSource(fileName)); 70var model = pipeline.Fit(loader.Load(data)); 89model = model.Append(custom.Fit(model.Transform(loader.Load(data))) as ITransformer);
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
552var data = reader.Load(new MultiFileSource(dataFile)); 1348var dataview = _mlContext.Data.CreateTextLoader<TextInput>().Load(new MultiFileSource(null)); 1377var dataview = _mlContext.Data.CreateTextLoader<PrimitiveInput>().Load(new MultiFileSource(null));
Microsoft.ML.Tests (15)
SvmLightTests.cs (4)
511ML.Data.SaveInSvmLightFormat(loader.Load(new MultiFileSource(null)), stream); 519ML.Data.SaveInSvmLightFormat(loader.Load(new MultiFileSource(null)), stream, labelColumnName: "Column"); 527ML.Data.SaveInSvmLightFormat(loader.Load(new MultiFileSource(null)), stream, labelColumnName: "Column", featureColumnName: "Column", rowGroupColumnName: "Group"); 535ML.Data.SaveInSvmLightFormat(loader.Load(new MultiFileSource(null)), stream, labelColumnName: "Column", featureColumnName: "Column", exampleWeightColumnName: "Weight");
TextLoaderTests.cs (1)
612var data = loader.Load(new MultiFileSource(fileName));
TrainerEstimators\MatrixFactorizationTests.cs (4)
33.Load(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.trainFilename))); 37.Load(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.testFilename))); 71var data = reader.Load(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.trainFilename))); 107var testData = reader.Load(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.testFilename)));
Transformers\ConcatTests.cs (2)
57var data = loader.Load(source); 114var data = loader.Load(source);
Transformers\CustomMappingTests.cs (4)
61var data = loader.Load(source); 98var data = loader.Load(source); 175var data = loader.Load(source); 199var data = loader.Load(source);
Microsoft.ML.Transforms (1)
Text\StopWordsRemovingTransformer.cs (1)
822dataLoader = textLoader.Load(fileSource) as ILegacyDataLoader;