<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Saadan Mir on Medium]]></title>
        <description><![CDATA[Stories by Saadan Mir on Medium]]></description>
        <link>https://medium.com/@shmir234?source=rss-c2fa17352b49------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WdKpIstRx9bLXBRtv6GEqg.jpeg</url>
            <title>Stories by Saadan Mir on Medium</title>
            <link>https://medium.com/@shmir234?source=rss-c2fa17352b49------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:42:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shmir234/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Rookie Running Back Fantasy Football Projections]]></title>
            <link>https://medium.com/@shmir234/rookie-running-back-fantasy-football-projections-9ca09b7b018f?source=rss-c2fa17352b49------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ca09b7b018f</guid>
            <category><![CDATA[nfl]]></category>
            <category><![CDATA[nfl-draft]]></category>
            <category><![CDATA[fantasy-football]]></category>
            <category><![CDATA[fantasy-sports]]></category>
            <category><![CDATA[regression]]></category>
            <dc:creator><![CDATA[Saadan Mir]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 18:33:42 GMT</pubDate>
            <atom:updated>2022-09-03T18:33:42.909Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n5UfcH1Dnm8-5HV4" /><figcaption>Photo by <a href="https://unsplash.com/@mkaine17?utm_source=medium&amp;utm_medium=referral">Fredrick Lee</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Fantasy Football has been an obsession of mine for almost two decades now. I wrote articles about the ideal fantasy football lineup during my time working for my high school newspaper. I’m in a couple of dynasty leagues for this coming season where I have completely imploded my team in order to rebuild my roster to compete in future seasons. As a result, I had 5 of the top 15 picks in a rookie draft, and wanted to do my best to take an analytical/ data-based approach to find the optimal player to pick for each of my selections.</p><p>I went through multiple different channels to get the data I needed in order to create a basic linear regression model predicting the peak fantasy seasons of the rookie running backs within the 2022 NFL Draft class. In order to do so I used a combination of Python and Excel to both collect and analyze data.</p><p>The first step in my process was gathering information on previous rookie running backs drafted in the NFL Draft over the years. I knew I could find this information via the all encompassing NFL stat website <a href="https://www.pro-football-reference.com/">Pro Football Reference </a>. At Pro Football Reference they have a unique page with a data table for each player selected in the NFL Draft for a given year. I used Python’s Beautiful Soup library in order to scrape the data from these tables for a given number of drafts. The code I used to do so is the following:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5b70349173180f9e62d45f62c9fe7c99/href">https://medium.com/media/5b70349173180f9e62d45f62c9fe7c99/href</a></iframe><p>In the above code I am collecting several attributes from each NFL Draft from 2000–2022. These attributes include the position of the player, the order in which they were selected in the draft, and additional descriptive attributes. Once I collected this data, I edited this dataset to whittle down the pool of players to only include Running Backs. Next, I needed to collect the college performance of these players from the website Sports Reference (like Pro Football Reference, but containing college statistics). I used the below code to do so:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6adc29b207e33391a45d0673113913e/href">https://medium.com/media/f6adc29b207e33391a45d0673113913e/href</a></iframe><p>I needed to do some manual manipulation in order to loop through the individual player page for each player in this dataset, but once I did this I was able to obtain the desired college statistics for players selected in the NFL Draft.</p><p>Following this, I chose to obtain the fantasy statistics from the best single season that each of these players had while in the NFL. I did this by manually collecting data from the website <a href="https://fantasydata.com/">https://fantasydata.com/</a> for every NFL season that I had collected NFL draft data from. I then filtered out any players who did not appear as a selection in the NFL draft to and made sure to only include the best statistical season in terms of fantasy points scored for each individual player.</p><p>The final data I needed to collect was combine measurements that the NFL collects during pre-draft evaluation. This information is key when evaluating players as athletic ability can often be the key in determining if someone will be a good player versus a great one. I obtained this data manually from the website <a href="https://nflcombineresults.com/">https://nflcombineresults.com/</a>.</p><p>I set to work on taking relevant portions of these 4 distinct datasets and combining them to create a multiple linear regression model predicting the peak fantasy points scored in a single season for the incoming rookie running back class. The model went through multiple iterations reducing complexity each time while trying to preserve the statistical significance . The final version of the model included the following features:</p><p>Draft Pick — The overall number when this player was chosen in the NFL Draft</p><p>Age Drafted — The age of the player at the time they were selected in the draft</p><p>Rush_att_bestyr — The number of rush attempts this player had during their best statistical college season.</p><p>Rush_yards_bestyr — The number of rushing yards this player had during their best statistical college season.</p><p>Rec_yards_bestyr — The number of receiving yards this player had during their best statistical college season.</p><p>Weight — The weight of the player at the time they were drafted</p><p>40 Yard — The performance on the 40 yard dash for the player at the NFL Combine</p><p>Vert_Leap — The performance on the vertical leap for the player at the NFL Combine</p><p>These data points were used as the variables to predict the single season peaks for these players in terms of fantasy points. The output of the regression model is below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHZfvGFIQjwFEItzMNHrCA.png" /></figure><p>The fitted regression model is Predicted Best Fantasy Points = 84.51- 0.652 * (Draft_Pick)- 5.72 * (Age_Drafted)+.033 * (Rush_att_bestyr)+.021*(Rush_yards_bestyr) + 0.067 * (rec_yards_best_yr)+0.57 * (Weight) + 51.51 * (40_Yard)- 4.42*(Vert_Leap)</p><p>The overall regression has some explanatory value of the variation in player’s Best Fantasy Seasons, albeit a relatively weak one as seen with the R-squared value of 0.34.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*egB3L9c7GSTIpmxfDIDukQ.png" /></figure><p>The above chart displays the results of my model using players from the 2017 NFL draft class and their actual peak fantasy football seasons. My model did relatively well in terms of predictions, however it did have two huge misses in Alvin Kamara and Aaron Jones who both performed very poorly in my model compared to their strength as fantasy assets in real life. Still, other players such as Leonard Fournette, Christian McCaffrey, Dalvin Cook, and Joe Mixon were correctly identified as top performers from this draft crop of running backs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l_eRx09JC01Rt4LtSNtp9Q.png" /></figure><p>For this larger group of running backs that include players from the 2018 to 2021 draft class; the results are similar to the 2017 draft rankings. These players are still relatively young in their NFL careers, so there is a chance for movement among this group, but for the model was able to identify players such as Jonathan Taylor and Javonte Williams as top prospects. Overall, my model was not very successful in pinpointing the actual peaks of the highest performing players, however it is a relatively useful tool in determining the tier a player may land in comparison to their peers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bykUH-hT-N6YlhQXz52abQ.png" /></figure><p>Upon reviewing the predictions my model produced for recently drafted running backs, I felt confident enough to utilize my results in my dynasty league’s rookie draft for this season (in a supplementary parameter in conjunction with expert rankings and my own gut feelings on players). This led me to drafting Tyler Allgeier early on in the 2nd round at pick 2.04 ahead of players such as Dameon Pierce, Zamir White, and Pierre Strong who were drafted before him in the real NFL draft. I also traded into the back end of the 3rd round of my draft to ensure I was able to draft Tyrion Davis-Price.</p><p>The preseason performances of the running backs in this year’s draft class has given me hope that my model has accurately produced a good ranking of these players and how their best NFL fantasy seasons will stack up. I’m excited to watch these players perform and build upon this model for next year’s draft!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ca09b7b018f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NBA Draft Analysis: Using Machine Learning to Project NBA Success]]></title>
            <link>https://medium.com/data-science/nba-draft-analysis-using-machine-learning-to-project-nba-success-a1c6bf576d19?source=rss-c2fa17352b49------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1c6bf576d19</guid>
            <category><![CDATA[nba]]></category>
            <category><![CDATA[nba-draft]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Saadan Mir]]></dc:creator>
            <pubDate>Mon, 07 Feb 2022 01:33:26 GMT</pubDate>
            <atom:updated>2022-02-10T04:37:49.466Z</atom:updated>
            <content:encoded><![CDATA[<h4>An attempt on using Machine Learning to project success in NBA.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4HbjYM3h-qLpywlu" /><figcaption>Photo by <a href="https://unsplash.com/@echaparro?utm_source=medium&amp;utm_medium=referral">Edgar Chaparro</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>It’s no secret that one of the most crucial parts of building a successful sports franchise is acquiring the most talented players possible. For NBA teams, the most surefire way to acquire this talent is with a selection in the NBA draft. Once a year, NBA teams and their fans get filled with the hope that they can bring in a college star who can translate their success to the professional level.</p><p>However, in reality, the NBA draft is a very inexact science and one that often leads to players with high expectations failing to live up to them. As an avid fan of the NBA draft, I wanted to determine if it was possible to utilize a draft prospect’s college career to assist in the decision-making process when evaluating their NBA future. This seemed like a great intersection of data analysis and sports for me, and an opportunity to gain new skills along the way.</p><p>I knew that my one-stop-shop for basketball statistics would be <a href="https://www.basketball-reference.com/">Basketball-Reference</a>. After doing a bit of research, I discovered the <a href="https://www.crummy.com/software/BeautifulSoup/bs4/doc/">BeautifulSoup</a> library for Python which I knew would work well for me in being able to obtain data from Basketball-Reference in an efficient manner.</p><p><strong>NOTE</strong>: All code used for this post can be found on GitHub, organized in this <a href="https://github.com/shmir234/NBA_Draft_Analysis_ML">notebook</a>.</p><h3>Collecting the Data</h3><p>As mentioned previously I obtained the NBA data for this project from Basketball-Reference. I also needed NCAA basketball statistics for my analysis which I obtained from <a href="https://www.sports-reference.com/cbb/">Sports-Reference College Basketball</a>. To get this data I used the Python library Beautiful Soup, which allows for pulling data out of HTML and XML files. My first step was to obtain data from past NBA Drafts. I chose to look at the past 20 NBA Drafts initially, mainly due to how rapidly the NBA game changes and wanting to predict success in the current NBA landscape.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N6IIOdnuNz_1kai-.png" /></figure><p>The page that I obtained this data from is the above. The URL for this page is <a href="https://www.basketball-reference.com/draft/NBA_2019.html">https://www.basketball-reference.com/draft/NBA_{draft_year}.html</a>. To obtain a dataset for several NBA drafts I needed to utilize a for loop to iterate through a list of years and update the URL for multiple NBA drafts. Once finished, I was able to obtain a dataset of all players drafted in the past 20 NBA drafts as well as their NBA career statistics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cuQ4js7EHAYw6XV_.png" /></figure><p>My next goal was to obtain college statistics that would be tied to each of the applicable players in this data. Before doing so, I chose to look at the distribution of Games Played for all players drafted as I wanted to see what a typical NBA career length looks like.</p><p>Prior to creating a visualization, I removed any players who did not play any NBA games as well as those who did not attend college. There are many reasons why drafted players may not ever log an NBA minute, this could include overseas players getting drafted and choosing to stay in overseas professional leagues or even serious injury in some unfortunate cases.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplotly.com%2F%7Eshmir234%2F8.embed%3Fautosize%3Dtrue&amp;display_name=Plotly&amp;url=https%3A%2F%2Fchart-studio.plotly.com%2F%7Eshmir234%2F8%2F&amp;image=https%3A%2F%2Fchart-studio.plotly.com%2Fstatic%2Fwebapp%2Fimages%2Fplotly-logo.8d56a320dbb8.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=plotly" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/93e83a4c5bf877961e4623696e9178cd/href">https://medium.com/media/93e83a4c5bf877961e4623696e9178cd/href</a></iframe><p>It’s apparent that the distribution of NBA Games played is right-skewed, which makes sense as there is an ever-rotating list of hopeful NBA players coming into the league year after year. It’s a lot more common for NBA players to last only 2–3 seasons than it is for there to be someone like Lebron James with a career spanning almost two decades. To ensure that there was a decent baseline of NBA performance accounted for in my upcoming analysis, I decided to remove any players who did not have at least 82 games played in the NBA, the equivalent of one full season.</p><p>After making these changes I followed a similar process as earlier to obtain the college statistics for the remaining players in the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KCf4GkSzBsuEwuC3.png" /></figure><p>The link for individual player college statistics is as follows: <a href="https://www.sports-reference.com/cbb/players/stephen-curry-1.html">https://www.sports-reference.com/cbb/players/{player_first_name}-{player_last_name}-1.html</a>. The dataset I obtained for college players included the career college statistics for NBA draftees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yIy9mOVoIpPYSShv.png" /></figure><p>I considered 4 metrics to utilize as the target variable for a regression model that would indicate the level of success for an NBA career; WS, WS/48, VORP, and BPM. A quick description of each of these:</p><h3>Target Selection</h3><p>WS — <a href="https://www.basketball-reference.com/about/ws.html">Basketball Reference</a> defines a Win Share as “a player statistic which attempts to divvy up credit for team success to the individuals on the team.” The calculation for a win share includes crediting both offensive and defensive win shares to a player. This involves calculating the marginal offensive and defensive impacts of a player relative to league average to develop a metric meant to quantify the impact on wins a player will make throughout their NBA career.</p><p>WS/48 — The same calculation methodology as Win Shares adjusted to standardize for minutes played. Because Win Shares are calculated using counting stats, they favor players who spend more time on the court. This statistic evens the playing field to look at the impact of all players if they played the same number of minutes.</p><p>VORP — Per <a href="https://www.basketball-reference.com/about/glossary.html">Basketball Reference,</a> VORP is defined as “ a box score estimate of the points per 100 TEAM possessions that a player contributed above a replacement-level (-2.0) player, translated to an average team and prorated to an 82-game season. Multiply by 2.70 to convert to wins over replacement.”</p><p>BPM — Once again referencing <a href="https://www.basketball-reference.com/about/bpm2.html">Basketball Reference</a>, “Box Plus/Minus, Version 2.0 (BPM) is a <strong>basketball box score-based metric</strong> that estimates a basketball player’s contribution to the team when that player is on the court. It is based only on the information in the traditional basketball box score — no play-by-play data or non-traditional box score data (like dunks or deflections) are included.”</p><p>I decided to utilize WS as the final choice for the target variable in my regression model. None of these metrics are perfect encapsulations of the impact a NBA player will have on the court, but when looking in at the <a href="https://www.basketball-reference.com/leaders/ws_career.html">list of career leaders in NBA win shares</a> we can see that this metric is definitely pointing in the right direction. The top performers in this metric are littered with Hall of Famers and players who would be if they retired today.</p><p>Looking at the distribution of WS across the data we can see that it is right skewed. This makes perfect sense as Win Shares is a statistic that accumulates across a player’s entire career.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplotly.com%2F%7Eshmir234%2F10.embed%3Fautosize%3Dtrue&amp;display_name=Plotly&amp;url=https%3A%2F%2Fchart-studio.plotly.com%2F%7Eshmir234%2F10%2F&amp;image=https%3A%2F%2Fchart-studio.plotly.com%2Fstatic%2Fwebapp%2Fimages%2Fplotly-logo.8d56a320dbb8.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=plotly" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/1c67c5ee0aaa04cee798115db4759b91/href">https://medium.com/media/1c67c5ee0aaa04cee798115db4759b91/href</a></iframe><p>Following the decision of my target variable, I moved forward with preparing the data I would be working with to be clean for a Machine Learning model. This included handling any missing values in the college statistics and removing any features that were unnecessary.</p><p>Before training the data in a regression model, I chose to perform feature selection in order determine and filter which college statistics would have the strongest information gain with NBA Win Shares. After finishing this process the college statistics that would be kept in my model as explanatory features included:</p><ul><li>Games Started — The number of games the player started (was on the court at the beginning of the game) throughout their college career.</li><li>Field Goals Made Per Game — Number of total shots made per game.</li><li>3 Pointers Made Per Game — Number of 3-point shots made per game.</li><li>3 Point Field Goal Percentage — Number of 3-point shots made divided by the number attempted.</li><li>Free Throws Made Per Game — Free Throws made per game.</li><li>Offensive Rebounds Per Game — Number of rebounds per game following a teammate’s missed shot.</li><li>Defensive Rebounds Per Game — Number of rebounds per game following an opposing player’s miss.</li><li>Total Rebounds Per Game — addition of offensive and defensive rebounds per game</li><li>Assists Per Game — number of direct passes leading to a teammate’s made shot per game.</li><li>Blocks Per Game — Number of times the player deflects (or blocks)a shot attempt from an opposing player per game.</li><li>Turnovers Per Game — Number of times when the player loses possession of the basketball to the opposing team per game.</li><li>Points Per Game — Total points scored per game.</li></ul><h3><strong>Training/Test Data Determination</strong></h3><p>Because Win Shares is a cumulative stat, I had to be careful in selecting the training set for the predictive model. Many of the players included from these drafts still have a lot of NBA games ahead of them, especially those from the 2010 NBA Draft onward whose players may just now be entering their prime NBA years. Because of this, I chose to limit the training data of my model to be inclusive of players from the 2000–2009 NBA drafts while having the test be on the 2015–2019 NBA Drafts.</p><p>My reasoning for this was that players from the 2000–09 drafts would be out of the league/on the decline at this point, thus their Win Shares would no longer be rapidly increasing which would be the case for more recent NBA Drafts. I utilized a Random Forest Regression model as the predictive model. The model’s predictions were higher than the actual win shares of these NBA players, which was to be expected as these players are still within the first 7 years of their careers, and are expected to accumulate more win shares. To account for this I chose to analyze my model’s results with a subjective process, rather than looking strictly at any accuracy metrics.</p><p>Below, I compare the top 15 players by predicted Win Shares for each NBA Draft against the top 15 players in actual Win Shares thus far.</p><h3>Regression Results</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplotly.com%2F%7Eshmir234%2F1.embed%3Fautosize%3Dtrue&amp;display_name=Plotly&amp;url=https%3A%2F%2Fchart-studio.plotly.com%2F%7Eshmir234%2F1%2F&amp;image=https%3A%2F%2Fchart-studio.plotly.com%2Fstatic%2Fwebapp%2Fimages%2Fplotly-logo.8d56a320dbb8.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=plotly" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/94e34243e13ed3b7b573d6fbac4724af/href">https://medium.com/media/94e34243e13ed3b7b573d6fbac4724af/href</a></iframe><p>Visually, we can see the discrepancy between the model’s predictions for Win Shares versus the current standing for these NBA Drafts. As mentioned, this is to be expected as Win Shares are accumulated throughout a player’s entire NBA career. I will have to wait to evaluate my model in terms of mean absolute error or mean absolute percentage error until the players from these draft classes have called it quits on their NBA careers.</p><h3><strong>2015 NBA Draft</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B9CNb9jggQ7lPM_JjXlvZw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qtfhKl5x7-oqDqH4rOZ-NA.png" /></figure><p>The results of my model’s predictions on this draft class are very much a mixed bag. The № 1overall pick in the 2015 draft was Karl-Anthony Towns, who would surely be a consensus top 3 pick in a redraft, who has led this draft class in Win Shares thus far into his career.</p><p>However, my model has him outside the top 15 (landing at № 19) in predicted Win Shares which is quite a large discrepancy. Towns have already blown past my model’s projection for his career Win Shares by over 30 with a long career ahead of him to increase this variance.</p><p>Despite this, my model does predict some players who would be considered to have outplayed their original draft slots including Devin Booker, Delon Wright, Kevon Looney, Rondae-Hollis Jefferson, Norman Powell, Tyus Jones, Myles Turner, and Bobby Portis.</p><p>Devin Booker in particular, who was the 13th pick in the original draft, performed extremely well in my model, and he has backed that up in the NBA while leading the Phoenix Suns to the NBA Finals last season. These players would all most likely be drafted earlier than they were on their original draft night if NBA GMs were given a do-over.</p><p>The biggest misses from my model’s predictions would have to be Jahlil Okafor, Stanley Johnson, Trey Lyles, and Justice Winslow, who have all thus far in their careers been nothing more than fringe rotation players.</p><p>Sports Writer redraft for comparison:</p><p><a href="https://fadeawayworld.net/nba/re-drafting-the-2015-nba-draft-class-karl-anthony-towns-devin-booker-kristaps-porzingis">Re-Drafting The 2015 NBA Draft Class: Karl-Anthony Towns, Devin Booker, Kristaps Porzingis</a></p><h3><strong>2016 NBA Draft</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ByImerRw4orae90tjyfxbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9r8abEaJmVcs4zuR8vKa-A.png" /></figure><p>My model has the original № 1 selection, Ben Simmons, with the highest predicted Win Shares, and he would most likely prove that prediction right thus far into his career if he was not currently sitting out this current NBA season.</p><p>Player’s two, four, and five however, would have to be classified as misses as Marquesse Chriss, Patrick McCaw, and Kris Dunn are not anywhere close to top 5 performers from this draft. Players like Caris LeVert, Domantas Sabonis, and Dejounte Murray all perform well in the model compared to where they actually ended up being selected on draft night.</p><p>Others such as Tyler Ulis, Deyonta Davis, Isaiah Whitehead, Skal Labissiere, and Henry Ellenson have failed to make a top 15 level impact. Discrepancies from my model also include not having Jaylen Brown, Jamal Murray, Pascal Siakam within the top 15 predicted WS, as they have all proven to be All-Star caliber players in the NBA.</p><p>Sports Writer redraft for comparison:</p><p><a href="https://www.yardbarker.com/nba/articles/redrafting_the_2016_nba_draft/s1__33314207">Redrafting the 2016 NBA Draft</a></p><h3><strong>2017 NBA Draft</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JnE4gp3Ov3LhV9whzejlow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nZe3jy5K6wdm-Qk1p6Bn0A.png" /></figure><p>My model, just like a majority of NBA scouts and front offices, predicted that Markelle Fultz would be the best player from the 2017 NBA draft class. Unfortunately, like scouts and front offices, this model did not account for the injuries that have plagued Fultz throughout his still-young NBA career.</p><p>The next four highest players’ predicted Win Shares from my model, Tony Bradley, Dennis Smith Jr., Semi Ojeleye, and T.J. Leaf, are nowhere near the top in terms of actual Win Shares from this draft class thus far. Lonzo Ball at the № 8 slots in terms of predicted Win Shares looks to be a good bet as someone who has broken out this year for the Chicago Bulls.</p><p>For this year’s draft class there are several players who performed well in the model who has been hampered by injuries thus far in their NBA careers. Besides the aforementioned Markelle Fultz, this also includes Zach Collins and Harry Giles. On top of this, my model failed to identify a few of the biggest steals from this draft class including Jarrett Allen, Bam Adebayo, and Donovan Mitchell.</p><p>Sports Writer redraft for comparison:</p><p><a href="https://bleacherreport.com/articles/2890076-re-drafting-the-2017-nba-draft-class">Re-Drafting the 2017 NBA Draft Class</a></p><h3><strong>2018 NBA Draft</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JUPb56Idq7EXSEJyties8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JJomjNpgcPpdbsiweg5f8Q.png" /></figure><p>For the 2018 NBA Draft my model has predicted many players who have outplayed their NBA draft selections thus far into their careers, however the order of these players is still very much up for debate.</p><p>This list of players would include Jarred Vanderbilt, De’Anthony Melton, Shake Milton, and Devonte’ Graham. Another player who has failed to live up to expectations due to injury also performed well in my model, Marvin Bagley III who was the № 2 selection on draft night. Alternatively, Players such as Wendell Carter Jr., Shai Gilgeous-Alexander, Michael Porter Jr, Collin Sexton, Mo Bamba, and Miles Bridges are still young in their NBA careers, but no one would question they deserve to be in the top 15 picks of a do-over for this draft class.</p><p>Sports Writer redraft for comparison:</p><p><a href="https://hoopshabit.com/2021/08/18/nba-draft-luka-doncic-rises-2018-redraft/">NBA Draft: Luka Doncic rises to first in 2018 NBA Redraft</a></p><h3><strong>2019 NBA Draft</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2_6mJ96vfzjlTHmKEEMGsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rR86vceCDCqwewQHpS8eNg.png" /></figure><p>The 2019 NBA Draft is still extremely fresh, with plenty of room for players to shift around in career win shares, but I am relatively happy with my model’s predictions based on the NBA performance thus far of the top 15 players in predicted Win Shares. Zion Williamson and Ja Morant were named All-Stars in just the second seasons of their young NBA careers, while Darius Garland is joining them this season. Tyler Herro, Matisse Thybulle, Brandon Clarke, Jordan Poole, and P.J. Washington have all outplayed their draft selections thus far into their careers and look to have many seasons ahead of them to prove they were draft day steals.</p><p>The misses from my model’s predictions would have to include Ty Jerome, Cam Reddish, and Bruno Fernando who thus far would not be considered top 15 players from this NBA Draft.</p><p>Sports Writer redraft for comparison:</p><p><a href="https://bleacherreport.com/articles/2931305-2019-nba-re-draft-where-do-zion-ja-morant-and-the-rest-of-the-class-land">2019 NBA Re-Draft: Where Do Zion, Ja Morant and the Rest of the Class Land?</a></p><h3>Conclusions</h3><p>One key takeaway that my analysis has given me is that the NBA Draft is very much an inexact science, and it would take a combination of both numerical analysis and traditional player scouting to get the best accuracy when predicting a college prospect’s NBA future.</p><p>Although my model has correctly predicted quite a few players who would now be considered “steals” (players who were taken later than they should have been in the draft compared to their performance in the NBA) from their NBA draft if you followed my model to a tee you would also end up with a few draft “busts” (players who were taken too early) as well as missing out on players who perform much better in real life than what my model has predicted for them.</p><p>Some issues that I ran into along the way of this project that I could address in future projects include:</p><ul><li>Having more training data available for the model — I could have included data from previous NBA drafts prior to the year 2000, however, I felt that the NBA has changed too drastically over the past two decades. In order to obtain predictions that would be true to today’s NBA, I chose to omit a selection of data that I believed would muddy up the model’s predictions. However, in doing so, I limited the amount of training data the model would have available.</li><li>Incorporating international players — It would also have been beneficial to incorporate players who played overseas prior to the draft into the predictions by either including them in the dataset for this model or creating a separate model. International players make up roughly 25% of the NBA today, and missing out on these players in the draft predictions eliminates a pool of talented players, including the reigning league MVP Nikola Jokic.</li><li>Win shares might not be the best stat to measure individual success. Basketball is a team sport, and measuring individual performances isn’t simple because of this fact. Some extremely talented players may be drafted onto bad situations/teams in which case they would not be earning the expected Win Shares equivalent to their level of talent. In most cases, this would balance out over a player’s entire career as their on-court situations transform, but could still cause discrepancies in the model results.</li></ul><p>All in all, I learned that, yes, one can utilize college basketball statistics to make predictions on the success of NBA Draft prospects. However, projections based solely on college performance are not ideal, as there are many unquantifiable aspects of a prospect that can affect their NBA careers, such as player intangibles and injury, that cannot be explained by college statistics.</p><p><em>More content at </em><a href="http://plainenglish.io/"><strong><em>plainenglish.io</em></strong></a><em>. Sign up for our </em><a href="http://newsletter.plainenglish.io/"><strong><em>free weekly newsletter</em></strong></a><em>. Get exclusive access to writing opportunities and advice in our </em><a href="https://discord.gg/GtDtUAvyhW"><strong><em>community Discord</em></strong></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1c6bf576d19" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/nba-draft-analysis-using-machine-learning-to-project-nba-success-a1c6bf576d19">NBA Draft Analysis: Using Machine Learning to Project NBA Success</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Identify NBA ‘Empty-Calorie’ Scorers Based on Points Per Game and Value Over Replacement Player]]></title>
            <link>https://python.plainenglish.io/identifying-nba-empty-calorie-scorers-based-on-ppg-points-per-game-and-vorp-value-over-dbef38fcd702?source=rss-c2fa17352b49------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbef38fcd702</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[nba]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Saadan Mir]]></dc:creator>
            <pubDate>Sun, 05 Dec 2021 00:24:41 GMT</pubDate>
            <atom:updated>2022-01-02T18:04:02.368Z</atom:updated>
            <content:encoded><![CDATA[<h4>A guide to identifying NBA ‘Empty-Calorie’ scorers using Python and the libraries pandas, NumPy, SciPy, and seaborn.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e4bX2BOuksOwjLNY" /><figcaption>Photo by <a href="https://unsplash.com/@neonbrand?utm_source=medium&amp;utm_medium=referral">NeONBRAND</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Often in the NBA, the perception of how valuable a player is is tied to their counting stats. This can include rebounds, steals, blocks, or assists, but undoubtedly the most flashy stat is points scored. From Michael Jordan to Kobe Bryant, to Kevin Durant, the players widely recognized as the cream of the crop among league history are often the best scorers. However, this emphasis on points can also lead to an inflation of the value of players who are only impactful on the court in one way.</p><p>Now, more than ever the best teams in the NBA rely on multi-skilled players to reach the top, and having someone who impacts the game via scoring, but not much else is not as valuable as it once seemed. These players can be dubbed as ‘Empty-Calorie’ scorers as while they may be in the upper percentiles of the NBA in terms of scoring, their impact on winning may be minimal.</p><p>To determine the current so-called ‘Empty-Calorie’ scorers in the NBA, I utilized data from the current NBA season, 2021–22, thus far when we are at about 25% through the season. I used the following metrics as the basis for my analysis:</p><ul><li><strong>PPG (Points per Game) — </strong>exactly how it sounds, the number of points a player scores per game played.</li><li><strong>VORP (Value Over Replacement Player) — </strong>VORP is a little bit less clear, but the definition taken from <a href="https://www.basketball-reference.com/about/bpm2.html">Basketball-Reference</a> is as follows: “an estimate of each player’s overall contribution to the team, measured vs. what a theoretical “replacement player” would provide, where the “replacement player” is defined as a player on minimum salary or not a normal member of a team’s rotation”</li></ul><p>The first step of my analysis was to visualize the relationship between PPG and VORP. This involved utilizing Python and the libraries pandas, NumPy, SciPy, and seaborn.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/437b0dcf4c73a5096d360dc6bfb5bc23/href">https://medium.com/media/437b0dcf4c73a5096d360dc6bfb5bc23/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*M7B0LS5JfgzRDM3i-4mE_w.png" /></figure><p>The visualization I created was a Regression Plot to understand the effect that PPG has on VORP. In addition to the visualization, I obtained the slope and intercept of the regression line and r and r-squared values. The r-squared value of 0.43 shows that there is an explanatory connection between PPG and VORP, albeit most likely a weak one. To pinpoint the players who are among the top scorers in the NBA while performing worse than expected in terms of VORP, I decided to use the regression equation between these two variables to obtain the expected VORP for each player based on their current PPG.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/41c560346635fd9cdcc6681fabb95a90/href">https://medium.com/media/41c560346635fd9cdcc6681fabb95a90/href</a></iframe><p>Once I had found the expected VORP (‘predVORP’ in code) I subtracted the prediction from the actual VORP (‘VORPdiff’) to determine who is performing well against the prediction versus who is performing poorly thus far in the NBA season.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*tsZ-RD66qSutM4Pb8vcvkg.png" /></figure><p>The players who are ranking very favorably against their projected VORP are some of the top players in the world today with 4 out of the top 5 being League MVPs during their careers. Conversely, the 4 out of the bottom 5 players coming in with a VORP below their projection based on their PPG are rookies or younger players on rebuilding teams who are more concerned with player development than winning.</p><p>Finally, to get the definitive list of ‘Empty-Calorie’ scorers I chose to whittle down the criteria into players who were both in the top quartile (top 25%) of PPG while being in the lowest quartile (bottom 25%) of the difference between their actual VORP and expected VORP(VORPdiff).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/64631183d9aef9249448a5c12f2b5b55/href">https://medium.com/media/64631183d9aef9249448a5c12f2b5b55/href</a></iframe><p>The results for the quartiles were as follows:</p><p>Quartile 3 for PPG = 12.15</p><p>Quartile 1 VORPdiff = 0.84</p><p>This means that for a player to be considered on the list of ‘Empty-Calorie’ Scorers based on the criteria I defined, they would have to be scoring more than 12.15 PPG while having an actual VORP that is within 0.84 of their predicted VORP or lower. The final list is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*y-4nk1A8buLwwKLy-2ZVPg.png" /></figure><p>When looking at a scatter plot with the regression line between PPG and VORP included we can visually call out the aforementioned ‘Empty-Calorie’ Scorers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MEU34R8iDiusenAw3TZJhQ.png" /></figure><p>The orange points labeled are the eight players who meet the criteria for this list.</p><p>Reviewing the final names on the ‘Empty-Calories’ Scorers list, it’s important to remember that team situation and overall experience play a big role in the success of an NBA player. All the players on this list are within the first three years of their NBA careers and are most likely required to be higher volume scorers than they are ready to be based on the lower quality of their teammates. These players all have a long career ahead of them and have a lot of time to grow into players who can score with the best of them while guiding their teams to win. However, as of right now the ‘Empty-Calories’ Scorers thus far in the 2021–22 NBA season is not as valuable as their impressive scoring numbers might suggest.</p><p>[1]: <em>2021–22 NBA player stats: Per game</em>. Basketball. (n.d.). Retrieved December 5, 2021, from <a href="https://www.basketball-reference.com/leagues/NBA_2022_per_game.html.">https://www.basketball-reference.com/leagues/NBA_2022_per_game.html.</a></p><p>[2]: <em>2About box plus/minus (BPM)</em>. Basketball. (n.d.). Retrieved December 5, 2021, from <a href="https://www.basketball-reference.com/about/bpm2.html.">https://www.basketball-reference.com/about/bpm2.html.</a></p><p><em>More content at </em><a href="http://plainenglish.io/"><em>plainenglish.io</em></a><em>. Sign up for our </em><a href="http://newsletter.plainenglish.io/"><em>free weekly newsletter</em></a><em>. Get exclusive access to writing opportunities and advice in our </em><a href="https://discord.gg/GtDtUAvyhW"><em>community Discord</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbef38fcd702" width="1" height="1" alt=""><hr><p><a href="https://python.plainenglish.io/identifying-nba-empty-calorie-scorers-based-on-ppg-points-per-game-and-vorp-value-over-dbef38fcd702">Identify NBA ‘Empty-Calorie’ Scorers Based on Points Per Game and Value Over Replacement Player</a> was originally published in <a href="https://python.plainenglish.io/">Python in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>