Skip to content

Commit 9df40b5

Browse files
committed
include links to jupyter notebooks in 3rd, 4th, and 5th episodes
1 parent 0c0bbe5 commit 9df40b5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

content/03-scientific-data-for-ML.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Why to use tensors in ML/DL (advantages of Tensor)?
165165

166166
:::{exercise} Tensor Creation and Operations
167167

168-
[HERE](./jupyter-notebooks/3-Tensor.ipynb) we provide a tutorial about Tensor including
168+
In [Jupyter Notebook](./jupyter-notebooks/3-Tensor.ipynb) we provide a tutorial about Tensor including
169169
- Tensor creation
170170
- Tensor's properties (`shape`, `dtype`, `ndim`)
171171
- Tensor operations

content/04-data-preparation-for-ML.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ These data were collected from 2007 - 2009 by Dr. Kristen Gorman with the [Palme
7676
## Importing Dataset
7777

7878

79-
Seaborn provides the Penguins dataset through its built-in data-loading functions. We can access it using ``sns.load_dataset('penguin')`` and then have a quick look at the data:
79+
Seaborn provides the Penguins dataset through its built-in data-loading functions. We can access it using ``sns.load_dataset('penguin')`` and then have a quick look at the data (code examples are availalbe in the [Jupyter Notebook](./jupyter-notebooks/4-Data-Preprocessing.ipynb)):
8080
```python
8181
import numpy as np
8282
import matplotlib.pyplot as plt
@@ -200,10 +200,11 @@ penguins_test['BMG_median'] = penguins_test.body_mass_g.fillna(body_mass_g_media
200200

201201
:::{exercise}
202202

203-
How to mutate the missing values with ``mean`` or ``median`` values in place for all numerical values.
203+
How to mutate the missing values with ``mean`` or ``median`` values in place for all numerical values (code examples are availalbe in the [Jupyter Notebook](./jupyter-notebooks/4-Data-Preprocessing.ipynb)).
204204
- for one numerical feature like ``bill_length_mm``?
205205
- for all numerical features in the Penguins dataset?
206206
:::
207+
207208
:::{solution}
208209
- 1. using the following script
209210
```python
@@ -316,7 +317,7 @@ There are four main techniques for handling outliers in a dataset:
316317

317318
Instead of using the IQR method, the upper and lower thresholds for detecting outliers can also be calculated with the mean-std deviation approach.
318319

319-
In this exercise, you will
320+
In this exercise (code examples are availalbe in the [Jupyter Notebook](./jupyter-notebooks/4-Data-Preprocessing.ipynb)), you will
320321
- Compute the ``mean`` and ``std`` of the ``body_mass_g`` feature.
321322
- Calculate the upper and lower limits for outlier detection using the formulas.
322323
:::{math}

content/05-supervised-ML-classification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ By comparing the results, we aim to identify which model provides the most accur
3838
In the previous episode, [Episode 4: Data Preparation for Machine Learning](./04-data-preparation-for-ML.md), we discussed data preparation steps, including handling missing values, detecting outliers, and encoding categorical variables.
3939

4040
In this episode, we will revisit these steps, with particular emphasis on encoding categorical variables. For the classification task, we will treat the categorical variable ``species`` as the label (target variable) and use the remaining columns as features to predict the penguins species.
41-
To achieve this, we transform the categorical features ``island`` and ``sex``, as well as the ``species`` label, into numerical format.
41+
To achieve this, we transform the categorical features ``island`` and ``sex``, as well as the ``species`` label, into numerical format (code examples are availalbe in the [Jupyter Notebook](./jupyter-notebooks/5-ML-Classifion.ipynb)).
4242

4343
```python
4444
from sklearn.preprocessing import LabelEncoder
85.6 KB
Loading

0 commit comments

Comments
 (0)