Skip to content

noahgift/socialpowernba

Repository files navigation

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: