ClassificationTrainer Object (IClassificationTrainer Interface)

This is the trainer object for a ClassificationTrainingBatch object. It provides access to the classifier training settings and allows you to train the classifier on the pages of this batch.

The ClassificationTrainer object is a so-called "connectable object." The methods of the ClassificationTrainer object report information about page processing progress through special outgoing interfaces. These interfaces are IProcessingEvents (for C++) and the dispinterface DIProcessingEvents (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.

Properties

Name Type Description
ClassificationTrainingParams ClassificationTrainingParams, read-only Gets classification training parameters.

Methods

Name Description
CheckIn Returns the classifier from editing mode and saves the changes.
CheckOut Switches the classifier to editing mode.
Train Trains the classifier on the input data set.
UndoCheckout Returns the classifier from editing mode and discards the changes.

Related objects

Samples

This object is used in the following code samples: Classification.

See also

ClassificationTrainingBatch

8/15/2023 1:19:30 PM

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.