Predict pokemon win with IA learning. Theses predictions are working from Random Forest Algorithm.
Version of Python 3.7
Installing modules:
pip install -r requirements.txt
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.
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