/PokemonDTR

To implement a decision tree regressor algorithm over a set of Pokemon and Smogon pokemon competition data

Primary LanguagePython

PokemonDTR

The purpose of this project is to first predict a numerical relationship between any given pokemon's attack points and special attack points. This will be done upon the pokemon dataset after loading it in as a pandas dataframe, by using Scikit-Learn's decision tree regressor algorithm. Two decision trees of varying depth will be used to predict the Sp. attack points of several pokemon given attack points. These predictions will then be plotted as a linear regression graph using the pyplot feature of matplotlib. Secondly, another decision tree regressor algorithm will be performed to try and predict the numerical relationship between a given pokemon's attack points and it's usage percentage in the Smogon pokemon competition. After loading in the Smogon dataset as a dataframe using pandas, an inner merge will be performed between the previous Pokemon dataframe and the Smogon dataframe to yield a new dataframe that only includes pokemon present in both dataframes. Then, two more decision tree regressors will be run on the new dataframe to make our predictions for several more pokemon. Finally, this linear regression will be plotted as well using matplotlib's pyplot.

Having Anaconda installed and using a virtual environment is highly recommended as one's required packages are easily contained and organized. For the purposes of this project, numpy will only slightly be required. To install numpy, try pip install numpy. For pandas, refer to this. For Scikit-Learn, this. And finally, for matplotlib, this.