Trainer Object (ITrainer Interface)
This object is used for training the classifier on the basis of a categorized data set.
Properties
Name | Type | Description |
---|---|---|
TrainingParams | TrainingParams, read-only |
The parameters of training. This property lets you choose the classifier type and the training priorities: whether to aim for high precision, high recall, or balance both scores. |
ValidationParams | ValidationParams, read-only |
The parameters of model validation. This property lets you specify if k-fold cross-validation should be performed and what settings should be used. |
Methods
Name | Description |
---|---|
TrainModel | Trains the classifier on the input data set. |
Related objects
Output parameter
This object is the output parameter of the CreateTrainer method of the ClassificationEngine object.
Samples
This object is used in the Classification code sample.
See also
7/3/2024 8:50:10 AM