Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Data Standardization | Normalization & Standardization
Preprocessing Data

Sveip for å vise menyen

book
Data Standardization

Another approach to scale the data is to standardize it: transform in such a way that mean is equal to 0 and std is equal to 1. Look at the formula:

Here μ is a mean value of x and σ is a standard deviation. This way, we move each value such that total mean is 0, and normalize it with std, so new std is equal to 1.

Oppgave

Swipe to start coding

Standardize the data in SibSp column by calculating mean and std values and use the formula above. Output some sample to see the modified data and check if the new values of mean and std are equal to 0 and 1 respectively.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 4. Kapittel 2

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
Data Standardization

Another approach to scale the data is to standardize it: transform in such a way that mean is equal to 0 and std is equal to 1. Look at the formula:

Here μ is a mean value of x and σ is a standard deviation. This way, we move each value such that total mean is 0, and normalize it with std, so new std is equal to 1.

Oppgave

Swipe to start coding

Standardize the data in SibSp column by calculating mean and std values and use the formula above. Output some sample to see the modified data and check if the new values of mean and std are equal to 0 and 1 respectively.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 4. Kapittel 2
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt