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

# ClassificationTrainingBatch Object (IClassificationTrainingBatch Interface)

This object represents a batch for training the classifier. It contains the [**ClassificationTrainingDocument**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingdocument.md) and [**ClassificationTrainingPage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingpage.md) objects obtained from the documents and pages of the corresponding batch.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **AsBatch** | [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Gets the initial batch. |
| **Classes** | [**PageClasses**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/pageclasses.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Returns the collection of classes, that is, categories into which the pages will be classified when you train the classifier with this batch. |
| **ClassificationTrainer** | [**ClassificationTrainer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Returns the classification trainer. |
| **ClassificationTrainingDocuments** | [**ClassificationTrainingDocuments**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingdocuments.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Returns the training documents collection. |
| **FullTextRecognitionParams** | [**FullTextRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/fulltextrecognitionparams.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Provides access to the full text recognition parameters. |
| **Id** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Returns the batch identifier. |
| **Name** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the name of the batch. You can change the batch name using the [**Rename**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch-rename.md) method. |

## Methods

| **Name** | **Description** |
| - | - |
| [**LoadClassifier**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch-loadclassifier.md) | Loads a classifier from a \*.cfl file. |
| [**RemoveClassifier**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch-removeclassifier.md) | Removes the classifier from the training batch. |
| [**Rename**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatch-rename.md) | Changes the batch name and returns the new name. |

## Related objects

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

## Output parameter

This object is the output parameter of the [**AddNew**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatches-addnew.md), [**FindById**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatches-findbyid.md), [**FindByName**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatches-findbyname.md) and [**Item**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/item.md) methods of the [**ClassificationTrainingBatches**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainingbatches.md) object.

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

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

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
