Skip to content

Commit

Permalink
Merge branch 'master' of github.com:fastai/fastbook
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed Apr 25, 2022
2 parents be67ff5 + 980f81b commit 9821dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 07_sizing_and_tta.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The third image is built by adding 0.3 times the first one and 0.7 times the second. In this example, should the model predict \"church\" or \"gas station\"? The right answer is 30% church and 70% gas station, since that's what we'll get if we take the linear combination of the one-hot-encoded targets. For instance, suppose we have 10 classes and \"church\" is represented by the index 2 and \"gas station\" is reprsented by the index 7, the one-hot-encoded representations are:\n",
"The third image is built by adding 0.3 times the first one and 0.7 times the second. In this example, should the model predict \"church\" or \"gas station\"? The right answer is 30% church and 70% gas station, since that's what we'll get if we take the linear combination of the one-hot-encoded targets. For instance, suppose we have 10 classes and \"church\" is represented by the index 2 and \"gas station\" is represented by the index 7, the one-hot-encoded representations are:\n",
"```\n",
"[0, 0, 1, 0, 0, 0, 0, 0, 0, 0] and [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]\n",
"```\n",
Expand Down

0 comments on commit 9821dad

Please sign in to comment.