ImageClassificationTrainer.Fit(IDataView, IDataView) 方法

定义

ImageClassificationTrainer使用训练和验证数据训练返回 aImageClassificationModelParameters.

public Microsoft.ML.Data.MulticlassPredictionTransformer<Microsoft.ML.Vision.ImageClassificationModelParameters> Fit (Microsoft.ML.IDataView trainData, Microsoft.ML.IDataView validationData);
override this.Fit : Microsoft.ML.IDataView * Microsoft.ML.IDataView -> Microsoft.ML.Data.MulticlassPredictionTransformer<Microsoft.ML.Vision.ImageClassificationModelParameters>
Public Function Fit (trainData As IDataView, validationData As IDataView) As MulticlassPredictionTransformer(Of ImageClassificationModelParameters)

参数

trainData
IDataView

训练数据集。

validationData
IDataView

验证数据集。

返回

适用于