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

# Active sampling strategies

Epiq AI can utilize different sampling strategies during active learning. Each strategy has a different goal.

#### **Priority Sampling**

The goal is to prioritize documents that are most likely to be relevant based on model predictions. The sampling process is:

The process:

* **90%** of the batch comes from the highest-scoring documents: sort the documents in descending order, apply clustering on the top-ranking documents, and select the centroids to form the sample batch. This is to ensure some degree of diversity in the documents.
* **10%** of the batch comes from a pure random sample.

**Use Case**: Best suited when the richness is low or the goal is to focus on documents most likely to contain relevant information and to maximize efficiency.

#### **Coverage Sampling**

The goal is to ensure diverse areas of the document space are covered, avoiding bias toward highly scored documents.

The process:

* **30%** of the batch comes from documents with scores above 0.5. Documents are selected as centroids of document clusters to ensure diversity.
* **30%** of the batch comes from documents with scores below 0.5. Documents are selected as centroids of document clusters to ensure diversity.
* **30%** of the batch comes from documents with scores around 0.5. Documents are selected as centroids of document clusters to ensure diversity.
* **10%** of the batch comes from a pure random sample.

**Use Case**: This approach is useful when aiming for covering diverse information to improve the model’s overall accuracy across different types of documents.

#### **Balanced Sampling**

The goal is to balance the review process by combining priority and coverage strategies.

The process:

* **70%** of the batch is selected from documents with scores above 0.7. Documents are selected as centroids of document clusters to ensure diversity.
* **20%** of the batch comes from documents with scores below 0.7. Documents are selected as centroids of document clusters to ensure diversity.
* 1**0%** of the batch comes from a pure random sample.&#x20;

**Use Case**: Useful when seeking to balance between documents that are most likely to be relevant and the ones that are less likely to be relevant, while ensuring that the model is exposed to diverse and relevant data. &#x20;
