Medium⏱ time2 hr$ cost0
Sentiment Analyzer
Feed in movie reviews and the model tells you whether each one is positive or negative.
Start building ↓
Result first
The build
Step 01
Clean reviews
Lowercase and strip punctuation.
Step 02
Build features
Count words or use TF-IDF.
Step 03
Train
Fit a classifier on labelled sentiment.
Step 04
Predict
Type a review and read its sentiment.
Working Principle
The model learns which words signal positive vs negative feeling, then weighs a new review's words to predict its mood.
The science behind it
A closer look
TF-IDF highlights words that are distinctive to a review; the classifier learns their link to sentiment.
Take it further
Variables to test
- 1 Test sarcasm — where does it slip?
- 2 Compare counts vs TF-IDF features.
More AI
AI
Hand-Drawn Digit Classifier
Train a tiny neural network in the browser to recognise digits you draw with a mouse.
Medium⏱2 hr$0
AI
Rock-Paper-Scissors Vision
Use a webcam and a no-code model to recognise your hand and play rock-paper-scissors.
Easy⏱1 hr$0
AI
Spam Email Classifier
Train a model on example messages so it can flag new ones as spam or not.
Medium⏱2 hr$0