Git Product home page Git Product logo

nba-salary-predictor's Introduction

nba-salary-predictor

A script that predicts the salary of an NBA player given a series of figures ranging from the player's statistics from the previous season to his social media activity and following.

The predictor was created using data from just 230 players, which prevents supremely accurate results. However, the following accuracies were found:

  • Logistic Regression Model: MSE of approximately 3.5
  • Deep Neural Network: MSE of approximately 3.8

This accuracy is relatively good, and would allow players to gauge how much they will be paid in upcoming free agency deals when their contracts expire.

A good utilization of such a script would be when players are negotiating contracts with teams, as they could use such a model to bargain their wages.

Another possible utilization could be for a player exiting his rookie contract, as he would never have been in the free agency market before. The model thus provides an indication as to which tier of contracts he should be looking at, and thus allows him to understand whether he should take his current team's contract, should they offer one.

However, due to the unpredictable nature of the NBA market and the cap nature of teams, the models are ultimately unlikely to be able to nail down concretely accurate salaries for players.

nba-salary-predictor's People

Contributors

kjaisingh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

nba-salary-predictor's Issues

Some defects

Although it is an amzaing job, some defects exist in your work.

  • First, in the data processing peroid, I think you didn't merge well. For instance, Anthony Tolliver has two team id. (And if I implement as follows -- player_stat_1 = player_stat_2017.drop_duplicates()), he seems to occupy two rows, where he has different team id in the second row.
  • Second, I see the pairplot you draw, and I strongly recommend you to have a better illustration on the insights of this.
  • Third, you adopt statmodels to implement the Linear Regression, however, have you ever think about to use sklearn to implement the job? I think by this way, your job will be more congurous.

By the way, I want refer your work as mine. I would indicate yours as resource, do you agree with that? I you are interested, I would also be willing to pull you a request for the further implementation using ANNs.

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.