Skip to content

Commit a711d9b

Browse files
fabioaclDa Costa Lopes
andauthored
Add details about the dataset in the exercises in library_sklearn.ipynb (#186)
Co-authored-by: Da Costa Lopes <fabio.dacostalopes@empa.ch>
1 parent 8e2e8ad commit a711d9b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

library_sklearn.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@
346346
"source": [
347347
"#### Exercises on dimensionality reduction\n",
348348
"\n",
349-
"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",
350-
"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```."
349+
"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",
350+
"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```."
351351
]
352352
},
353353
{
@@ -444,7 +444,7 @@
444444
"source": [
445445
"#### Exercises on unsupervised learning\n",
446446
"\n",
447-
"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."
447+
"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."
448448
]
449449
},
450450
{

0 commit comments

Comments
 (0)