TrainingData Object (ITrainingData Interface)

This object is a categorized set of data which can be used to train the classifier. Use the methods of its Categories subobject to add and manage classification objects corresponding to different category labels. At least two of the categories need to contain some classification objects for the training method to return without errors.


Name Type Description
Categories Categories, read-only The categories of the data.


Name Description
LoadFromFile Restores the object contents from a file on disk.
SaveToFile Saves the object contents into a file on disk.

Input parameter

This object is passed as an input parameter to the TrainModel method of the Trainer object.

Output parameter

This object is the output parameter of the CreateTrainingData method of the ClassificationEngine object.

Related objects

Object Diagram


This object is used in the Classification demo tool.

See also

Document Classification

24.03.2023 8:51:52

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.