Megosztás a következőn keresztül:


IDataLoader<TSource> Interface

Definition

The 'data loader' takes a certain kind of input and turns it into an IDataView.

public interface IDataLoader<in TSource> : Microsoft.ML.ICanSaveModel
type IDataLoader<'Source> = interface
    interface ICanSaveModel
Public Interface IDataLoader(Of In TSource)
Implements ICanSaveModel

Type Parameters

TSource

The type of input the loader takes.

This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Methods

GetOutputSchema()

The output schema of the loader.

Load(TSource)

Produce the data view from the specified input. Note that IDataView's are lazy, so no actual loading happens here, just schema validation.

Save(ModelSaveContext) (Inherited from ICanSaveModel)

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