Skip to content

Commit 43b80d6

Browse files
committed
Add 'task 4' to exercises
1 parent c07528b commit 43b80d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

worked-solutions/01_penguin_classification_solutions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@
196196
" # this gives a 'species' i.e. one of ('Gentoo',), ('Chinstrap',), or ('Adelie',)\n",
197197
" tgts = tuple(self.split.iloc[idx][self.target_keys])\n",
198198
"\n",
199-
" # Exercise #1: convert the feats (Series) to PyTorch Tensors\n",
199+
" # Task 4 - Exercise #1: convert the feats (Series) to PyTorch Tensors\n",
200200
" feats = tensor(feats, dtype=float32)\n",
201201
"\n",
202-
" # Exercise #2: convert target to a 'one-hot' vector.\n",
202+
" # Task 4 - Exercise #2: convert target to a 'one-hot' vector.\n",
203203
" target_names = sorted(self.full_df.species.unique())\n",
204204
" tgts = eye(len(target_names))[target_names.index(tgts[0])]\n",
205205
"\n",

0 commit comments

Comments
 (0)