Loading project…
Loading project…
I trained multinomial naive Bayes on the headlines of 2,225 BBC articles in five categories and classified one headline I typed about an iPhone as tech.
Original tutorial by Aman Kharwal: News Classification (opens in a new tab)
| Output | Value | Cell # |
|---|---|---|
| Category for one typed headline | tech |
Cell # counts every cell from the top of the notebook, Markdown included, starting at 1.
No accuracy was printed.
The BBC News dataset from the tutorial author's data repository.