# Running predictions

Once you've assigned a few labels, you're ready to run predictions.&#x20;

### Running predictions

To begin, click "Run Predictions".&#x20;

<figure><img src="/files/F1JxgIpWUh7Zwe0Kz3e4" alt=""><figcaption></figcaption></figure>

Soon after, a series of tiles will appear on the Predictions window. These are tiles that are most similar to the positively labelled tiles. On the map, they will appear with a purple outline, clearly distinct from the blue outline (from manually labelled tiles).

<figure><img src="/files/td1ekVqJuxV3O7anJ6dA" alt=""><figcaption></figcaption></figure>

After running your first prediction, you can click on the "Config" button to change the number of predictions generated.&#x20;

<figure><img src="/files/UuRexk1aVORsw2guJVk9" alt="" width="375"><figcaption></figcaption></figure>

### Filter by confidence

When you've generated some predictions, our algorithm is more confident about some matches than others, within the number of predictions you desired. As you drag the slider to the right, the confidence filter will increase and the number of tiles displayed will decrease. You'll be shown tiles that our algorithm is more confident are a match as opposed to all 500 predictions, for example. Try dragging the slider to adjust the confidence level!&#x20;

<figure><img src="/files/3hAG0Xy8AmKulcKjAdV6" alt=""><figcaption><p>As you can see, the number of predicted tiles has decreased to 42. Given tiles near the already labeled ones are quite similar, we would expect them to remain, especially when filtering toward higher confidence. </p></figcaption></figure>

### Updating predictions

Once you've added additional positive or negative labels, whether from predicted tiles or other observations, you should update the generated predictions. Given this is a trial-and-error process, being iterative by adding a few more labels and updating predictions is necessary and efficient!&#x20;

To update, click the "Update" button in the Prediction window.&#x20;

<div data-full-width="true"><figure><img src="/files/DXZhccVuGAUDLF8EKt4x" alt="" width="101"><figcaption></figcaption></figure></div>

Watch this video to learn how to run predictions:

{% embed url="<https://www.loom.com/share/fa7b0db79f0a4f60868a3e2e4bee6742?sid=946cf793-4938-4d61-a2ae-1048dd5cc080>" %}

### How does this work?

Each tile is represented through an embeddings produced by the foundation model. When you select a set of tiles that are similar, we search across all the tiles in this region to find tiles with similar embeddings, or nearest neighbors.&#x20;

If many points are labeled positive, the machine searches for the average of those positive vectors.  If you include negative labels,  the machine searches for the average positive vector displaced away from the average negative (by the difference between the average positive and the average negative).

{% hint style="info" %}
Now that you've learned how to label and make predictions, try building a dataset of some object or feature in the imagery! Go through a trial-and-error process and play around with Earth Index. We're looking to improve the tool, so feel free to share any feedback with us over Discord or at <info@earthindex.ai>.
{% 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.earthindex.ai/concepts/running-predictions.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.
