Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 2.43 KB

README.md

File metadata and controls

31 lines (23 loc) · 2.43 KB

Build Status Maintainability Known Vulnerabilities codecov pylint Score Codacy Badge HitCount

Data Science Web Application SpamDetection

This is a Repository which Contains the implementation of ML model for spam detection

Live Demo

The implementation of the web app can be found https://spamdetect.herokuapp.com/ <-- here !

Deploy the app

First fork or clone this repo:

usign git clone https://github.com/Ge0f3/SpamDetection.git

After cloning the repository go inside the project folder:

cd SpamDetection

Build docker using docker build -t spamapp:latest . After deploy the app using docker run -d -p 5000:5000 spamapp

In your browser navigate to: http://localhost:5000(or whatever port you have mention in the docker build) to see the app up and running

Working without docker

I highly recommend the use of docker as it is far simpler to get started than to run all of the following manually.

To Deploy manually Assure you have Python. installed.

  • Navigate inside the directory
  • Install pip dependencies: pip install -r requirements.txt
  • Run python main.py to see the app up and running (will watch files and restart server on port 5000 on change)

Built With

  • Scikit - scikit-learn is a Python module for machine learning
  • Flask - Flask is a microframework for Python
  • Docker - Docker is an open platform and is used for building the app and Devops purposes