Skip to content

Add Water Potability Predictive Model#61

Closed
student-smritipandey wants to merge 1 commit intoAvishkarPatil:mainfrom
student-smritipandey:new-model
Closed

Add Water Potability Predictive Model#61
student-smritipandey wants to merge 1 commit intoAvishkarPatil:mainfrom
student-smritipandey:new-model

Conversation

@student-smritipandey
Copy link

@student-smritipandey student-smritipandey commented Sep 9, 2025

The Water Potability Prediction model is a machine learning-based solution designed to determine whether water is safe for human consumption. Using key water quality parameters—pH, Total Dissolved Solids (TDS), Turbidity, Depth, and Flow Discharge—the model classifies water as Safe or Unsafe.

The project leverages a Random Forest Classifier, trained on real-world water quality datasets, to accurately identify unsafe water samples, even in regions where laboratory testing is unavailable. To improve reliability, the system also incorporates a threshold-based safety check that instantly marks samples as Safe if pH, TDS, and Turbidity fall within widely accepted safe limits.

The solution is integrated with an interactive Streamlit web application, allowing users to input water feature values via sliders and receive real-time predictions. This makes it highly accessible for rural and urban communities, water treatment facilities, and public health organizations.

Key Features:

Accurate classification of water samples using Random Forest.

Quick threshold check for obvious safe samples.

User-friendly web interface for real-time predictions.

Scalable and deployable for batch predictions or online monitoring.

Impact:
This model helps communities detect water contamination early, ensuring better public health, and supporting water quality monitoring initiatives in areas lacking laboratory infrastructure.

🔄 Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • ⚡ Performance improvement

🧪 Testing

  • I have performed a self-review of my code
  • Code has been tested locally
  • Tests pass (if applicable)
  • No new warnings introduced

✅ Checklist

  • My code follows the project's coding standards
  • I have updated documentation where necessary
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

The Water Potability Prediction model is a machine learning-based solution designed to determine whether water is safe for human consumption. Using key water quality parameters—pH, Total Dissolved Solids (TDS), Turbidity, Depth, and Flow Discharge—the model classifies water as Safe or Unsafe.

The project leverages a Random Forest Classifier, trained on real-world water quality datasets, to accurately identify unsafe water samples, even in regions where laboratory testing is unavailable. To improve reliability, the system also incorporates a threshold-based safety check that instantly marks samples as Safe if pH, TDS, and Turbidity fall within widely accepted safe limits.

The solution is integrated with an interactive Streamlit web application, allowing users to input water feature values via sliders and receive real-time predictions. This makes it highly accessible for rural and urban communities, water treatment facilities, and public health organizations.

Key Features:

Accurate classification of water samples using Random Forest.

Quick threshold check for obvious safe samples.

User-friendly web interface for real-time predictions.

Scalable and deployable for batch predictions or online monitoring.

Impact:
This model helps communities detect water contamination early, ensuring better public health, reducing the risk of waterborne diseases, and supporting water quality monitoring initiatives in areas lacking laboratory infrastructure.
@github-actions
Copy link

github-actions bot commented Sep 9, 2025

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@student-smritipandey
Copy link
Author

@AvishkarPatil added the model please check

@AvishkarPatil AvishkarPatil added OSCI'25 Open Source Connect India 2025 project Hard Complex tasks, experienced contributors labels Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hard Complex tasks, experienced contributors OSCI'25 Open Source Connect India 2025 project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants