Chinese Simplified (简体中文)

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.

Properties

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

Methods

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

Samples

This object is used in the Classification code sample.

See also

Document Classification

03.07.2024 8:50:10

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.