GithubHelp home page GithubHelp logo

simoncos / lola Goto Github PK

View Code? Open in Web Editor NEW
139.0 13.0 38.0 2.62 MB

LoL (League of Legends) game data analysis / analytics

Python 100.00%
machine-learning data-mining game-analytics social-network-analysis league-of-legends

lola's Introduction

LoLA

LoLA is a LoL (League of Legends) game data analysis / analytics project. See report.

Crawling

The data crawling part is based on Riot API and a Python wrapper Cassiopeia (There is a In-Memory cache problem in Cass, refer to here). A SQLite database is designed and used in this project, which remodels and stores game objects for our analysis objectives. The database I/O part involves sqlite3 and pandas.

This part has been well tested with Python 3.5, though in some environments (e.g. Windows cmd) a decode/encode error may occur in print functions due to multi-language issue; you can just comment out all print codes without any influcence on crawling itself. Python 2.X may also run well with a few edits.

Dataset

We have obtained data of over 220,000 Ranked-SOLO-5x5 matches with details in the North American region, Pre-Season 2016.

Analysis

We are doing analyses such as:

  • Champion Rank
  • Champion Clustering
  • Champion Recommendation
  • Match Prediction
  • Cheating Detection

Our results will be uploaded continuously. As we are doing many experiments, code in this part is quite messy now and will be refined later.

If you are interested in this project or have any problem, feel free to participate in.

lola's People

Contributors

fancywoody avatar simoncos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lola's Issues

loss file?

in filedata_preprocess.py,line from statics import champions,i can't find statics in project,so...where can can i find it?

data_reprocess.py

C:\Users\User\Desktop\lola-master>python3 data_preprocess.py
Traceback (most recent call last):
File "data_preprocess.py", line 3, in
from statics import champions
ImportError: No module named 'statics'

Where can i get this module ? Thanks

data_crawl.py

When I running this code, the below error sometime occurs.

160 matches in 548 processed.
170 matches in 548 processed.
180 matches in 548 processed.
Traceback (most recent call last):
File "data_crawl.py", line 357, in
main()
File "data_crawl.py", line 51, in main
begin_crawling(api_key='d70740d1-9d4b-4f1a-8f12-e34bbc5c5179', seed_summoner_id='20570900')
File "data_crawl.py", line 114, in begin_crawling
match_to_sqlite(match, summoner, conn)
File "data_crawl.py", line 181, in match_to_sqlite
if match.timeline.frames is not None:
AttributeError: 'NoneType' object has no attribute 'frames'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.