DEV Community

Discussion on: Sentiment analysis on Trump's tweets using Python 🐍

Collapse
 
rodolfoferro profile image
Rodolfo Ferro

Textblob has it's own method to compute accuracy:
textblob.readthedocs.io/en/dev/cla...

But you can also use scikit-learn's metrics:
scikit-learn.org/stable/modules/cl...

Collapse
 
karimazizovic87 profile image
King

thank you