4 implementations of IDataLoader
Microsoft.ML.Data (3)
DataLoadSave\CompositeDataLoader.cs (1)
19
public sealed class CompositeDataLoader<TSource, TLastTransformer> :
IDataLoader
<TSource>, IDisposable
DataLoadSave\Database\DatabaseLoader.cs (1)
21
public sealed partial class DatabaseLoader :
IDataLoader
<DatabaseSource>
DataLoadSave\Text\TextLoader.cs (1)
30
public sealed partial class TextLoader :
IDataLoader
<IMultiStreamSource>
Microsoft.ML.Transforms (1)
SvmLight\SvmLightLoader.cs (1)
77
public sealed class SvmLightLoader :
IDataLoader
<IMultiStreamSource>
37 references to IDataLoader
Microsoft.ML.Core (2)
Data\IEstimator.cs (2)
242
/// Sometimes we need to 'fit' an <see cref="
IDataLoader
{TIn}"/>.
246
where TLoader :
IDataLoader
<TSource>
Microsoft.ML.Data (25)
DataLoadSave\CompositeDataLoader.cs (4)
29
public readonly
IDataLoader
<TSource> Loader;
35
public CompositeDataLoader(
IDataLoader
<TSource> loader, TransformerChain<TLastTransformer> transformerChain = null)
46
if (!ctx.LoadModelOrNull<
IDataLoader
<TSource>, SignatureLoadModel>(host, out Loader, LegacyLoaderDirectory))
47
ctx.LoadModel<
IDataLoader
<TSource>, SignatureLoadModel>(host, out Loader, LoaderDirectory);
DataLoadSave\CompositeLoaderEstimator.cs (3)
15
private readonly IDataLoaderEstimator<TSource,
IDataLoader
<TSource>> _start;
18
public CompositeLoaderEstimator(IDataLoaderEstimator<TSource,
IDataLoader
<TSource>> start, EstimatorChain<TLastTransformer> estimatorChain = null)
33
var
start = _start.Fit(input);
DataLoadSave\DataLoaderExtensions.cs (1)
27
public static IDataView Load(this
IDataLoader
<IMultiStreamSource> loader, params string[] path)
DataLoadSave\EstimatorExtensions.cs (4)
21
this IDataLoaderEstimator<TSource,
IDataLoader
<TSource>> start, IEstimator<TTrans> estimator)
34
this
IDataLoader
<TSource> start, IEstimator<TTrans> estimator)
40
return new TrivialLoaderEstimator<TSource,
IDataLoader
<TSource>>(start).Append(estimator);
77
public static CompositeDataLoader<TSource, TTrans> Append<TSource, TTrans>(this
IDataLoader
<TSource> loader, TTrans transformer)
DataLoadSave\TrivialLoaderEstimator.cs (2)
8
/// The trivial wrapper for a <see cref="
IDataLoader
{TSource}"/> that acts as an estimator and ignores the source.
11
where TLoader :
IDataLoader
<TSource>
DebuggerExtensions.cs (1)
60
public static DataDebuggerPreview Preview<TSource>(this
IDataLoader
<TSource> loader, TSource source, int maxRows = DataDebuggerPreview.Defaults.MaxRows)
Model\ModelOperationsCatalog.cs (10)
35
/// for an empty transformer chain. Upon loading with <see cref="LoadWithDataLoader(Stream, out
IDataLoader
{IMultiStreamSource})"/>
39
public void Save<TSource>(ITransformer model,
IDataLoader
<TSource> loader, Stream stream)
61
/// for an empty transformer chain. Upon loading with <see cref="LoadWithDataLoader(Stream, out
IDataLoader
{IMultiStreamSource})"/>
65
public void Save<TSource>(ITransformer model,
IDataLoader
<TSource> loader, string filePath)
168
ModelLoadContext.LoadModelOrNull<
IDataLoader
<IMultiStreamSource>, SignatureLoadModel>(_env, out var dataLoader, rep, null);
224
private ITransformer DecomposeLoader(ref
IDataLoader
<IMultiStreamSource> loader)
258
public ITransformer LoadWithDataLoader(Stream stream, out
IDataLoader
<IMultiStreamSource> loader)
266
ModelLoadContext.LoadModel<
IDataLoader
<IMultiStreamSource>, SignatureLoadModel>(_env, out loader, rep, null);
271
throw _env.Except(ex, "Model does not contain an " + nameof(
IDataLoader
<IMultiStreamSource>) +
286
public ITransformer LoadWithDataLoader(string filePath, out
IDataLoader
<IMultiStreamSource> loader)
Microsoft.ML.IntegrationTests (8)
ModelFiles.cs (8)
163
IDataLoader
<IMultiStreamSource> loadedCompositeLoader;
190
loadedTransformerModel1 = mlContext.Model.LoadWithDataLoader(fs, out
var
l);
281
IDataLoader
<IMultiStreamSource> loadedLoader;
364
out var loadedWithLoader, out
var
loadedLoaderWithTransformer);
395
out var loadedWithLoader, out
var
loadedLoaderWithTransformer);
442
out var loadedWithLoader, out
var
loadedLoaderWithTransformer);
466
out var loadedWithLoader, out
var
loadedLoaderWithTransformer);
477
out ITransformer loadedWithLoader, out
IDataLoader
<IMultiStreamSource> loadedLoaderWithTransformer)
Microsoft.ML.PerformanceTests (2)
Helpers\EnvironmentFactory.cs (2)
15
where TLoader :
IDataLoader
<IMultiStreamSource>
31
where TLoader :
IDataLoader
<IMultiStreamSource>