> ## 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.

# ClassificationTrainer Object (IClassificationTrainer Interface)

This is the trainer object for a [**ClassificationTrainingBatch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch.md) object. It provides access to the classifier training settings and allows you to train the classifier on the pages of this batch.

The **ClassificationTrainer** object is a so-called "[connectable object](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/connectableobjects.md)." The methods of the **ClassificationTrainer** object report information about page processing progress through special outgoing interfaces. These interfaces are **IProcessingEvents** (for C++) and the dispinterface **DIProcessingEvents** (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **ClassificationTrainingParams** | [**ClassificationTrainingParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingparams.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Gets classification training parameters. |

## Methods

| **Name** | **Description** |
| - | - |
| [**CheckIn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer-checkin.md) | Returns the classifier from editing mode and saves the changes. |
| [**CheckOut**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer-checkout.md) | Switches the classifier to editing mode. |
| [**Train**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer-train.md) | Trains the classifier on the input data set. |
| [**UndoCheckout**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer-undocheckout.md) | Returns the classifier from editing mode and discards the changes. |

## Related objects

![](https://mintcdn.com/abbyy/89WLEbAVqQ-ysQEU/images/flexi-capture/sdk/ClassificationTrainer.gif?s=ff279489df03f10335fbe5975482fd7e)

## Samples

This object is used in the following code samples: [Classification](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md#classification).

## See also

[**ClassificationTrainingBatch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch.md)
