Skip to content

Commit 1183fd7

Browse files
committed
add dropout scaling note
1 parent 9ce0be3 commit 1183fd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ch03/01_main-chapter-code/ch03.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,8 @@
14851485
"id": "5a575458-a6da-4e54-8688-83e155f2de06",
14861486
"metadata": {},
14871487
"source": [
1488-
"- If we apply a dropout rate of 0.5 (50%), the non-dropped values will be scaled accordingly by a factor of 1/0.5 = 2."
1488+
"- If we apply a dropout rate of 0.5 (50%), the non-dropped values will be scaled accordingly by a factor of 1/0.5 = 2\n",
1489+
"- The scaling is calculated by the formula 1 / (1 - `dropout_rate`)"
14891490
]
14901491
},
14911492
{

0 commit comments

Comments
 (0)