Scrape opgg page
-trying to scrape opgg as part of my interest-
Firstly,
Input for url
- Enter the region of the summoner
- South Korea: kr
- North America: na
- EU West: euw
- EU Nordic & East: eune
- Oceania: oce
- Japan: jp
- Brazil: br
- LAS: las
- LAN: lan
- Russia: ru
- Turkey: tr
- Enter summoner's name
The maximum number of games that could be scraped from opgg using while-true: 500 ±10
The ipynb file contains three parts:
a. Scrape details of specific player (that has an opgg page) from opgg website and store the details in dataframe
b. Some simple analysis and simple plots
c. One simple machine learning method (decision tree) for predicting the status (victory or defeat) of the game, in this case, only "Ranked Solo" queue type were used.
Different tables were generated using different conditions, eg. average victory and defeat time for each champion. groupby and apply were mainly involved.
Play with simple machine learning. In this project, decision tree was involved. Two different model evaluation methods were involved: train test split and cross validation. Both generate different results.