Code Monkey home page Code Monkey logo

noahgift / socialpowernba Goto Github PK

View Code? Open in Web Editor NEW
27.0 7.0 42.0 8.73 MB

Social Power in the NBA (Comparing on the court performance with Social Influence in R and Python)

Home Page: https://www.amazon.com/Pragmatic-AI-Introduction-Cloud-based-Learning/dp/0134863860

License: Other

Python 0.36% Makefile 0.01% Jupyter Notebook 99.45% R 0.19%
r python nba ggplot2 ipython-notebook jupyter-notebook machine-learning machine-learning-algorithms ml prediction

socialpowernba's Introduction

Introduction

This project and the data explores the relationship between Social Media, Salary, Influence, Performance and Team Valuation in the NBA. This is covered in Chapter 6 of Pragmatic AI

Pragmatic AI Labs

alt text

This project was produced by Pragmatic AI Labs. You can continue learning about these topics by:

Strata 2018 Talk

IBM Developerworks Articles on Project

Kaggle Version of Project

You can also see Kaggle Notebooks here:

Data Legend

This notebook has the following data legend:

  • TEAM: Name of the NBA Team
  • GMS: Games Played
  • PCT_ATTENDANCE: Average % Attendance of capacity (note some teams were over capacity as an averag)
  • WINNING_SEASON: If the team won over 50% of their games, it was 1, otherwise 0.
  • TOTAL_ATTENDANCE_MILLIONS: Total season attendance in the millions.
  • VALUE_MILLIONS: Valuation of the team in millions
  • ELO: https://en.wikipedia.org/wiki/Elo_rating_system
  • CONF: Eastern or Western Conference
  • COUNTY: The county where the team is located
  • MEDIAN_HOME_PRICE_COUNTY_MILLIONS: Median Home Price
  • COUNTY_POPULATION_MILLIONS: The Population of the county in Millions
  • cluster: A cluster created by KMeans clustering (shown in notebook)
  • PLAYER: NBA Player Name
  • TEAM: NBA Team
  • SALARY_MILLIONS: Salary paid to player in Millions
  • ENDORSEMENT_MILLIONS: Endorsements paid to player in Millions
  • PCT_ATTENDANCE_STADIUM: Average % attendance in stadium
  • ATTENDANCE_TOTAL_BY_10K
  • FRANCHISE_VALUE_100_MILLION
  • ELO_100X: https://en.wikipedia.org/wiki/Elo_rating_system/100
  • CONF: Eastern or Western Conference (Even split between all teams between both conferences)
  • POSITION: Position of the player
  • AGE
  • MP: Minutes/Games Average
  • GP: Games played
  • MPG: Minutes/Games Average
  • WINS_RPM: Wins attributed to individual player performance. One of the best metrics of overall impact on team.
  • PLAYER_TEAM_WINS: Wins for the team the playes is on.
  • WIKIPEDIA_PAGEVIEWS_10K: Pageviews of player divided by 10 thousand TWITTER_FAVORITE_COUNT_1K: Twitter favorites of player profile divided by 1 thousand.

Social Power, Influence and Performance in the NBA

Social Power in the NBA (Comparing on the court performance with Social Influence)

Social Power Data Sources

Data Exploration

Player Impact Estimation

NBA 2016-2017 Season PIE

Social Power, Performance and Salary

NBA 2016-2017 Season Twitter, Salary and Performance

Valuation vs Attendance

NBA 2016-2017 Season Valuation Vs Attendance

ELO vs Attendance

NBA 2016-2017 ELO Score Vs Attendance

ELO Correlation Heatmap

NBA 2016-2017 ELO, Attendance, Valuation Heatmap

REAL PLUS MINUS Wins, POINTS and SALARY

NBA 2016-2017 REAL PLUS MINUS Wins, POINTS and SALARY

3D Plot

3D Plot

ALL Data Correlation Heatmap

NBA 2016-2017 Correlation Heatmap REAL PLUS MINUS Wins, POINTS, SALARY, Wikipedia, Twitter

Explore Juypter Notebooks

Juypter Noteboooks Social Power

Social Money

NBA 2016-2017 Social Power, Influence and Performance Heatmap

Social Power and Performance

NBA 2016-2017 Social Power and Performance Heatmap

NBA 2016-2017 Social Power and Performance Correlation Heatmap

Explore Raw Data Here

His most recent books are:

His most recent video courses are:

His most recent online courses are:

socialpowernba's People

Contributors

noahgift 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

socialpowernba's Issues

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.