Skip to content

Commit

Permalink
Fix typo on naivebayes.py documentation
Browse files Browse the repository at this point in the history
- P(featues) -> P(features)
  • Loading branch information
ffosilva authored Aug 24, 2017
1 parent 2d925b8 commit f87dd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nltk/classify/naivebayes.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
| P(label|features) = --------------------------------------------
| P(features)
Rather than computing P(featues) explicitly, the algorithm just
Rather than computing P(features) explicitly, the algorithm just
calculates the numerator for each label, and normalizes them so they
sum to one:
Expand Down

0 comments on commit f87dd20

Please sign in to comment.