Giter VIP home page Giter VIP logo

social-media-or-ball-game's Introduction

Ball Game or Social Media Game?

A predictive engine for the NBA All-Star vote

Model inputs & outputs: x -> [Network importance scores, Standard & Advanced statistics], y -> [All-Star fan vote, All-Star player vote]

Directories:

  • allstar-votes:
    • contains a series of html files pulled programmatically from basketball-reference.com
    • parse.py, parse.sh, players-parse.py, usernames-and-handles.py: scripts to process all the html and associate entries for each player with a username
    • allstar-votes/player-votes: collection of player names and number of player votes received for a given season. Some logic for processing csvs
    • allstar-votes/votes: collection of player names and the number of fan votes receieved for a given season
  • ig:
    • series of csvs pulled from Instagram containing information like who a user follows, who follows them etc.
    • ig/processed: the above, but processed (removed all redundant information)
    • ig/scripts: the core logic for this project, including PageRank.ipynb which processes all follower information and generates importance metrics
    • ig/scripts/count: logic for mimicking a browser and obtaining a follower count for each player (also an input to the model)
  • kaggle:
    • logic for making and running the learning model
    • contains raw statistics (basic and advanced)
    • kaggle/gs: logic for scraping and obtaining the missing "GS" (games started) statistic from bbref.com
  • env: virtual environment

social-media-or-ball-game's People

Contributors

oliverschwartz avatar mnicholas2015112 avatar

Watchers

James Cloos avatar

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.