TextLoader TextLoader TextLoader Class

Definition

Loads a text file into an IDataView. Supports basic mapping from input columns to IDataView columns.

public sealed class TextLoader : Microsoft.ML.IDataLoader<Microsoft.ML.Data.IMultiStreamSource>
type TextLoader = class
    interface IDataLoader<IMultiStreamSource>
    interface ICanSaveModel
Public NotInheritable Class TextLoader
Implements IDataLoader(Of IMultiStreamSource)
Inheritance
TextLoaderTextLoaderTextLoader
Implements

Methods

GetOutputSchema() GetOutputSchema() GetOutputSchema()

The output DataViewSchema that will be produced by the loader.

Load(IMultiStreamSource) Load(IMultiStreamSource) Load(IMultiStreamSource)

Loads data from source into an IDataView.

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext)

Extension Methods

Preview<TSource>(IDataLoader<TSource>, TSource, Int32) Preview<TSource>(IDataLoader<TSource>, TSource, Int32) Preview<TSource>(IDataLoader<TSource>, TSource, Int32)

Preview an effect of the loader on a given source.

Append<TSource,TTrans>(IDataLoader<TSource>, TTrans) Append<TSource,TTrans>(IDataLoader<TSource>, TTrans) Append<TSource,TTrans>(IDataLoader<TSource>, TTrans)

Create a new composite loader, by appending a transformer to this data loader.

Append<TSource,TTrans>(IDataLoader<TSource>, IEstimator<TTrans>) Append<TSource,TTrans>(IDataLoader<TSource>, IEstimator<TTrans>) Append<TSource,TTrans>(IDataLoader<TSource>, IEstimator<TTrans>)

Create a new composite loader estimator, by appending an estimator to this data loader.

Applies to