academic
A machine learning project that predicts movie review sentiment using text processing and classification algorithms.
Overview
A machine learning project developed for a Kaggle competition to predict sentiment from movie reviews. It involves data preprocessing, feature engineering, model training and hyperparameter tuning to build and evaluate classification models.
Key features
- Data Preprocessing — Handle missing values and prepare raw competition data.
- Feature Engineering — Extract useful features from movie review data using Pandas.
- Sentiment Classification — Predict review sentiment using machine learning algorithms.
- Model Comparison — Experiment with Logistic Regression, AdaBoost and XGBoost.
- Hyperparameter Tuning — Improve model performance through parameter optimization.
- Model Evaluation — Evaluate classification performance using accuracy.
- Kaggle Submission — Generate predictions and submit results to the competition.
Architecture
Backend class diagram
Technical decisions
- Used Python and Pandas for data preprocessing and feature engineering.
- Experimented with multiple classification algorithms to compare model performance.
- Used Logistic Regression as a classification approach.
- Explored ensemble learning using AdaBoost and XGBoost.
- Applied hyperparameter tuning to improve model performance.
- Used Kaggle competition scoring to evaluate the final predictions.
Outcome
- Achieved an accuracy score of 0.81482 in the competition.
Tech stack & links
PythonPandasNumPyScikit-learnXGBoostJupyter NotebookGoogle Colab