Share via


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
TextLoader
Implements

Methods

GetOutputSchema()

The output DataViewSchema that will be produced by the loader.

Load(IMultiStreamSource)

Loads data from source into an IDataView.

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext)

Extension Methods

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

Preview an effect of the loader on a given source.

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>)

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

Applies to