ClassificationTrainingBatch Object (IClassificationTrainingBatch Interface)

This object represents a batch for training the classifier. It contains the ClassificationTrainingDocument and ClassificationTrainingPage objects obtained from the documents and pages of the corresponding batch.

Properties

Name Type Description
AsBatch Batch, read-only Gets the initial batch.
Classes PageClasses, read-only Returns the collection of classes, that is, categories into which the pages will be classified when you train the classifier with this batch.
ClassificationTrainer ClassificationTrainer, read-only Returns the classification trainer.
ClassificationTrainingDocuments ClassificationTrainingDocuments, read-only Returns the training documents collection.
FullTextRecognitionParams FullTextRecognitionParams, read-only Provides access to the full text recognition parameters.
Id Integer, read-only Returns the batch identifier.
Name String, read-only

Stores the name of the batch.

You can change the batch name using the Rename method.

Methods

Name Description
LoadClassifier Loads a classifier from a *.cfl file.
RemoveClassifier Removes the classifier from the training batch.
Rename Changes the batch name and returns the new name.

Related objects

Output parameter

This object is the output parameter of the AddNew, FindById, FindByName and Item methods of the ClassificationTrainingBatches object.

Samples

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

See also

ClassificationTrainingBatches

Working with Properties

15.08.2023 13:19:30

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.