> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TrainingResults Object (ITrainingResults Interface)

This object represents a collection of [TrainingResult](/fine-reader/engine/api-reference/classification-related-objects/trainingresult) objects. It is returned by the classification model training methods. Currently, you can only train one classifier type at a time; therefore, the collection will contain only one element.

* The indexing of ABBYY FineReader Engine collections starts with 0.
* The foreach statement in C# (for each in Visual Basic .NET) can be used to manipulate the collection.

## Properties

| Name                                                                                                                  | Type                                                                                                                                                                                                                                | Description                                            |
| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| Count                                                                                                                 | [int](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties), read-only                                                                                                                   | Stores the number of elements in the collection.       |
| [Element](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/element-property) | [TrainingResult](/fine-reader/engine/api-reference/classification-related-objects/trainingresult), [read-only](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties) | Provides access to a single element of the collection. |

## Methods

| Name                                                                                                          | Description                                            |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [Item](/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/item-method) | Provides access to a single element of the collection. |

## Related objects

<img src="https://mintcdn.com/abbyy/B_SRGbkkbQ9YH40E/images/fine-reader/engine/trainingresults.gif?s=cc65fd36a449be0938913fd6b48369ec" alt="TrainingResults" width="204" height="193" data-path="images/fine-reader/engine/trainingresults.gif" />[](/fine-reader/engine/api-reference/classification-related-objects/confusionmatrix)[](/fine-reader/engine/api-reference/supplementary-objects-and-methods/stringscollection)[](/fine-reader/engine/api-reference/supplementary-objects-and-methods/stringscollection)[](/fine-reader/engine/api-reference/classification-related-objects/validationresult)[](/fine-reader/engine/api-reference/classification-related-objects/model)[](/fine-reader/engine/api-reference/classification-related-objects/trainingresult#validationresult)[](/fine-reader/engine/api-reference/classification-related-objects/trainingresult#model)[](/fine-reader/engine/api-reference/classification-related-objects/trainingresult)

[Object Diagram](/fine-reader/engine/api-reference/object-diagram)

## Output parameter

This object is the output parameter of the [TrainModel](/fine-reader/engine/api-reference/classification-related-objects/trainer/trainmodel-method) method of the [Trainer](/fine-reader/engine/api-reference/classification-related-objects/trainer) object.

## Samples

This object is used in the [Classification](/fine-reader/engine/guided-tour/samples#classification) demo tool in Windows and the [Classification](/fine-reader/engine/guided-tour/samples#classification_unix) code sample in Linux and macOS.

## See also

[Working with Collections](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-collections)
