Skip to content

Hate Speech Detection on Social Media with TF-IDF and Logistic Regression

A text classification project that applies TF-IDF and Logistic Regression to Hate Speech Detection on Social Media, with dataset, trained model and a live demo.

Topic-bank idea. This is a mentor-suggested topic outline. Request the abstract and your mentor will scope it for your department, college format and budget before you build.

Difficulty
Intermediate
Build time
5 weeks
Tech stack
Python, TF-IDF and Logistic Regression, Flask
Team size
2–4 students
What's included
  • Topic outline and abstract on request
  • Scope agreed with a mentor
  • Report and PPT in your college format
  • Viva preparation
About this project
Hate Speech Detection on Social Media is a growing need as huge volumes of text are shared online every day. This project builds a TF-IDF and Logistic Regression model that learns patterns from a labelled dataset and classifies new text automatically. It covers data collection and cleaning, tokenisation and feature extraction, model training and comparison, evaluation with precision, recall and F1-score, and a simple web interface to test the model live.
Modules
  1. 1 Data & preprocessing Collecting and cleaning the Hate Speech Detection on Social Media dataset
  2. 2 Model Training and tuning TF-IDF and Logistic Regression
  3. 3 Evaluation & demo Metrics and a simple web interface
Viva preview

Questions examiners ask on this project. Guided build students practise the full set with a mentor.

Q1Why did you choose TF-IDF and Logistic Regression for Hate Speech Detection on Social Media?
Q2Which evaluation metric matters most here and why?
Q3How would you improve accuracy with more data?
Free

Get the abstract

We'll email it to you right away.

Book

Book this project

A mentor calls you within one working day to confirm scope, price and timeline. You pay after that call.