Coder Social home page Coder Social logo

ishaangupta2311 / aquacheck Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akshubawa/aquacheck

1.0 0.0 0.0 116.2 MB

AquaCheck is a machine learning model that predicts whether water is potable or not based on several chemical and physical parameters.

License: Other

Python 49.06% HTML 50.94%

aquacheck's Introduction

AquaCheck

Water Potability Prediction using Machine Learning

This project aims to develop a machine learning model to predict whether the water is potable or not. Potable water refers to water that is safe for human consumption. The model will take input parameters related to various water quality measures, and output a prediction of whether the water is potable or not.

Dataset

The dataset used in this project is the Water Potability Dataset from Kaggle. The dataset contains 3276 records and 9 columns, including pH, Hardness, Solids, Chloramines, Sulfate, Conductivity, Organic_carbon, Trihalomethanes, and Potability.

Methodology

The following steps were taken to develop the machine learning model:

Data Preprocessing: The dataset was cleaned by removing missing values and outliers.

Exploratory Data Analysis: The data was analyzed to understand the distribution of the variables and identify any patterns or correlations.

Feature Engineering: The features were selected based on their correlation with the target variable and their importance in the model.

Model Selection: Three different models were trained and compared based on their performance metrics, including Logistic Regression, Random Forest, and XGBoost.

Model Evaluation: The best model was evaluated using various metrics, including accuracy, precision, recall, F1 score, and ROC-AUC score.

Results

After training and evaluating the three models, the XGBoost model was selected as the best model based on its performance metrics. The XGBoost model achieved an accuracy of 79%, precision of 76%, recall of 66%, F1 score of 70%, and ROC-AUC score of 81%.

Conclusion

The developed machine learning model can predict whether the water is potable or not with reasonable accuracy. The model can be used by water treatment plants, governments, and individuals to ensure that the water they consume is safe for human consumption. However, further research is required to improve the model's performance and validate the results on different datasets.

aquacheck's People

Contributors

akshubawa avatar ishaangupta2311 avatar

Stargazers

 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.