Giter Club home page Giter Club logo

water-potability's Introduction

Water Potability Classification

A binary classification problem that determines if water is drinkable based upon numerical features such as pH levels.

Approach

Performed Exploratory Data Analysis to better understand the data I was dealing with and inform decisions around pre-processing.

Following this analysis, once the data was prepared I tried various supervised learning modules, tuning hyper-parameters with cross-validation and trying different evaluation metrics.

Once these supervised learning methods were trained and tuned, I evaluated their performance on the test set.

Insights

This dataset proved to be a very difficult classification task, with it being very hard to perform above low to mid-60s in terms of percent.

The most effective classifiers ended up being SVMs and KNNs models. However, the best performance was achieved by creating custom ensemble methods in voting and stacking which utilized these single models and other built-in ensemble methods like Random Forests and Adaboost.

Final results and remarks

Ensembling together multiple models was the most effective approach. Different methods of imputation helped with certain models, but overall I believe the hardest part of this classification task is having domain knowledge to construct better features and not having a large number of examples. This was a great learning experience and allowed me to get familiar with many applications of ML, namely those within Sci-kit Learn. I also got experience with analyzing the data to better inform decisions made about each model.

water-potability's People

Contributors

bwoody13 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.