Implemented interface member:
method
Load
Microsoft.ML.IDataLoader<TSource>.Load(TSource)
50 references to Load
Microsoft.ML.AutoML (2)
ColumnInference\ColumnTypeInference.cs (1)
269
var idv = textLoader.
Load
(fileSource);
ColumnInference\TextFileContents.cs (1)
94
var idv = context.Data.TakeRows(textLoader.
Load
(source), 1000);
Microsoft.ML.AutoML.Tests (3)
AutoFitTests.cs (3)
419
var trainDataView = reader.
Load
(new MultiFileSource(DatasetUtil.GetMLSRDataset()));
524
var trainDataView = reader.
Load
(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.trainFilename)));
525
var 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>
182
return loader.
Load
(new MultiFileSource(path));
207
return new TextLoader(env, options, dataSample: source).
Load
(source);
218
/// <see cref="TextLoader.
Load
(IMultiStreamSource)"/> is called.</param>
246
allowQuoting, allowSparse, trimWhitespace).
Load
(new MultiFileSource(path));
264
.
Load
(new MultiFileSource(path));
Transforms\ValueToKeyMappingTransformer.cs (1)
447
keyData = loader.
Load
(fileSource);
Utilities\ModelFileUtils.cs (1)
299
var loader = new TextLoader(env, dataSample: repoStreamWrapper).
Load
(repoStreamWrapper);
Microsoft.ML.IntegrationTests (8)
ModelFiles.cs (5)
136
var data = loader.
Load
(file);
269
var data = loader.
Load
(file);
326
var data = loader.
Load
(file);
427
var data = loader.
Load
(file);
460
var model = estimator.Fit(loader.
Load
(file));
SchemaDefinitionTests.cs (3)
35
var data = loader.
Load
(new MultiFileSource(fileName));
70
var model = pipeline.Fit(loader.
Load
(data));
89
model = model.Append(custom.Fit(model.Transform(loader.
Load
(data))) as ITransformer);
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
552
var data = reader.
Load
(new MultiFileSource(dataFile));
1348
var dataview = _mlContext.Data.CreateTextLoader<TextInput>().
Load
(new MultiFileSource(null));
1377
var dataview = _mlContext.Data.CreateTextLoader<PrimitiveInput>().
Load
(new MultiFileSource(null));
Microsoft.ML.Tests (15)
SvmLightTests.cs (4)
511
ML.Data.SaveInSvmLightFormat(loader.
Load
(new MultiFileSource(null)), stream);
519
ML.Data.SaveInSvmLightFormat(loader.
Load
(new MultiFileSource(null)), stream, labelColumnName: "Column");
527
ML.Data.SaveInSvmLightFormat(loader.
Load
(new MultiFileSource(null)), stream, labelColumnName: "Column", featureColumnName: "Column", rowGroupColumnName: "Group");
535
ML.Data.SaveInSvmLightFormat(loader.
Load
(new MultiFileSource(null)), stream, labelColumnName: "Column", featureColumnName: "Column", exampleWeightColumnName: "Weight");
TextLoaderTests.cs (1)
612
var 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)));
71
var data = reader.
Load
(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.trainFilename)));
107
var testData = reader.
Load
(new MultiFileSource(GetDataPath(TestDatasets.trivialMatrixFactorization.testFilename)));
Transformers\ConcatTests.cs (2)
57
var data = loader.
Load
(source);
114
var data = loader.
Load
(source);
Transformers\CustomMappingTests.cs (4)
61
var data = loader.
Load
(source);
98
var data = loader.
Load
(source);
175
var data = loader.
Load
(source);
199
var data = loader.
Load
(source);
Microsoft.ML.Transforms (1)
Text\StopWordsRemovingTransformer.cs (1)
822
dataLoader = textLoader.
Load
(fileSource) as ILegacyDataLoader;