Giter Club home page Giter Club logo

poker-hand-analysis's Introduction

Analysis and Prediction of Poker Hand Strength

This project involves the analysis and prediction of poker hand strength using UCI Poker Hand data set:

https://archive.ics.uci.edu/ml/datasets/Poker+Hand

Data Preparation

Firstly, there is no missing data. Secondly, RandomForestClassifer is applied to get the feature importance and, as explained in the uploaded report as well, there is no feature that we can ignore as the lowest feature importance is approximately 7% which also makes sense since we can't separate the suites from the card ranks.

Lastly, StandardScaler (which standardizes the features by removing mean and scaling to unit variance) is applied to transform the data in a way that is easier for our Neural Network to converge.

Data Modeling

The data after transformation, is fed into the MLP (Multi-Layer Perceptron) classifier followed by tons of other classifiers in order to present a comparison between their performance measure (mainly accuracy). The list of all classifiers is given below:

  • Bagging
  • Random Forest
  • AdaBoost
  • KNN
  • Naïve Bayes
  • Decision Tree
  • Linear SVM
  • OutputCodeClassifier with Linear SVM
  • OneVsAll with Linear SVM
  • Multi-Layer Perceptron

The accuracy achieved with given MLP configuration is 3.6% better than the research work by Disken (reference no. 3 in the report).

Note

Detailed explanation of each Data Science step (applied) is present in the report (PDF) uploaded. The data exploration, comparison table, classification report etc. are all given in the report. This description is just the gist of the project.

poker-hand-analysis's People

Contributors

sahirnoorali avatar

Stargazers

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