4 implementations of IDataLoader
Microsoft.ML.Data (3)
DataLoadSave\CompositeDataLoader.cs (1)
19public sealed class CompositeDataLoader<TSource, TLastTransformer> : IDataLoader<TSource>, IDisposable
DataLoadSave\Database\DatabaseLoader.cs (1)
21public sealed partial class DatabaseLoader : IDataLoader<DatabaseSource>
DataLoadSave\Text\TextLoader.cs (1)
30public sealed partial class TextLoader : IDataLoader<IMultiStreamSource>
Microsoft.ML.Transforms (1)
SvmLight\SvmLightLoader.cs (1)
77public 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}"/>. 246where TLoader : IDataLoader<TSource>
Microsoft.ML.Data (25)
DataLoadSave\CompositeDataLoader.cs (4)
29public readonly IDataLoader<TSource> Loader; 35public CompositeDataLoader(IDataLoader<TSource> loader, TransformerChain<TLastTransformer> transformerChain = null) 46if (!ctx.LoadModelOrNull<IDataLoader<TSource>, SignatureLoadModel>(host, out Loader, LegacyLoaderDirectory)) 47ctx.LoadModel<IDataLoader<TSource>, SignatureLoadModel>(host, out Loader, LoaderDirectory);
DataLoadSave\CompositeLoaderEstimator.cs (3)
15private readonly IDataLoaderEstimator<TSource, IDataLoader<TSource>> _start; 18public CompositeLoaderEstimator(IDataLoaderEstimator<TSource, IDataLoader<TSource>> start, EstimatorChain<TLastTransformer> estimatorChain = null) 33var start = _start.Fit(input);
DataLoadSave\DataLoaderExtensions.cs (1)
27public static IDataView Load(this IDataLoader<IMultiStreamSource> loader, params string[] path)
DataLoadSave\EstimatorExtensions.cs (4)
21this IDataLoaderEstimator<TSource, IDataLoader<TSource>> start, IEstimator<TTrans> estimator) 34this IDataLoader<TSource> start, IEstimator<TTrans> estimator) 40return new TrivialLoaderEstimator<TSource, IDataLoader<TSource>>(start).Append(estimator); 77public 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. 11where TLoader : IDataLoader<TSource>
DebuggerExtensions.cs (1)
60public 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})"/> 39public 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})"/> 65public void Save<TSource>(ITransformer model, IDataLoader<TSource> loader, string filePath) 168ModelLoadContext.LoadModelOrNull<IDataLoader<IMultiStreamSource>, SignatureLoadModel>(_env, out var dataLoader, rep, null); 224private ITransformer DecomposeLoader(ref IDataLoader<IMultiStreamSource> loader) 258public ITransformer LoadWithDataLoader(Stream stream, out IDataLoader<IMultiStreamSource> loader) 266ModelLoadContext.LoadModel<IDataLoader<IMultiStreamSource>, SignatureLoadModel>(_env, out loader, rep, null); 271throw _env.Except(ex, "Model does not contain an " + nameof(IDataLoader<IMultiStreamSource>) + 286public ITransformer LoadWithDataLoader(string filePath, out IDataLoader<IMultiStreamSource> loader)
Microsoft.ML.IntegrationTests (8)
ModelFiles.cs (8)
163IDataLoader<IMultiStreamSource> loadedCompositeLoader; 190loadedTransformerModel1 = mlContext.Model.LoadWithDataLoader(fs, out var l); 281IDataLoader<IMultiStreamSource> loadedLoader; 364out var loadedWithLoader, out var loadedLoaderWithTransformer); 395out var loadedWithLoader, out var loadedLoaderWithTransformer); 442out var loadedWithLoader, out var loadedLoaderWithTransformer); 466out var loadedWithLoader, out var loadedLoaderWithTransformer); 477out ITransformer loadedWithLoader, out IDataLoader<IMultiStreamSource> loadedLoaderWithTransformer)
Microsoft.ML.PerformanceTests (2)
Helpers\EnvironmentFactory.cs (2)
15where TLoader : IDataLoader<IMultiStreamSource> 31where TLoader : IDataLoader<IMultiStreamSource>