James McCool commited on
Commit
d42af28
·
1 Parent(s): e512b33

Increase the number of top combos analyzed from 50 to 100 in the analyze_player_combos function, enhancing the depth of player combination statistics available for analysis.

Browse files
global_func/analyze_player_combos.py CHANGED
@@ -56,7 +56,7 @@ def analyze_player_combos(display_frame, excluded_cols, combo_size=2):
56
  combo_stats = []
57
  total_lineups = len(display_frame)
58
 
59
- for combo, count in combo_counter.most_common(50): # Top 50 combos
60
  exposure = count / total_lineups
61
 
62
  # Calculate average stats for lineups containing this combo
 
56
  combo_stats = []
57
  total_lineups = len(display_frame)
58
 
59
+ for combo, count in combo_counter.most_common(100): # Top 50 combos
60
  exposure = count / total_lineups
61
 
62
  # Calculate average stats for lineups containing this combo