CodeLevels
  • Projects
    • All projects
    • Becoming a web developer!
    • Building mini-apps
    • Tricky web applications
    • Full-Stack DIY services
    • Backend Development
    • Desktop apps
  • Roadmaps
    • All roadmaps
    • JavaScript
    • React
    • Python
    • Django for web development
    • Backend & Deployment
    • Client-Server Architecture
    • Linux for server development
    • Kali Linux for security artisans
    • Advanced Cybersecurity
  • Job tracks
    • All job tracks
    • QA Engineer (+Web Security Specialist)
  • Courses
  • Desktop App
  • Login

Email Spam Detector: logistic regression in action

Project #2 of 5 in "ML and data science" progression
Python
Email Spam Detector: logistic regression in action thumbnail

Updated: Jun 25, 2026

In this project

New libraries in this project:

  1. Pandas
  2. Numpy
  3. Sklearn
  4. Streamlit

And here majesty Logistic Regression itself.


Learning plan

  1. 1. Email spam classifier using mail datasets

  2. Meeting streamlit!

  3. Learning Logistic Regression

  4. Kaggle datasets and notebooks

  5. Training the model

  6. Compiling into UI

  7. 2. Real Gmail mail scanner

  8. Downloading emails....

  9. Classifying emails with chatGPT

  10. Training the model with REAL data

  11. Fine-tuning the model with extra data: hosting the UI

  1. #1.1. Email spam classifier using mail datasets #1
  2. #2.Meeting streamlit! #2
  3. #3.Learning Logistic Regression #3
  4. #4.Kaggle datasets and notebooks #4
  5. #5.Training the model #5
  6. #6.Compiling into UI #6
  7. #7.2. Real Gmail mail scanner #7
  8. #8.Downloading emails.... #8
  9. #9.Classifying emails with chatGPT #9
  10. #10.Training the model with REAL data #10
  11. #11.Fine-tuning the model with extra data: hosting the UI #11
Email Spam Detector: logistic regression in action