Projects

Selected technical projects

Technical work that supports my research profile. For my academic research, see the Research page. These are applied projects, and their results are predictive, not causal.

Selected technical projects

Independent project

Multi-Class Sentiment Classification of Product Reviews

0.655Macro F1, Logistic Regression (held-out test set)

Problem
Predict the 1 to 5 star rating of a product review from its text alone, when the rating classes are heavily imbalanced (31,516 five-star against 2,382 two-star reviews).
Method
  • 50,000 Amazon US camera reviews; headline and body combined, HTML artefacts removed
  • TF-IDF features (unigrams and bigrams) in scikit-learn pipelines
  • Five classifiers compared: Multinomial Naive Bayes, Logistic Regression, Linear SVM, Random Forest and XGBoost
  • Stratified 80/20 split; 5-fold cross-validated grid search optimising macro F1; scores reported on the 10,000-review held-out test set
Result
Tuned Logistic Regression reached the highest macro F1 (0.655) and was selected. Per-class F1 ranged from 0.91 for five-star reviews to 0.47 for two-star reviews, so the middle ratings remain the hard cases.
Research relevance
Extends the undergraduate opinion-mining thesis to a systematic, cross-validated comparison of classifiers on a larger, imbalanced dataset, with per-class error analysis.
Tools
  • Python
  • scikit-learn
  • XGBoost
  • NLTK
  • Pandas

Independent project (a later, two-class reimplementation, separate from the bachelor’s thesis)

Airbnb Review Classification: TF-IDF and Naive Bayes from Scratch

0.95Test accuracy, from-scratch TF-IDF and Naive Bayes

Problem
Classify Airbnb guest reviews as positive or negative, and check a hand-written TF-IDF and Naive Bayes implementation against scikit-learn baselines.
Method
  • 1,000 labelled Airbnb reviews (600 positive, 400 negative); stratified 70/30 train-test split
  • TF-IDF weighting and a Multinomial Naive Bayes classifier with Laplace smoothing implemented from scratch
  • Baselines: scikit-learn TfidfVectorizer with MultinomialNB
Result
The from-scratch pipeline reached 0.95 accuracy on the 300-review test set, against 0.93 for the default scikit-learn baseline.
Research relevance
Demonstrates that I understand the estimators I use: the implementation reproduces, and slightly exceeds, a standard library baseline.
Tools
  • Python
  • NLTK
  • scikit-learn
  • Pandas

Independent project

Laptop Pricing Analytics and Predictive Modelling

0.897Test R², XGBoost

Problem
Estimate laptop prices (in euros) from product specifications, and identify which attributes carry the most predictive weight, for 1,275 laptops after removing duplicates.
Method
  • Feature engineering from semi-structured specifications: screen resolution and pixel density, CPU family and clock speed, storage types, GPU and grouped operating systems
  • Seven regression models compared on an 80/20 train-test split, with training and test R² reported to check for overfitting
  • Hyperparameter tuning of the best model with 5-fold cross-validated grid search
Result
XGBoost achieved the best test performance, with an R² of 0.897 and an RMSE of €225.51. Tuning did not improve on the default model, so the default was kept.
Research relevance
Structured-data regression with careful feature construction and an explicit comparison of in-sample and out-of-sample fit.
Tools
  • Python
  • Pandas
  • scikit-learn
  • XGBoost

More

Additional projects

Further predictive-modelling work, collapsed by default and linked to its repository.

Show 1 additional project

Independent project

Telecommunication Customer Churn Prediction

0.75Test ROC-AUC, tuned SVM

Problem
Predict customer churn from account data for 7,043 telecom customers, with an imbalanced outcome.
Method
  • Chi-square feature selection, SMOTE on the training data and GridSearchCV tuning
  • Six classifiers compared on a stratified held-out test set
Result
The tuned support vector machine reached a test ROC-AUC of 0.75 and an F1-score of 0.61.
Research relevance
Imbalanced learning and leakage-aware preprocessing.