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

Object Diagram

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

Document Classification

7/3/2024 8:50:25 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.