Skip to content

mohammadiqbalhossen956-svg/Sales-Prediction-Dockerized-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sales Prediction Dockerized Web API 🚀

Project Overview

This project focuses on the deployment phase of the Machine Learning lifecycle. I have converted a Sales Prediction model into a production-ready RESTful API using Flask. This allows any web or mobile application to send data and receive sales forecasts in real-time.

Key Features

  • Model-as-a-Service: The model is no longer just a script; it functions as a live backend service.
  • Dockerized Environment: Included a Dockerfile to ensure the application runs consistently across different operating systems and cloud providers.
  • Efficient Edge Computing: The entire backend server was successfully deployed and tested within the Pydroid 3 environment on a mobile device.

Technical Stack

  • Framework: Flask (Python)
  • Containerization: Docker
  • Libraries: NumPy, Scikit-learn
  • Environment: Pydroid 3

How to Run

  1. Clone the repository.
  2. Install dependencies: pip install -r requirements.txt.
  3. Run the application: python app.py.
  4. The API will be live at http://127.0.0.1:5000.

API Documentation

  • Endpoint: /predict
  • Method: POST
  • Input Format (JSON): ```json { "tv": 230.1, "radio": 37.8, "newspaper": 69.2 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages