Keras
English
Hatman commited on
Commit
a4c1ed6
1 Parent(s): 36192fe

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -0
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ datasets:
4
+ - Hatman/NBA-Players-Results-2018
5
+ language:
6
+ - en
7
+ ---
8
+
9
+ # Model Card: NBA Fantasy App
10
+
11
+ ## Model Details
12
+ **Developers**: Hatman
13
+ **Model Type**: Functional Keras Model
14
+ **Language**: Python
15
+ **Training Data**: 2018 NBA season game results and player stats
16
+ **Evaluation Data**: Same as training data
17
+ **Intended Use**: Predicting winners of simulated NBA games based on player stats
18
+ **Limitations**: Does not account for changes in playstyle, three-point line, or other rule/environment changes over time.
19
+
20
+ ## Model Description
21
+ This model is a functional Keras neural network trained on the 2018 NBA season's game results and player statistics. The model takes the season averages of various box score stats (points, rebounds, assists, etc.) for the starting 5 players on each team as input features. The target is a binary classification of whether the team won or lost the game.
22
+
23
+ The model architecture consists of:
24
+ - Input layer with 100 nodes (5 players x 10 stats per player)
25
+ - Two dense layers with 50 and 64 nodes respectively, using ReLU activation
26
+ - Output dense layer with 1 node and sigmoid activation for binary classification
27
+
28
+ The model was trained using the skLearn's RandomizedSearchCV with loss function BinaryCrossentropy and the RMSprop optimizer. Training script included.
29
+
30
+ ## Intended Use
31
+ The primary intended use of this model is to predict game winners in the NBA Fantasy App, which allows users to create fantasy teams from historical NBA players and simulate games against computer teams. The model provides win/loss predictions based solely on the stats of the starting lineups.
32
+
33
+ ## Factors for Predictions
34
+ The key factors used in the model's predictions are the season averages for various box score statistics of the starting 5 players on each team, such as:
35
+
36
+ - Points
37
+ - Rebounds
38
+ - Assists
39
+ - Steals
40
+ - Blocks
41
+ - Field Goal %
42
+ - 3-Point %
43
+ - Free Throw %
44
+
45
+
46
+ ## Caveats and Recommendations
47
+ While reasonably accurate on 2018 season data, this model has some important limitations:
48
+
49
+ 1. **Data Recency**: It was trained only on the 2018 season, so its predictions may be less reliable for other seasons with different playing styles, rules, etc.
50
+
51
+ 2. **Player Aging**: The model does not account for the aging/development of players over time. A player's stats from 10 years ago may not reflect their current abilities.
52
+
53
+ 3. **Team Dynamics**: It considers only individual stats and not team-level factors like coaching, chemistry, or system fit.
54
+
55
+ 4. **Rule Changes**: The model does not adapt to changes in rules that could impact team strategies and player values (e.g. moving the 3-point line).
56
+
57
+ It is recommended to use this model's predictions as one factor among many when evaluating potential fantasy teams, rather than treating them as definitive outputs. Incorporating additional contextual information about teams, players, and rules could improve prediction accuracy.
58
+
59
+ For production use cases, it is advised to retrain the model regularly on the most recent NBA data to account for changes in the game over time.