Early practice notebook for binary sentiment classification on the IMDB reviews dataset using Keras.
The notebook loads the top 10,000 words, pads sequences, and trains a baseline model. Accuracy is still modest — this repo documents the first iteration before tuning embeddings and architecture.
IMDBDataset.ipynb— data loading, preprocessing, and model training
pip install -r requirements.txt
jupyter notebook IMDBDataset.ipynb- Vocabulary capped at 10,000 words (
num_words=10000) - Intended as a learning exercise, not production-ready
- See
requirements.txtfor pinned dependency versions - Keras IMDB data is downloaded automatically on first notebook run