# Basketball Analytics. Data Mining for Acquiring Performances

Leila Hamdad, Karima Benatchba, Fella Belkham, Nesrine Cherairi

► To cite this version:

Leila Hamdad, Karima Benatchba, Fella Belkham, Nesrine Cherairi. Basketball Analytics. Data Mining for Acquiring Performances. 6th IFIP International Conference on Computational Intelligence and Its Applications (CIIA), May 2018, Oran, Algeria. pp.13-24, 10.1007/978-3-319-89743-1_2 . hal-01913896

HAL Id: hal-01913896

https://inria.hal.science/hal-01913896

Submitted on 7 Nov 2018

**HAL** is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>
Basketball Analytics.
Data mining for acquiring performances.

Leila Hamdad*, Karima Benatchba, Fella BELKHAM, and Nesrine CHERAIRI

Ecole nationale Supérieure en Informatique ESI, BP 68M,16309, Oued-Smar, Alger,
Algerie, http://www.esi.dz.

**Abstract.** Choices of decision makers in a basketball team are not lim-
ited to the strategies to be adopted during games. The most important
ones are outside the field and concern team composition and talented
and productive players to acquire on which the team can rely to raise
its game level. In this paper, we propose to use data mining tasks to
help decision makers to make appropriate decisions that will lead to the
improvement of the performance of their players and their team. Tasks
such as clustering, classification and regression are used to detect weak-
nesses of a team; best players that can help overcome these weaknesses;
predict performance and salaries of players. These will be done on the
NBA dataset.

**Keywords:** Data Mining, Basket ball analytics, Clustering, Classifica-
tion, Performances.

# 1 Introduction

Data mining (DM) is used in many fields and the sports industry is no exception. In fact, sport is an ideal area for the implementation of data mining tasks and techniques. This is due to the amount of statistics collected on players, teams, games and seasons. Team managers wish to understand these data in order to extract information that will help them improve performances of their players and their teams by predicting future performances and affecting players in appropriate training group to make better profits. The Basket ball is one of those sports. A basketball team is composed of five players. A player can have a great impact on the efficiency of the team due to his talent. Indeed, in many cases, a basketball team with new acquisitions has seen its game significantly improved. Sometimes, the reverse phenomena can take place and observers might say that the added talent could not adapt his game to the rest of the team. And in other cases, one has seen teams with modest talents exceeding expectations. The difficulty of finding talents that are coherent with the rest of the team and the uncertainty of the stability of the acquired players performances amplify the risks taken by the team managers in their choices; especially if the league to which they belong is as competitive and exigent as NBA.

* Please note that the LNCS Editorial assumes the western naming convention, with given names the structure of the names in the running heads and the author index.
NBA is one of the three major leagues in the United States. The results and statistics that it provides make it an ideal subject of study. Indeed, the amount of existing data is accessible and concerns over 1200 games played in a single season (Sports Reference, 2000). Moreover, the measured performances of the players, relative to their different positions, are available. To extract significant knowledge from this amount of data, DM tasks such as clustering, classification, regression can be used. In this work, we have two objectives: 1. Our first goal is to study acquisition of new players. Before acquiring new players, it is necessary to determine team's needs. For this purpose, a clustering of the players is done according to their performances. It will give managers a description of players performances levels and hence allow detecting weaknesses that will help in deciding which talent to acquire. 2. The second goal is to insure the stability or performance improvement of the chosen player. This can be done by predicting his future performances and cost according to his efficiency. All the proposed tasks have been tested on the data of 10 NBA seasons (from 2005-2006 to 2014-15).

The rest of the paper is organized as follows: section 2 presents related work in the literature. In section 3, the data used to test different tasks is described. Then in section 4, we present some DM tasks and techniques to be used for Basketball and run them on NBA dataset in section 5.

## 2 Related works

The NBA is one of the major leagues of the US. It represents an extremely competitive environment for players and teams. Moreover, it is the subject of intensive research and perfect for the application of DM due to the amount of data generated by multiple meetings and sport events. In Basketball, it was Dean Oliver who introduced statistical basketball analysis in his book "Basketball on Paper" [4]. Nowadays, it is regarded as a revolution for the Basketball statistical analysis. The literature concerning Basketball analysis is quite abundant. Among these works, one can find those of [5]. They were interested in identifying the variables which had a potential effect on players performance from a game to another, using linear regression. They, first, used a linear mixed model (LMM), to model Points (P) according to variables with both fix and random effects. Then, they used a generalized linear mixed model (GLMM) to model Win Score (WS). They concluded that minutes played, percent utilization, and team quality difference variables were among the ones that had an impact on P and WS.

[1] studied the impact of a group of two or three players (called Big 2's or Big 3's ) on successive wins of a team. To this end, [1] grouped players, according to their level, in appropriate groups of two or three, using k-means algorithm. This clustering is done according to some features as points per game, offensive rebounds per game, defensive rebounds per game, assists per game, etc. A regression model was then used to measure the impact of the composition of "Big 2s" and "Big 3s" on winning teams. He showed that the composition of a teams top 2 and top 3 players is a factor with a high statistical significant in
the success of a team, and showed which combinations yielded over-performance,
and which combinations yielded underperformance, relative to the teams talent
and coaching quality.

The successive victories of teams have also been studied in [8], where their in-
come and victories were evaluated according to the performance of their players.
A regression method was used to study the relationship that may exist between
PER (Player Efficiency Rating) and variables that determine teams wins and
earnings. He concluded that the defensive abilities contributed to win games and
thus, ensured greater income, knowing that every win brings 3% more revenue.
Among the existing works, some focused on prediction. Among them, [6] studied
which teams would make the NBA playoffs. They collected and analysed team
data using Principal Components Analysis to reduce the dimensionality of the
data set and then a Discriminant Analysis to predict the classifications of teams
into playoffs or non-playoffs. In their paper, NBA Oracle [2], supervised and
unsupervised learning methods are applied for predicting game outcomes and
providing guidance and advice for common decisions in the field of professional
basketball. For game outcome prediction, four different binary classification tech-
niques are compared according to their accuracy prediction: Linear Regression,
SVM (Support Vector Machines), Logistic Regression, and ANN (Artificial Neu-
ral Networks). In the same paper, k-Means is applied to infer optimal player po-
sitions and Outlier Detection to identify outstanding players. Neural networks
have also been used for predictive end in [9]. Some others works focused on the
prediction of points scored and therefore the results of games using regression
models [11].

The clustering was mainly used in the construction of teams [1]. However, in
our work, studying similarities between performances of players is only a first
step in the acquisition process. Indeed, the resulting groups aim to determine
the weaknesses of a team and help choose the right player(s) that will reinforce
the team. This will be done using clustering and classification. Thereafter, our
goal is to predict the performance of a player (assume selected) and his salary to
determine whether he is a good option for the team. Regression and time series
are used for this purpose.

3 Data

We have chosen to use the data source " Basketball-references.com", a web site
with a rich data base. One can find there, statistics on over 60 NBA seasons.
They are reliable and contain few missing values [3]. The elements that point
out the performance of a player during the game are divided into four categories:

- Defensive performance: these are indicators that ensure the defensive play of a player. They are represented by: blocks, defensive rebounds and steals.

- Offensive performance: indicators that show the offensive play. They are represented by: Offensive personal fouls and rebounds.

- Scoring: all indicators that have a relationship with the scoring and points: the attempts of field goals, attempts goals successful on the field, attempts
goals from three points on the ground, the attempts of goals successful three-point field, attempts goals from two points on the ground, successful goals attempts goals from two points on the ground, free throws, the successful free throws.

- Play-making: It gives information on the participation of a player in building the game on the field. It is represented by: the assists, turnovers, number of games played and minutes spent on the field. The performance of a given team is represented by the sum of performance indicator values of all its players.

We worked on two types of indicators to best meet our needs in terms of players performance description. The first type consists of basic statistics (rebound, interception points...) as they give a summary of the performance during a particular season. The second type allows a more detailed overview of players performances (a zoom) according to a particular event (match or possession).

# 4 Data Mining tasks for basket ball analysis

In this section we will present the different DM tasks that we used for basket ball analysis.

## 4.1 Clustering

Clustering is a descriptive task of DM. It consists on partitioning the data into homogenous clusters using similarity measures. The objective of applying clustering on a set of NBA players is to form groups of players statistically homogenous as they differ in their playing style. In this study, the data used for clustering represents the 10 NBA seasons from 2005-06 until 2013-14.

The clustering allows to have an overview on Player's Skills and to compare their efficiency according to the partition they belong to. As each player plays in a particular position, clustering is also used to compare players of the same position according to their performance. It also provides decision makers with elements for future analysis that enable them to identify potential undervalued players or even to propose appropriate salaries to the players.

Moreover, the use of clustering could be extended for comparative purposes. This is done by applying clustering after the prediction in order to compare the salaries of the players based on their future statistics. This is useful when multiple players meet the need of the team. In this case, the one whose value increases will have an advantage over others, whether for performance or salary. We used K-means algorithm for its simplicity and efficiency on large dataset

## 4.2 Classification

Classification is a predictive task of DM. It consists on affecting new objects to existing groups. In our case, we apply classification on the results of clustering. It
will determine to which cluster, a new player can belong according to his features. Hence, this classification allows to have an overview on the players competences depending on the cluster to which he belongs and the players therein. This classification is interesting when acquiring a new player specifically when one wants to substitute a player against a new one, having the same characteristics or to fill a gap in the team. Indeed, once the clusters have been defined using a sample of players according to their skills, the classification will determine to which cluster a new player will belong according to its descriptive features.

We have chosen to use Nave Bayes algorithm (see [10] for more details). It is a supervised classification algorithm based on the Bayes theorem with strong features independence hypothesis. Its principle is as follows: suppose, we have K clusters, and we went to know cluster of a new entries X. X is affected to a cluster C_k if:

$$P(C_k/X) = P(C_k)P(X/C_k) = \max_{j=1,\dots,K} P(C_j)P(X/C_j). \quad (1)$$

Where, P(C_j) is the apriori probability of the cluster C_j and P(X/C_j) the probability of X in cluster C_j. The advantage of this algorithm is that it requires relatively little training data.

## 4.3 Prediction

Basketball is a very competitive sport and a great business. As a result, prediction becomes important. Indeed, NBA statistics have particular relevance for team managers and coaches. When acquiring a new player or signing and renewing a contract, it is possible to project the player history in order to predict future trends of his performance and salary, and make the right decisions. This is done by studying and analysing the existing relationships in past occurrences of that players performances. In this perspective, the multiple linear regression and exponential smoothing on a set of historical data retrieved from the database according to specific needs are used. We can use the results of predictive analysis to evaluate a given player and predict future values of his performance and salary. Moreover, we can predict teams costs.

**Performance Prediction** Several metrics and measures are used to evaluate the performance of a player in the NBA. Some represents performance detailed on several axes (defensive, offensive, shooting rate), some reflect the player's contribution to the victory of his team and others are more general and global. We are interested, in this study by predicting the PER (Player Efficiency Rating). It is a performance measure that summarizes the performance of a player during a season in a single number. This metric reflects individual performance of a player in several sports. It was proposed by [7]. In Basketball, Hollinger's formula takes into account many variables that represent the positive achievements (the points scored on the ground (FG), defensive rebounds (DRB) ...), the negative effects (personal faults (FP), team faults (FT) ...) and adjust them according to games' time and games rhythm. The value of the average PER of the league is
set to 15.00; it allows to compare the performances of players over the seasons.
This task allows to predicts the future value of *PER* based on a set of perfor-
mance indicators selected. To do so, we use linear regression model to predict
this performance to evaluate players performance indicators and selecting those
that have a significant effect on the *PER* and predict their values.

**Salaries prediction** Players salaries through the seasons are considered as time series. Each observation is associated to a particular season. The income of player at time *t* is a function of previous incomes. The future value of the players salary can be predicted in short term, using exponential smoothing. This method is used when the series (*T* observations) are not seasonal.

5 Tests and Results

In this section we will show through different scenarios, how the different tasks
of data mining, cited above, can help managers make decisions on acquiring
efficient players for basket ball teams. Indeed, we have as objective to group
players according to their performance, evaluate and predict player performance
and predicting the salaries of players and franchises costs.

**5.1 Clustering**

We present two scenarios of clustering. In the first one, the players are grouped
according to their performances and in the second one, we focus on the move of
players from cluster to another across the seasons.

**Scenario 1** We will present in what follows the result of a clustering which purpose is to have a comprehensive view of the talents distribution, either in the league or in a team. It also provides an overview of the skills of the players according to the cluster they belong to compared to their opponent. We applied K-means, with *k* = 6, on features of 337 players of season 2012-2013. The used feature were: Minutes played (MP), Field Goals (FG), Field Goals Attempt (FGA), basket of threes Points (3P), basket of threes Points Attempt (3PA), basket of two Points (2P), basket of two points attempt (2PA), Free Throw (FT), Free Throw Attempt (FTA), Offensif ReBound (ORB), Defensive ReBound (DRB), ASsisTs (AST), Interception (STL), Block (BLK), Turnover (TOV), Points (PTS), Player Efficiency Rating (PER). Table 1 represents this clustering by giving the average of each feature for all clusters We distinguish some clusters from others. Indeed cluster1 contains imposing statistics. It is a superstar cluster as the best NBA players belongs there. It contains 25 players from a total of 337. It includes players who have proven their talent by playing exceptional season and winning awards such as: Most Valuable Player (best player of the regular season) and NBA All-Defensive Second Team (best defensive player of the regular season). They participated in the NBA, All Star
<table><caption>**Table 1.** Clustering results of 337 players on season 2012-2013.</caption><thead><tr><th>Clus</th><th>MP</th><th>FG</th><th>FGA</th><th>3P</th><th>3PA</th><th>2P</th><th>2PA</th><th>FT</th><th>FTA</th><th>ORB</th><th>DRB</th><th>AST</th><th>STL</th><th>BLK</th><th>TOV</th><th>PTS</th><th>PER</th></tr></thead><tbody><tr><td>Clus0</td><td>1580</td><td>219</td><td>419</td><td>42</td><td>117</td><td>177</td><td>374</td><td>89</td><td>119</td><td>70</td><td>192</td><td>131</td><td>48</td><td>30</td><td>83</td><td>570</td><td>13.17</td></tr><tr><td>Clus1</td><td>2766</td><td>528</td><td>1167</td><td>119</td><td>326</td><td>408</td><td>840</td><td>300</td><td>368</td><td>64</td><td>296</td><td>428</td><td>112</td><td>31</td><td>213</td><td>1477</td><td>14.99</td></tr><tr><td>Clus2</td><td>389</td><td>46</td><td>112</td><td>12</td><td>36</td><td>34</td><td>76</td><td>17</td><td>25</td><td>16</td><td>44</td><td>27</td><td>11</td><td>6</td><td>19</td><td>124</td><td>8.75</td></tr><tr><td>Clus3</td><td>840</td><td>106</td><td>241</td><td>21</td><td>61</td><td>58</td><td>179</td><td>37</td><td>54</td><td>47</td><td>111</td><td>53</td><td>25</td><td>20</td><td>40</td><td>271</td><td>12.35</td></tr><tr><td>Clus4</td><td>2192</td><td>382</td><td>751</td><td>3</td><td>13</td><td>378</td><td>738</td><td>173</td><td>248</td><td>190</td><td>423</td><td>126</td><td>61</td><td>90</td><td>126</td><td>940</td><td>16.28</td></tr><tr><td>Clus5</td><td>1999</td><td>312</td><td>723</td><td>104</td><td>277</td><td>207</td><td>445</td><td>140</td><td>172</td><td>47</td><td>188</td><td>209</td><td>67</td><td>21</td><td>115</td><td>870</td><td>14.74</td></tr></tbody></table>

and won the NBA championship with their team. Among them, we have: Lebron James, Stephen Curry, Kobe Bryant, Kevin Durant ... According to the results of the Table 1, one can see that cluster 4 includes excellent rebounders who scored many two points baskets. However, cluster 2 is the one with lower statistics particularly in defence (STL, BLK...). Cluster 3 also displays statistics that are far from impressive, particularly in defence. It includes players like Louis Amundson and Joel Anthony who are considered by the site Bleacherreport.com as "50 Most Worthless Players in the NBA for the 2012-13 Season". We can also find Rodrigue Beaubois, a player from whom one expected a lot but he did not have great performances. The distribution of the players is given by the following Figure 1. Almost half of the sample players are in clusters 2 and 3 with low to medium skills.

<figure><img src="image_2.png" /><figcaption>**Fig. 1.** Distribution of players.</figcaption></figure>

**Scenario 2** For this clustering, the goal was to observe a variation in players performances from a season to another according to their productivity and substitution of players and talented players in the team. For this purpose, we have chosen to work on Phoenix Sun players for the two seasons 2011-12 and 2012-2013. We tested the clustering only on players that were part of the team during the two seasons. K-means with $K = 3$ was used. The results are given in tables
2 and 3. We note that for the two selected seasons, the players Markieff Morris,

<table><caption>**Table 2.** Results of K-means (K=3).</caption><thead><tr><th>Clusters</th><th>FG</th><th>FGA</th><th>3P</th><th>3PA</th><th>2P</th><th>2PA</th><th>FT</th><th>FTA</th><th>Pts</th></tr></thead><tbody><tr><td>Cluster 0</td><td>420</td><td>863</td><td>30</td><td>98</td><td>389</td><td>765</td><td>169</td><td>269</td><td>1066</td></tr><tr><td>Cluster 1</td><td>78</td><td>178</td><td>7</td><td>26</td><td>71</td><td>152</td><td>38</td><td>51</td><td>202</td></tr><tr><td>Cluster 2</td><td>257</td><td>591</td><td>56</td><td>163</td><td>201</td><td>427</td><td>87</td><td>116</td><td>660</td></tr></tbody></table>

<table><caption>**Table 3.** Repartition of the players in the clusters according to the two seasons 2011-2012, 2012-2013.</caption><thead><tr><th>Cluster 0</th><th>Cluster 1</th><th>Cluster 2</th></tr></thead><tbody><tr><td>G. Dragic</td><td>J. Childress</td><td>M. Beasley</td></tr><tr><td>M.Gortat (2011-2012)</td><td>D. Garrett Robin</td><td>S. Brown [x2]</td></tr><tr><td>L. Scola</td><td>L. Kendall</td><td>J. Dudley [x2]</td></tr><tr><td></td><td>M. Ronnie Price</td><td>C. Frye 11.12</td></tr><tr><td></td><td></td><td>M. Gortat [2012-13]</td></tr><tr><td></td><td></td><td>W. Johnson</td></tr><tr><td></td><td></td><td>M. Morris [x2]</td></tr></tbody></table>

Shannon Brown and Jared Dudley remain in the same cluster (2), which groups efficient players with the highest number of 3 points baskets scored. Cluster 0 is the one with best performances. The player Marcin Gortat whose 2011-12 season statistics allowed him to be in cluster 0, has shown a performance decrease during 2012-2013 and moved to cluster 2. His only improvement is seen in the three points baskets scored, which is a characteristic of cluster 2.

## 5.2 Classification

To test the classification, we used, first a clustering of 2012-13 season statistics. Some players have been excluded from this clustering to be used as test sample in this section. These players are: Isaiah Thomas, Klay Thompson and John Wall. The raison of choosing these three player is a paper in Bleacherreport.com published in June 2012, intituled "15 NBA players who will be the stars of 2015" and in which the three players are included. We wanted to check if with our classification, we would obtain the same prediction. For this purpose a Naive Bayes algorithm is used on the statistics of the three players in 2014-2015 season, the results confirmed Bleacherreport.com ranking. Indeed, Klay Thompson and John Wall were classified in the cluster 1 containing NBA superstars (See table 4). On the other hand, Isaiah Thomas, is assigned to cluster 5 for the same season: a cluster grouping players with a great number of marked points and very good defensive statistics. However, it should be noted that during
<table><caption>**Table 4.** Thompson and Wall statistics in cluster1.</caption><thead><tr><th>Clusters</th><th>MP</th><th>FG</th><th>FGA</th><th>3P</th><th>3PA</th><th>2P</th><th>2PA</th><th>FT</th><th>FTA</th><th>ORB</th><th>DRB</th><th>AST</th><th>STL</th><th>BLK</th><th>TOV</th><th>PTS</th><th>PER</th></tr></thead><tbody><tr><td>K.Thompson</td><td>2455</td><td>602</td><td>1299</td><td>239</td><td>545</td><td>363</td><td>754</td><td>225</td><td>256</td><td>27</td><td>220</td><td>87</td><td>60</td><td>149</td><td>122</td><td>1668</td><td>?</td></tr><tr><td>J. Wall</td><td>2837</td><td>519</td><td>1166</td><td>65</td><td>217</td><td>454</td><td>949</td><td>284</td><td>362</td><td>36</td><td>330</td><td>792</td><td>138</td><td>45</td><td>304</td><td>1387</td><td>?</td></tr></tbody></table>

the 2013-14 season, his excellent statistics affected him to cluster 1 The site

<table><caption>**Table 5.** Isaiah Thomas statistics in cluster 5.</caption><thead><tr><th>Cluster</th><th>MP</th><th>FG</th><th>FGA</th><th>3P</th><th>3PA</th><th>2P</th><th>2PA</th><th>FT</th><th>FTA</th><th>ORB</th><th>DRB</th><th>AST</th><th>STL</th><th>BLK</th><th>TOV</th><th>PTS</th><th>PER</th></tr></thead><tbody><tr><td>I.Thomas13-14</td><td>1726</td><td>335</td><td>797</td><td>129</td><td>346</td><td>206</td><td>451</td><td>302</td><td>348</td><td>33</td><td>120</td><td>284</td><td>57</td><td>5</td><td>143</td><td>1101</td><td>22.3</td></tr><tr><td>I.Thomas14-15</td><td>2497</td><td>496</td><td>1096</td><td>127</td><td>364</td><td>369</td><td>732</td><td>346</td><td>406</td><td>47</td><td>163</td><td>545</td><td>93</td><td>8</td><td>213</td><td>1465</td><td>20.5</td></tr></tbody></table>

Bleacherreport.com also quoted some players as being the worst in the NBA, among them, Brian Cook. He averaged 5.7 points and 2.7 rebounds in less than 14 minutes per game and spent a lot of time on the bench during his career. The last season for Cook is 2011-12; so we took the statistics of this last season to predict to which cluster he will be assigned. The algorithm classified him in cluster2. A very natural result because Cook spent only 276 minutes on the playground which generated very weak statistics in defence as in offense (Table 6) The average salary of Cook is 1,955,569; an average salary that matches

<table><caption>**Table 6.** Isaiah Thomas statistics in cluster 2.</caption><thead><tr><th>Cluster</th><th>MP</th><th>FG</th><th>FGA</th><th>3P</th><th>3PA</th><th>2P</th><th>2PA</th><th>FT</th><th>FTA</th><th>ORB</th><th>DRB</th><th>AST</th><th>STL</th><th>BLK</th><th>TOV</th><th>PTS</th><th>PER</th></tr></thead><tbody><tr><td>Brian Cook</td><td>276</td><td>31</td><td>98</td><td>10</td><td>50</td><td>21</td><td>48</td><td>9</td><td>10</td><td>10</td><td>53</td><td>10</td><td>6</td><td>5</td><td>11</td><td>81</td><td>10.4</td></tr></tbody></table>

perfectly to the cluster to which he belongs, as the average salary of cluster 2 is 1,774,548.

## 5.3 Performance prediction

We have selected players who have played several seasons and apply predictions on their statistics.

1- To predict Performance of the players, we used the following multiple regression model:

$$PER = 21.436 - 0.0426G - 0.0068MP + 0.0419a_3FG - 0.0118FGA + 0.0215FT - 0.00467FTA + 0.0183ORB + 0.00433DRB + 0.0135AST + 0.0222STL + 0.0171BLK - 0.0196TOV - 0.0113PF.$$

Multiple linear regression tests conducted on R software showed that all variables are statistically significant with p-value under = 5%.
Moreover, we also used previous performance in different seasons to predict players performance in a given season by Holt Winters algorithm (exponential smoothing algorithm).

2- In the following example, we chose to predict the performance of Darius Miller who played eight NBA seasons. We used statistics of the first four seasons as learning data and the rest to test a prediction to compare the predict values to the real ones. The results of prediction of PER are displayed in the table 7 and represented in Figure 2. Figure 2 shows that the prediction obtained across

<table><caption>**Table 7.** Results of performances prediction.</caption><thead><tr><th>Seasons</th><th>2006-07</th><th>2007-08</th><th>2008-09</th><th>2009-10</th><th>2010-11</th><th>2011-12</th><th>2012-13</th><th>2013-14</th></tr></thead><tbody><tr><td></td><td colspan="3">Learning values</td><td colspan="5">Predicted values</td></tr><tr><td>True values</td><td>14.2</td><td>11.8</td><td>10.8</td><td>14.4</td><td>12.4</td><td>15.3</td><td>16</td><td>14.1</td></tr><tr><td>Pred values: reg</td><td>14.2</td><td>11.8</td><td>10.8</td><td>14.4</td><td>16.8</td><td>18.49</td><td>20.79</td><td>23.09</td></tr><tr><td>Pred values: exp smooth</td><td>14.2</td><td>11.8</td><td>10.8</td><td>14.4</td><td>15.57</td><td>14.69</td><td>16.85</td><td>12.99</td></tr></tbody></table>

<figure><img src="image_3.png" /><figcaption>**Fig. 2.** Comparison between linear regression and exponential smoothing in performance prediction.</figcaption></figure>

the season by the exponential smoothing are closer than the regression model to the true values. Note that, prediction value by regression are obtained by firstly predicted by Holt Winters method the values of indicators that affect PER, than compute this latter.

3- In other example, we tested performances of the NBA player, Michael Jordan. We focused on prediction of its interception and the number of points scored using simple exponential smoothing. We recall that Michael Jordan is the first player in NBA history who has scored 200 interceptions in a season. The results are displayed in Figures 3 and 4.

From this two figures we see clearly that the obtained predicted value matches the true values of interceptions or Fields goal.
<figure><img src="image_4.png" /><figcaption>**Fig. 3.** Predicted and true values comparison of Michael Jordan interceptions across the seasons.</figcaption></figure>

<figure><img src="image_5.png" /><figcaption>**Fig. 4.** Predicted Fields goal across the seasons.</figcaption></figure>

4- The prediction of players salaries was also tested using multiple regression model and significant explanatory variables are selected. These variables are also been predicted using exponential smoothing since they occurred each seasons. Hence the salaries of the players of Phoenix Suns team are predicted using the following estimated regression model:

$$ Sal = 15122431 - 7099MP + 38047FG - 11575FGA + 18615FT - 14558FTA + 22853DRB + 9222AST - 21840STL - 28384PF. $$

According to the predicted salaries of the players of Phoenix Suns team, we obtained the predicted team franchise costs as shown in Figure 5.

# 6 Conclusions

In this work, we aim to assist NBA sports decision makers in the process of acquisition of players by exploiting and applying the data mining techniques as k-means, Naive Bayes algorithm, linear regression and time series on large
<figure><img src="image_6.png" /><figcaption>Fig. 5. Histogram of predicted cost of Phoenix Suns team.</figcaption></figure>

amounts of data. These data are the statistics of ten seasons in the NBA (from
2005-06 to 2014-15). The results we have reached, allow decision makers to iden-
tify their needs, determine the players who respond to this need and to select
the one or ones that work best for them depending on their current and future
performance, taking into account their cost.

References

1. Ayer.R, (2012). *Big 2s and big 3s: Analyzing how a team's best players complement each other*. MIT Sloan Sports Analytics Conference. Boston, MA, USA.

2. Beckler. M, Hongfei.W, and Papamichael.M (2013). *Nba oracle*. Zuletzt besucht am 17 (2013): 2008-2009.

3. Cao, C. (2012). *Sports Data Mining Technology Used in Basketball Outcome Prediction*. Dissertation, Dublin Institute of Technology

4. Dean Oliver (2004): *Basket ball on a paper*. Rules and Tools for Performance Analysis Potomac Books, Inc., 2004 - 392 pages

5. Casals, M., Martinez, J. A. (2013). *Modelling player performance in basketball through mixed models*. International Journal of Performance Analysis in Sport, 13, 64-82.2.

6. Hoffman.L, Joseph.M. (2003): *A Multivariate Statistical Analysis of the NBA*. http://www units.miamioh.edu/sumsri/sumj/2003/NBAstats.pdf.

7. Hollinger, J. (2005). *Pro Basketball Forecast*: Paperback, 1900.

8. Li, H. (2011). *True Value in the NBA: An Analysis of On-Court Performance and Its Effects on Revenues*. Undergraduate Honor Thesis University of California, Berkeley.

9. Maheswaran, R., Chang, Y.-H., Henehan, A., Danesis, S. (2012). *Deconstructing the rebound with optical tracking data*. MIT Sloan Sports Analytics Conference 2012, Boston, MA, USA.

10. Mitchell. T.M. (1997). *Machine learning*. Ch6. McGraw-Hill Science.

11. Wheeler. K. (2012). *Predicting NBA Player Performance*, [Online]. Available: cs229.stanford.edu/proj2012/Wheeler-PredictingNBA.