OCR
This page provides examples of how RagaAI's Testing Platform can add value to teams building OCR models and pipelines. It is a companion piece to the Product Demo available on the RagaAI Platform.
The OCR Project on the sample workspace is an example of how the RagaAI Testing Platform can help with the following tasks -
Data Quality Checks before training a new model
Model Quality Checks to identify performance gaps and perform regression analysis
End-to-end pipeline level tests beyond AI models
The RagaAI Testing Platform is designed to add science to the art of detection AI issues, performing root cause analysis and providing actionable recommendations. This is done as an automated suite of tests on the platform.
An overview of all tests for the sample project is available here -
1. Outlier Detection
![](https://docs.raga.ai/~gitbook/image?url=https%3A%2F%2F1811327582-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYbIiNdp1QbG4avl7VShw%252Fuploads%252FgqcnNNxB12e5ym0EFTtF%252FScreenshot%25202024-01-17%2520at%252011.25.32.png%3Falt%3Dmedia%26token%3Dd39e3e2c-8aee-45a8-b8bd-3f0331037cd9&width=768&dpr=4&quality=100&sign=e695face&sv=1)
Goal - Identify scenarios in the field data which are drastically different (out-of-distribution) with respect to the training dataset. The AI model is prone to generating erroneous predictions on such datapoints.
Methodology - RagaAI automatically detection OOD datapoints using the embeddings from the RagaAI DNA technology
Insight - For this case, we see that the platform identifies data drift for images which are rotated or have different lighting conditions given the model has only been trained on portrait images.
Impact - This automated test helps users access if the data in the production setting has shifted and the model needs to be retrained.
For more details, please refer to the detailed outlier detection documentation.
2. Missing Detections
![](https://docs.raga.ai/~gitbook/image?url=https%3A%2F%2F1811327582-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FYbIiNdp1QbG4avl7VShw%252Fuploads%252FGcKzmsEK9zcePPSL4oHZ%252FScreenshot%25202024-01-17%2520at%252011.26.08.png%3Falt%3Dmedia%26token%3D8973b40d-65fb-43ff-89a3-02d952ac3c78&width=768&dpr=4&quality=100&sign=9aeb95e5&sv=1)
Goal - Identify label drift among the model predictions
Methodology - RagaAI automatically detection OOD datapoints using the embeddings from the RagaAI DNA technology
Insight - For this case, we see that the platform identifies label drift for images which are rotated or have different lighting conditions given the model has only been trained on portrait images.
Impact - This automated test helps users access if the label distribution in the production setting has shifted and the model needs to be retrained.
For more details, please refer to the detailed missing values documentation.
Last updated