Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions library_sklearn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@
"source": [
"#### Exercises on dimensionality reduction\n",
"\n",
"1. Write a function that receives as input a list with already scaled features and targets and returns the indices of the best 5 features using ```SelectKBest``` with mutual information (classification) as scoring function.\n",
"2. Write a function that receives as input a list with already scaled features and targets and computes Principal Component Analysis with 5 components and returns the total explained variance ratio. Use ```random_state = 42```."
"1. Write a function that receives as input a list with already scaled features and targets (`dataset = [features, targets]`) and returns the indices of the best 5 features using ```SelectKBest``` with mutual information (classification) as scoring function.\n",
"2. Write a function that receives as input a list with already scaled features and targets (`dataset = [features, targets]`) and computes Principal Component Analysis with 5 components and returns the total explained variance ratio. Use ```random_state = 42```."
]
},
{
Expand Down Expand Up @@ -444,7 +444,7 @@
"source": [
"#### Exercises on unsupervised learning\n",
"\n",
"1. Write a function that receives as input a list with already scaled features and targets and returns the cluster indexes for all samples. Use agglomerative clustering with default parameters."
"1. Write a function that receives as input a list with already scaled features and targets (`dataset = [features, targets]`) and returns the cluster indexes for all samples. Use agglomerative clustering with default parameters."
]
},
{
Expand Down