Git Product home page Git Product logo

water-potability-prediction's Introduction

Water Potability Prediction 💦💧

Click to and interact with the application. 🥂

Problem Statement

Water is used to carry out activities such as dehydration, cleaning and food production. Well-mainteained water resources can boost countries’ economic growth (to be used in production or agriculture activities) and can reduce poverty rate. In contrast, contaminated water are often associated with the transmission of diseases such as cholera, diarrhoea, and hepatitis A. Lack of clean water resources could put both the patients and health care workers at additional risk of being infected by viruses.

Main Objective

To predict if each water sample is potable or not potable. (Binary Classification)

Dataset Descriptions

🌟The dataset is provided by Aditya Kadiwal on Kaggle.

  • ph: Water pH level (0 to 14).
  • Hardness: Capacity of water to precipitate soap in mg/L.
  • Solids: Total dissolved solids in ppm.
  • Chloramines: Amount of Chloramines in ppm.
  • Sulfate: Amount of Sulfates dissolved in mg/L.
  • Conductivity: Electrical conductivity of water in μS/cm.
  • Organic_carbon: Amount of organic carbon in ppm.
  • Trihalomethanes: Amount of Trihalomethanes in μg/L.
  • Turbidity: Measure of light emiting property of water in NTU.
  • Potability: Indicates if water is safe for human consumption. Potable = 1 and Not potable = 0

Result

  • 5 classifiers were sorted out based on their accuracy on the testing data. They are then further tuned. After that, 3 of these tuned classifiers (random forest, extra trees and SVC) were used to build a voting classifier that can achieve an accuracy of 69.11% on the testing data. This accuracy is higher than the accuracy of any other models built.
  • The final model is deployed and is accessible on Streamlit.

Recommendations

  • There are many other algorithms that could be tried out with this dataset, such as CatBoost Classifier and Light Gradient Boosting Machine.
  • Tune the selected individual models with different hyperparameters.

water-potability-prediction's People

Contributors

jadanpl avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.