Skip to content

Hotarouuu/ProjectDSA-ML-Model-Deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Science Academy Project – Model Deployment on AWS

Introduction

This project was developed as part of the Machine Learning Program at Data Science Academy. The goal was to build a simple binary classification model that predicts whether a student will pass or fail based on three input variables.

The main objective is not model complexity, but understanding how to deploy a machine learning model to AWS. For that reason, the dataset and modeling approach were intentionally kept simple.


Table of Contents


Technologies Used

  • Scikit-learn
  • Pandas
  • NumPy
  • Pickle
  • AWS (focused on EC2)

Project Structure

1. Data Preprocessing and Modeling

In this step, basic preprocessing was performed using StandardScaler. After scaling the data, three different classification models were trained and evaluated.

The selected model for deployment was Logistic Regression, chosen based on its performance and simplicity.


2. Backend with Flask

In the app.py file, a simple backend was built using Flask. This application loads the trained model and serves predictions through an HTML template, allowing user interaction via a basic front-end interface.


3. Deploying on AWS EC2

The project was deployed to an AWS EC2 instance. This involved configuring the virtual machine, installing dependencies, and transferring the application files to the server.


4. Running the Application with WSGI

The application was executed using a WSGI server inside the EC2 instance.

After configuration, the system became accessible through the public IP address of the instance, allowing users to interact with the deployed model via the browser.


Conclusion

This is a simple project focused on understanding the fundamentals of deploying a machine learning model on AWS.

The emphasis is not on building a complex model, but on learning how to structure, deploy, and serve machine learning applications in a cloud environment for future, more advanced projects.

For privacy reasons, steps that explicitly show the AWS instance configuration and environment details were intentionally omitted.

About

Repository containing the practical implementation developed in the course "Development and Deployment of Machine Learning Models", part of the Machine Learning 4.0 training program at Data Science Academy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors