Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing pip install, new cloudshell league file #24

Merged
merged 4 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deps/cloudshell_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ ansicolors==1.1.*
requests==2.28.*
attrs==21.4.*
pandas==1.4.*
ujson==5.4.*
ujson==5.4.*
rich
pyyaml
8 changes: 4 additions & 4 deletions hols/dataextraction/optimizer/optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Estimated Time: 30 minutes

If we want to build an AI/ML model, we need data. Lots and lots of data.

For that, Riot Games has provided us with several HTTPs endpoints to make requests and obtain this data. Through the [sqlite_league.py](https://github.com/oracle-devrel/leagueoflegends-optimizer/blob/livelabs/src/sqlite_league.py) file, we'll be able to make all the kinds of requests we want. This Python file has been programmed to allow input parameters and determine the execution mode.
For that, Riot Games has provided us with several HTTPs endpoints to make requests and obtain this data. Through the [cloudshell_league.py](https://github.com/oracle-devrel/leagueoflegends-optimizer/src/cloudshell_league.py) file, we'll be able to make all the kinds of requests we want. This Python file has been programmed to allow input parameters and determine the execution mode.

All tools mentioned in this lab are designed to allow parallel and continuous execution, meaning that, if you don't stop execution of the optimizer, it will keep collecting data **indefinitely**. You're free to explore with how much data you want to extract using the optimizer.

Expand Down Expand Up @@ -49,7 +49,7 @@ The more you repeat this process, the more data your dataset will have. If you w
1. To extract player data, we can run:

```bash
λ <copy>python src/sqlite_league.py</copy>
λ <copy>python src/cloudshell_league.py</copy>
```

![player list result](images/result-player-list.PNG)
Expand All @@ -60,7 +60,7 @@ The more you repeat this process, the more data your dataset will have. If you w
2. To extract previously played matches' IDs from our pool of players in the database, we can do this:

```bash
λ <copy>python src/sqlite_league.py --mode="match_list"</copy>
λ <copy>python src/cloudshell_league.py --mode="match_list"</copy>
```

![match list result](images/result-match-list.PNG)
Expand Down Expand Up @@ -102,4 +102,4 @@ You may now [proceed to the next lab](#next).

* **Author** - Nacho Martinez, Data Science Advocate @ DevRel
* **Contributors** - Victor Martin, Product Strategy Director
* **Last Updated By/Date** - May 28th, 2023
* **Last Updated By/Date** - July 20th, 2023
Loading