Email Spam Detection (99% Accuracy) | Deploy ML models using Django | Python ML Project 01 (Part 02)

Do you want to learn how to integrate a machine learning model into a Python framework Django web application for your semester or final year project (FYP)?

Welcome back! In this video, I integrated the machine learning model (Email Spam Detection) into a Django web application. This step is essential as it transforms our machine learning model into a user-friendly web app that anyone can use, even without coding knowledge. We’ll cover everything from setting up the Django project and creating forms and views to building an interactive user interface. By the end of this video, you’ll have a fully functional web application that detects spam emails with 99% accuracy.

In this video, we will:

πŸ› οΈ Set up a Django Project and App: Learn how to create and configure a new Django project and app, laying the foundation for our web application.

πŸ“ Create Forms and Views: Understand how to build forms for user input and how to handle these inputs in Django views.

πŸ€– Integrate the Machine Learning Model: We’ll take the spam detection model built-in Google Colab and integrate it into our Django app, making it accessible via a web interface.

πŸ’» Build the User Interface: Design a simple and intuitive HTML/CSS interface where users can input messages and get instant spam detection results.

πŸš€ Run and Test the Application: Finally, we’ll run the Django server, test our application, and ensure everything works as expected.

If you haven’t seen the first part where we built the spam detection model in Google Colab, the link is below.
Part 1 Video Link:
https://www.youtube.com/watch?v=pH549l0ZVxs

Prerequisites:
Before we begin, make sure you have Python and Visual Studio Code (VSCode) installed on your machine.
Python: https://www.python.org/downloads
VSCode: https://code.visualstudio.com/download

Dataset:
https://drive.google.com/file/d/1MQQdM2DLan07qGiXIO5Qp1n3831Bw9s2/view

home.html
https://drive.google.com/file/d/1pRwS2Erkw8tRY1UWzDL3HVXgR78kheBl/view?usp=sharing

πŸ“‚ Project on GitHub:
https://github.com/MrAliHasan/Spam-Detection-Classifier.git

What You’ll Learn:
πŸ› οΈ How to set up a Django project and app.
πŸ“ How to create forms and views for user input.
πŸ€– How to integrate a machine learning model into a Django web
application.
πŸ’» How to build a user interface with HTML and CSS.
πŸš€ How to run and test the Django web application.

Time Stamps:
00: 00 – Overview
01: 06 – Setting Up Django Project
10: 03 – Integrating ML Model
15: 19 – Building User Interface
23: 26 – Running and Testing the Application

Channel Link:
https://www.youtube.com/channel/UCo3ViIUYDRa-4aRiMGaNqqw

Follow me:
Github: https://github.com/MrAliHasan/
Instagram: https://www.instagram.com/mr.data_scientist1/
LinkedIn: https://www.linkedin.com/in/ali-hassan-rai/

Be sure to like, comment, and subscribe for more exciting projects and tutorials in data science, ML, and AI.

#machinelearning #python #fyp #hacker #education #technology