# Limitations

* Our model is a simplification of reality.
* Simplification is based on assumptions (model bias).
* Assumptions fail in certain situations.

## Bias and Variance

<figure><img src="/files/3DU9u6QKWIYMHzL0IcW5" alt=""><figcaption></figcaption></figure>

Bias measures the model's ability to fit the training data accurately, while variance measures its ability to generalize to new, unseen data.

**Bias**, also known as underfitting, is a measure of how well a model can fit the training data. A high bias indicates that the model is too simplistic and cannot capture the underlying patterns in the data. It leads to poor performance on the training data.

**Variance**, also known as overfitting, is a measure of how well a model can generalize to new, unseen data. High variance suggests that the model is overly complex and fits the noise in the training data, making it perform poorly on unseen data.


---

# 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://davidjosearaujo.gitbook.io/notes-mcs/machine-learning-applied-to-security/machine-learning/limitations.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.
