TrainerEstimatorBase<TTransformer,TModel>.Fit(IDataView) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Trains and returns a ITransformer.
C#
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
- input
- IDataView
TTransformer
Derived class can overload this function. For example, it could take an additional dataset to train with a separate validation set.
Продукт | Версии |
---|---|
ML.NET | 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview |