{"id":22302800,"url":"https://github.com/deepak5256/smartwaterquality","last_synced_at":"2026-02-23T21:45:25.438Z","repository":{"id":263233812,"uuid":"889750907","full_name":"deepak5256/SmartWaterQuality","owner":"deepak5256","description":"An integrated Java and Python project for predicting water potability using machine learning and an interactive GUI.","archived":false,"fork":false,"pushed_at":"2024-11-17T06:10:30.000Z","size":2107,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T05:10:59.074Z","etag":null,"topics":["data-science","integration-ai","java","machine-learning","python","swing-gui","water-quality-prediction"],"latest_commit_sha":null,"homepage":"https://github.com/deepak5256/SmartWaterQuality.git","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepak5256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-17T06:03:41.000Z","updated_at":"2024-12-05T10:18:49.000Z","dependencies_parsed_at":"2024-11-17T07:22:40.259Z","dependency_job_id":"b2338c1c-77af-4570-85d8-73bcc018407b","html_url":"https://github.com/deepak5256/SmartWaterQuality","commit_stats":null,"previous_names":["deepak5256/smartwaterquality"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepak5256/SmartWaterQuality","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepak5256%2FSmartWaterQuality","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepak5256%2FSmartWaterQuality/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepak5256%2FSmartWaterQuality/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepak5256%2FSmartWaterQuality/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepak5256","download_url":"https://codeload.github.com/deepak5256/SmartWaterQuality/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepak5256%2FSmartWaterQuality/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278891744,"owners_count":26063855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","integration-ai","java","machine-learning","python","swing-gui","water-quality-prediction"],"created_at":"2024-12-03T18:41:29.675Z","updated_at":"2025-10-08T04:49:46.797Z","avatar_url":"https://github.com/deepak5256.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n---\n\n\n\n##  Water Quality Prediction\n\nThis project combines **machine learning** and a **Java GUI** to create an application that predicts water potability based on various water quality parameters. \n\n### **Project Structure**\n1. **water_quality_model.pkl**: Pre-trained machine learning model for water quality prediction.\n2. **scaler.pkl**: Scaling logic for normalizing input data.\n3. **water_potability.csv**: Dataset containing water quality parameters like pH, Hardness, etc.\n4. **train_model.py**: Python script to train the machine learning model.\n5. **predict.py**: Python script for making batch predictions using the trained model.\n6. **predict_water_quality.py**: Python script to streamline the prediction process, possibly used for CLI.\n7. **background.jpg**: Background image used for the GUI.\n8. **WaterQualityGUI.java**: Java Swing-based GUI for inputting water parameters and receiving predictions.\n9. **Compiled Classes**: \n   - **WaterQualityGUI.class**: Compiled Java GUI classes.\n\n### **Features**\n- **Machine Learning**: Predicts water potability based on key parameters.\n- **Interactive GUI**: User-friendly Java-based interface for input and output.\n- **Python Integration**: Model training and predictions handled in Python, integrated with Java.\n\n### **How to Run**\n1. **Python Setup**:\n   - Install dependencies:\n     ```bash\n     pip install pandas scikit-learn\n     ```\n   - Train the model:\n     ```bash\n     python train_model.py\n     ```\n   - Test predictions:\n     ```bash\n     python predict.py\n     ```\n\n2. **Java Setup**:\n   - Compile the GUI:\n     ```bash\n     javac WaterQualityGUI.java\n     ```\n   - Run the GUI:\n     ```bash\n     java WaterQualityGUI\n     ```\n\n3. **Ensure Integration**:\n   - Verify Python and Java paths for seamless interaction.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepak5256%2Fsmartwaterquality","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepak5256%2Fsmartwaterquality","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepak5256%2Fsmartwaterquality/lists"}