Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 74f938b

Browse files
committed
typo
1 parent 8e3f4b1 commit 74f938b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

course_UvA-DL/01-introduction-to-pytorch/notebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ def train_model(model, optimizer, data_loader, loss_module, num_epochs=100):
883883
#
884884
# $$acc = \frac{\#\text{correct predictions}}{\#\text{all predictions}} = \frac{TP+TN}{TP+TN+FP+FN}$$
885885
#
886-
# where TP are the true positives, TN true negatives, FP false positives, and FN the fale negatives.
886+
# where TP are the true positives, TN true negatives, FP false positives, and FN the false negatives.
887887
#
888888
# When evaluating the model, we don't need to keep track of the computation graph as we don't intend to calculate the gradients.
889889
# This reduces the required memory and speed up the model.

0 commit comments

Comments
 (0)