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

Stryg for at vise menuen

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.

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 2

Spørg AI

expand
ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

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.

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 2
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt