# Model Evaluation

## Classification metrics

* **Accuracy**: computes the number of correct predictions divided by the total number of samples.

  $$Accuracy = \frac{number \space correct \space predictions}{number \space of \space samples}$$
* **Sensitivity**: also known as **recall**, is computed as the fraction of true positives that are correctly identified.

  $$Sensitivity = \frac{number \space of \space true \space positives}{number \space of \space true \space positives + number \space of \space false \space negatives}$$
* **Precision**: computed as the fraction of retrieved instances that are relevant.

  $$Precision = \frac{number \space of \space true \space positives}{number \space of \space true \space positives + number \space of \space false \space positives}$$
* **Specificity**: computed as the fraction of true negatives that are correctly identified.

  $$Specificity = \frac{number \space of \space true \space negatives}{number \space of \space true \space negatives + number \space of \space false \space positives}$$

🚧 *This section is still under construction!*


---

# 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.productizeml.com/productize-ml/train-and-evaluate/model-evaluation.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.
