Share via


IDataLoaderEstimator<TSource,TLoader> Interface

Definition

Sometimes we need to 'fit' an IDataLoader<TSource>. A DataLoader estimator is the object that does it.

public interface IDataLoaderEstimator<in TSource,out TLoader> where TLoader : IDataLoader<in TSource>
type IDataLoaderEstimator<'Source, 'Loader (requires 'Loader :> IDataLoader<'Source>)> = interface
Public Interface IDataLoaderEstimator(Of In TSource, Out TLoader)

Type Parameters

TSource
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.
TLoader
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived

Methods

Fit(TSource)

Train and return a data loader.

GetOutputSchema()

The 'promise' of the output schema. It will be used for schema propagation.

Applies to