← Back to Projects
🧠 python-ml 2024

Sentiment Analyzer

A text sentiment analyzer. CountVectorizer + Naive Bayes model classifies text as positive or negative.

Preview

Training Metrics

91.0%Epochs: 5
Accuracy
100%75%50%25%0%
Loss
0.80.60.40.20
Sample Predictions
InputOutput
Great product, happy!POSITIVE (96.2%)
Terrible service, never againNEGATIVE (97.8%)

Tech Stack

  • Python
  • scikit-learn
  • NumPy

Description

A text sentiment analyzer. CountVectorizer + Naive Bayes model classifies text as positive or negative.