Share via


TrainerEstimatorBase<TTransformer,TModel>.Fit(IDataView) Method

Definition

Trains and returns a ITransformer.

public TTransformer Fit (Microsoft.ML.IDataView input);
abstract member Fit : Microsoft.ML.IDataView -> 'ransformer
override this.Fit : Microsoft.ML.IDataView -> 'ransformer
Public Function Fit (input As IDataView) As TTransformer

Parameters

input
IDataView

Returns

TTransformer

Implements

Remarks

Derived class can overload this function. For example, it could take an additional dataset to train with a separate validation set.

Applies to