Зміст курсу
Preprocessing Data
Preprocessing Data
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.
Завдання
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.
Дякуємо за ваш відгук!
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.
Завдання
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.
Дякуємо за ваш відгук!
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.
Завдання
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.
Дякуємо за ваш відгук!
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.
Завдання
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.