mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
Fix typos in 02 notebook
This commit is contained in:
1 parent
e0d63e62aa
commit
c70de44635
1 file changed
+2
-2
@@ -956,7 +956,7 @@
|
||||
"| Stochastic Gradient Descent (SGD) optimizer | Classification, regression, many others. | [`torch.optim.SGD()`](https://pytorch.org/docs/stable/generated/torch.optim.SGD.html) |\n",
|
||||
"| Adam Optimizer | Classification, regression, many others. | [`torch.optim.Adam()`](https://pytorch.org/docs/stable/generated/torch.optim.Adam.html) |\n",
|
||||
"| Binary cross entropy loss | Binary classification | [`torch.nn.BCELossWithLogits`](https://pytorch.org/docs/stable/generated/torch.nn.BCEWithLogitsLoss.html) or [`torch.nn.BCELoss`](https://pytorch.org/docs/stable/generated/torch.nn.BCELoss.html) |\n",
|
||||
"| Cross entropy loss | Mutli-class classification | [`torch.nn.CrossEntropyLoss`](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html) |\n",
|
||||
"| Cross entropy loss | Multi-class classification | [`torch.nn.CrossEntropyLoss`](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html) |\n",
|
||||
"| Mean absolute error (MAE) or L1 Loss | Regression | [`torch.nn.L1Loss`](https://pytorch.org/docs/stable/generated/torch.nn.L1Loss.html) | \n",
|
||||
"| Mean squared error (MSE) or L2 Loss | Regression | [`torch.nn.MSELoss`](https://pytorch.org/docs/stable/generated/torch.nn.MSELoss.html#torch.nn.MSELoss) | \n",
|
||||
"\n",
|
||||
@@ -2913,7 +2913,7 @@
|
||||
"id": "f5Ephtx6f1jB"
|
||||
},
|
||||
"source": [
|
||||
"### 8.1 Creating mutli-class classification data\n",
|
||||
"### 8.1 Creating multi-class classification data\n",
|
||||
"\n",
|
||||
"To begin a multi-class classification problem, let's create some multi-class data.\n",
|
||||
"\n",
|
||||
|
||||
Reference in new issue
Block a user