Kursinnehåll
Principal Component Analysis
Principal Component Analysis
1. What is Principal Component Analysis
3. Model Building
Challenge
Uppgift
Swipe to start coding
The task is to process the dataset and create a principal component analysis model with 3 components.
- Load the
train.csv
(from web) dataset. - Drop the
'Id'
column. - Drop columns that contain
NaN
values. - Standardize the dataset.
- Create a PCA model with 3 components for the dataset.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 4
Challenge
Uppgift
Swipe to start coding
The task is to process the dataset and create a principal component analysis model with 3 components.
- Load the
train.csv
(from web) dataset. - Drop the
'Id'
column. - Drop columns that contain
NaN
values. - Standardize the dataset.
- Create a PCA model with 3 components for the dataset.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 4