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

# Tips for improving classification quality

> Improve classification quality in FlexiLayout Studio: tune precision-recall, enlarge the training set, merge similar classes, add differentiation rules.

If for some reason a classifier produces unsatisfactory results for a batch of documents, try the following:

* Check that you have correctly adjusted the precision-recall slider and set the target precision and recall values.
* Add more relevant documents to the training set. The larger your selection of documents, the more different documents of the same class will be recognized by the classifier. A larger training set also allows for more precise class attributes and for an optimization of the classification algorithm, and as a result, an improvement in the quality of the trained classifier.
* Review the incorrectly classified documents in the yellow cells of the table on the **Confusion matrix** tab (right-click to view them). If the meaning of the text and the selected attributes make it obvious that the reference class was assigned incorrectly, assign the correct one instead. If it is not possible to precisely determine the document's reference class, remove it from the training batch.
* Combine similar classes into one. The training batch may contain thematically similar classes that even human experts might find challenging to differentiate.
* Create additional rules for better differentiation between classes.
