Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 723 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 723 Bytes

Pokemon_Win_Prediction

Predict pokemon win with IA learning. Theses predictions are working from Random Forest Algorithm.

Installation

Version of Python 3.7

Installing modules: pip install -r requirements.txt

How it's work

Training

Before run the main script, you need to train the prediction model.

You only need to run in terminal python train.py

Verify the models folder, normally model_pokemon.mod appear.

Search winner

In the play.py file.

Replace first_pokemon_id with your first pokemon id and do the same with the second pokemon.

predict(first_pokemon_id, second pokemon id, pokedex)

Then, run the python script in temrinal with python play.py