Update 01_pytorch_workflow.ipynb

Changed "training data " to testing data" in the testing loop.
This commit is contained in:
Luca Lombardo authored and GitHub committed 2024-01-20 02:04:15 +01:00
1 parent 0fa794be52
commit 11462fff44
1 file changed
+1 -1
+1 -1
View File
@@ -899,7 +899,7 @@
"\n",
"| Number | Step name | What does it do? | Code example |\n",
"| ----- | ----- | ----- | ----- |\n",
"| 1 | Forward pass | The model goes through all of the training data once, performing its `forward()` function calculations. | `model(x_test)` |\n",
"| 1 | Forward pass | The model goes through all of the testing data once, performing its `forward()` function calculations. | `model(x_test)` |\n",
"| 2 | Calculate the loss | The model's outputs (predictions) are compared to the ground truth and evaluated to see how wrong they are. | `loss = loss_fn(y_pred, y_test)` | \n",
"| 3 | Calulate evaluation metrics (optional) | Alongisde the loss value you may want to calculate other evaluation metrics such as accuracy on the test set. | Custom functions |\n",
"\n",