Skip to content
Lubo Bali
All projects

Analytics & dashboardsHR

Employee sentiment

Spot unhappy employees early, from the tone of their work emails

2,191work emails read for tone

See the code on GitHub (opens in a new tab)

Proof you can check:Code on GitHub

Analytics & dashboards

7 possible flight risks, spotted from tone alone

  • Neutral 1,056
  • Positive 971
  • Negative 164
  • 1 dot = 10 emails

Lubo Bali · lubobali.com

No. 274+ negative emails in 30 days = a flag

The problem

HR often learns that someone is unhappy only when they resign, and by then it's too late to help.

What I built

Python reads each email and marks it positive, neutral or negative, scores every person month by month, and flags anyone with 4 or more negative emails in 30 days.

Tech & why

Simple, explainable language analysis (TextBlob) and scikit-learn, so HR can see exactly why someone was flagged.

  • Python
  • Pandas
  • TextBlob
  • scikit-learn

The result

92% of emails were neutral or positive, so the workplace was mostly healthy, but 7 people were flagged as possible flight risks (people who may quit), even some of the most positive ones.

Similar projects

Have a problem like this? Get your free AI blueprint in about a minute.

Tell me your problem. I'll find a way to build the solution.

Available now

Book a free 30-min call (opens Calendly in a new tab)

No obligation. Pick a time that suits you.

Prefer email?data@lubobali.com