Skip to content
This repository was archived by the owner on Jun 27, 2022. It is now read-only.

Fix typo related to format when showing results for Bayesian inference #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1.5-spam-classifier/Bayesian_Inference.ipynb
Original file line number Diff line number Diff line change
@@ -722,7 +722,7 @@
"\n",
"# P(Pos)\n",
"p_pos = # TODO\n",
"print('The probability of getting a positive test result P(Pos) is: {}',format(p_pos))"
"print('The probability of getting a positive test result P(Pos) is: {}'.format(p_pos))"
]
},
{
2 changes: 1 addition & 1 deletion 1.5-spam-classifier/Bayesian_Inference_solution.ipynb
Original file line number Diff line number Diff line change
@@ -1008,7 +1008,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"The probability of getting a positive test result P(Pos) is: {} 0.10799999999999998\n"
"The probability of getting a positive test result P(Pos) is: 0.10799999999999998\n"
]
}
],