Regression in NBA 2K

Photo by Tarun Savvy on Unsplash
The table above shows our custom players overall rating based solely on 3-point skill

Overall Rating = (Slope * 3-point shooting skill) + Y-intercept

Line of best fit for overall player rating and 3-point skill
RunModel takes an array of numeric inputs and an array of actual numeric outputs
Negative Errors must be converted to positive values through techniques such as absolute value or squaring

Player’s Overall Rating = (Player’s 3-point shooting skill value * .15) + 62

Multiple Regression: Y = mX1 + mX2 …… + mXn + b

This model uses a pandas DataFrame to manage the various input and output columns
The slope for each basketball skill in our NBA2k Multiple Regression model



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store