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
Samples
This object is used in the Classification demo tool.
See also
9/17/2024 3:14:40 PM