admin-sauce / Water-Cleanliness-Prediction-ML-Web-App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Water Cleanliness Prediction ML Web App

Empowering communities with data-driven decisions for safer, cleaner water sources!

Report Bug . Request Feature

Contributors Issues License

Table Of Contents

About The Project

pic-1 pic-2 pic-3

The Water Potability Prediction project is a web application designed to assist in evaluating the drinkability of water resources based on various scientific parameters. Users input data on 23 specific factors related to water quality, including pH levels, chlorine content, and manganese concentration. Leveraging machine learning techniques, the application employs the DecisionTreeClassifier algorithm to classify water as potable or non-potable with an accuracy score of 87%.

Built With

  • Frontend: Flask, HTML, CSS
  • Machine Learning: scikit-learn (for the DecisionTreeClassifier algorithm)
  • Data Serialization: Pickle
  • Scientific Computing: NumPy

Getting Started

To start the project, clone the repository, install dependencies using pip install -r requirements.txt, then run the Flask app with python app.py. Access the app in your browser at http://localhost:5000, input the 23 water quality parameters, and click 'Predict' to classify water potability

Prerequisites

  • Flask
  • Numpy
  • Scikit Learn

Installation

Setting Up Your Project Locally

To get a local copy up and running, follow these simple steps:

  1. Clone the Repository:

    git clone https://github.com/admin-sauce/Water-Cleanliness-Prediction-ML-Web-App.git
  2. Navigate to the Project Directory:

    cd Water-Cleanliness-Prediction-ML-Web-App
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Run the Flask App:

    python app.py
  5. Access the Web Application: Open your web browser and go to http://localhost:5000 or http://127.0.0.1:5000 to access the application

  6. Input Parameters: Enter values for the 23 scientific parameters related to water quality

  7. Predict Water Potability: Click the 'Predict' button to classify the water as drinkable or not based on the input parameters

  8. View Results: The application will display a message indicating the drinkability of the water

Explanation Video

https://youtu.be/pQSLLXEFiBE

License

Distributed under the GNU General Public License v3.0 License. See LICENSE for more information.

Authors

Abishek
Rishon Jos Anton
Thomas Albert Iwin

About

License:GNU General Public License v3.0


Languages

Language:HTML 57.3%Language:Python 27.8%Language:CSS 15.0%