Coder Social home page Coder Social logo

aneshaak / winner-pokemon-prediction Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.49 MB

Project aim is to use machine learning for predicting the winner of Pokémon among player choices. Potential audiences are the general public interested in playing the game and company management.

Jupyter Notebook 99.99% Python 0.01%
google-colab-notebook kaggle-dataset python3 scikitlearn-machine-learning scipy seaborn machine-learning-classification supervised-learning crisp-dm

winner-pokemon-prediction's Introduction

Pokémon Winner Prediction

image

This project aim is to use machine learning for predicting the winner of Pokémon among player choices. Potential audiences are the general public interested in playing the game and company management.

Project Flow Diagram

image

Machine Learning Project Phases

  • Data Collection:
    • Pokemon and Battles dataset from Kaggle
  • Data Exploration:
    • Data Quality (Categorical and Continuous features)
    • Box plots, Bar plots and Histograms
    • Correlation Matrix
  • Data Preprocessing:
    • Join csv files
    • Replace null values to NONE
    • Transformed to desired format
    • Normalize required features
    • Feature hashing
  • Data Preparation:
    • Split training and testing data into 75% and 25% respectively
  • Data Modeling:
    • 10-fold Cross Validation for Model selection
    • Trained Models:
      • Decision Tree
      • Random Forest
      • SVM
      • Logistic Regression
      • ADA Boost
  • Evaluating using metrics such as Accuracy score, Confusion matrix and Area Under Curve (AUC)
  • Parameter tunning using RandomSearchCV
  • Live Demo

Conclusion

The accuracy of this model exceeds 95% when both Pokémon names are inputted into the function. We used PyTorch library to build out this functionality into a small Python function, which can be saved locally and called upon whenever needed. While our goal was to create a tool that assists Pokémon Go players in determining whether they will win a battle against a peer. While our current tool is limited to running within a Python environment, we plan to develop a small executable with a basic user interface that can even run on a mobile environment in the future.Moreover, our model only considers the base stats of the Pokémon, but they also have individual statistics called IVs (individual values) that can impact the battle's outcome. By incorporating IVs into the model, we can expect an accuracy of over 99%, since the battle's outcome is highly dependent on them. Therefore, we can further improve our model's accuracy by allowing input of more than just the Pokémon names, but also the IVs.

Contributors

Aneshaa Kasula, Viritha Vanama, Andrew Kehl and Harshini Gadige

This repository contains Jupyter notebooks focused on each stage of CRISP-DM such as data coolection, EDA visualizations, data modeling, demo using Python

winner-pokemon-prediction's People

Contributors

aneshaak avatar

Stargazers

 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.