> For the complete documentation index, see [llms.txt](https://digitalgarden.batamladen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://digitalgarden.batamladen.com/notes/machine-learning/feature-engineering/feature-scaling/normalization-vs-standardizatio.md).

# Normalization vs Standardizatio

| This method scales the model using minimum and maximum values. | This method scales the model using the mean and standard deviation.                |
| -------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| When features are on various scales, it is functional.         | When a variable's mean and standard deviation are both set to 0, it is beneficial. |
| Values on the scale fall between \[0, 1] and \[-1, 1].         | Values on a scale are not constrained to a particular range.                       |
| Additionally known as scaling normalization.                   | This process is called Z-score normalization.                                      |
| When the feature distribution is unclear, it is helpful.       | When the feature distribution is consistent, it is helpful.                        |

***

## FAQs <a href="#faqs" id="faqs"></a>

### 1. Is normalisation and standardisation same?

Standardization is divided by the standard deviation after the mean has been subtracted. Data is transformed into a range between 0 and 1 by normalization, which involves dividing a vector by its length.

### 2. Why is standardization preferred over normalization?

When the data has a normal distribution, standardization is an excellent tool to use. It can be utilized in a machine learning process when assumptions are made on the distribution of the data, such as in linear regression.

### 3. What is the difference between normalization and scaling?

Changing the range of your data with scaling is different from changing the distribution of your data with Normalization.

### 4. Should I normalize or standardize my data?

When your data have different dimensions and the method you're employing, like k-nearest neighbors or artificial neural networks, doesn't make assumptions about the distribution of your data, normalization is helpful. Standardization presupposes that the distribution of your data is Gaussian.

### 5. Does normalizing improve accuracy?

Your marketing database will be more accurate and contextualized thanks to the systematic process of grouping related information into a common value called data normalization. Data normalization formats your data such that it appears and reads consistently across all database records.

### 6. Which is better, normalization or standardization?

If your feature (column) contains outliers, normalizing your data will scale most of the data to a small interval, ensuring that all components have the same scale but failing to manage outliers adequately. Max-Min Normalization is rarely preferred over standardization since it is less resistant to outliers.\\


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://digitalgarden.batamladen.com/notes/machine-learning/feature-engineering/feature-scaling/normalization-vs-standardizatio.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
