# Bias

Let's say we have the model as y = mx instead of the y = mx + c. Here, the model is having constraint to train itself and find a line which passes only through the origin. Many times for the given data, it is impossible for the algorithm to fit the model so that it passes through the origin.&#x20;

Let's give some freedom to the algorithm by changing the model as mx + c instead of mx, so that the model can find a line which fits the given data.

{% hint style="success" %}
Bias is a constant which helps the model in a way that it can fit best for the given data. In other words, Bias is a constant which gives freedom to perform best.
{% endhint %}

{% embed url="<https://afteracademy.com/blog/what-is-bias-in-artificial-neural-network>" %}


---

# 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://ai.nuhil.net/deep-learning/bias.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.
