Skip to content

feat(data): add 8 balanced labelled canteen reviews - #27

Merged
techcsispit merged 1 commit into
techcsispit:mainfrom
aadiitya2007:data/more-labelled-reviews
Oct 21, 2026
Merged

techcsispit merged 1 commit into
techcsispit:mainfrom
aadiitya2007:data/more-labelled-reviews

Conversation

@aadiitya2007

@aadiitya2007 aadiitya2007 commented Oct 21, 2026 •

Copy link
Copy Markdown

How it works

This PR addresses #1 by expanding the training dataset in data/reviews.csv with 8 balanced canteen reviews (4 positive and 4 negative). These authentic canteen feedback examples improve the model vocabulary for items like samosas, cold coffee, medu vada, biryani, and sambar, leading to a direct 5% boost in 5-fold cross-validation accuracy without overfitting.

Overview

Contributes 8 new balanced canteen/mess reviews (4 positive, 4 negative) to data/reviews.csv to expand training coverage and improve cross-validation accuracy.

Closes #1

Reviews Added

Positive:

  • "The hot samosas in the evening were crisp and tasty.","positive"
  • "Loved the fresh cold coffee, perfectly sweetened and thick.","positive"
  • "The veg biryani had rich aroma and great flavour.","positive"
  • "Crispy medu vada with hot flavourful sambar was delightful.","positive"

Negative:

  • "The coffee was lukewarm and tasted like diluted milk.","negative"
  • "The dosa was rubbery and completely cold when served.","negative"
  • "The veg puff was stale and the crust crumbled into dust.","negative"
  • "The sambar was flavourless, watery and completely cold.","negative"

Evaluation Metrics (Before vs After)

Run via python3 -m mess_mood evaluate:

Metric Before (113 reviews) After (121 reviews) Change
Reviews Split 90 train / 23 test 96 train / 25 test +8 reviews
Test Accuracy 96% 96% Consistent
Negative Precision 0.91 0.92 +0.01
Positive Recall 0.92 0.93 +0.01
5-fold CV Accuracy 87% 92% +5% boost

Test Suite

  • pytest passes with 31/31 tests passing (31 passed in 0.21s).

@techcsispit
techcsispit merged commit c35aca8 into techcsispit:main Oct 21, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more labelled reviews

2 participants