# Fetch Similar

It is often required to get similar samples to a given selection to complete an analysis, or test an hypothesis within the platform. For instance, if a subset of the reviewed samples is consistently failing and appears to share a common characteristic - such as a specific lighting condition or the presence of a particular object -retrieving similar samples can help validate whether that characteristic is indeed contributing to the failures.&#x20;

The "Fetch Similar" provides similar samples to selected samples [from the population exploration](/user-interface/dashboards/dashlets/population-exploration.md#selecting-and-reviewing-samples) or the [sample analysis](/user-interface/dashboards/dashlets/sample-analysis.md). The similar samples could be taken from a slice of the data, defined by [filters](/user-interface/dashboards/dashboard-actions/dashboard-filtering.md).&#x20;

### Fetch similar from population exploration

<figure><img src="/files/bsUplfMb4zZ7oLoHSybl" alt=""><figcaption><p>Running fetch similar from the population exploration to get the most similar samples given a specific filter (samples should be in the validation set)</p></figcaption></figure>

Once samples has been selected from the population exploration, we could use the "Fetch Similar" button to retrieve similar samples. The computed result would be added as a special [filter](/user-interface/dashboards/dashboard-actions/dashboard-filtering.md) to the population exploration, resulting in only the most similar samples presented.

### Fetch Similar from sample analysis

<figure><img src="/files/8dvgS7ERAld8J8SURgQZ" alt=""><figcaption><p>Fetch similar from sample analysis by clicking the magnet icon</p></figcaption></figure>

Given a selection of samples in the [sample analysis](/user-interface/dashboards/dashlets/sample-analysis.md) dashlet, similar samples could also be retrieved. This would create a special global filter, applying the entire dashboard to only contain these similar samples.

{% hint style="warning" %}
Notice that it is sometimes required to examine only one slice (i.e. train), but to fetch similars from an disjoint slice (i.e. unlabeled). Such an action would disable all pre-existing filters from the dashlet, to ensure the fetch similar filter is not in contradiction with existing filters.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tensorleap.ai/user-interface/dashboards/dashboard-actions/fetch-similar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
