CultriX commited on
Commit
d6418da
·
verified ·
1 Parent(s): c77e3cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,8 +88,8 @@ def calculate_highest_combined_score(data, column):
88
  return column, {}
89
  scores = data[column].dropna().tolist()
90
  models = data['Model'].tolist()
91
- top_combinations = {r: [] for r in range(2, 7)}
92
- for r in range(2, 7):
93
  for combination in combinations(zip(scores, models), r):
94
  combined_score = sum(score for score, _ in combination)
95
  top_combinations[r].append((combined_score, tuple(model for _, model in combination)))
 
88
  return column, {}
89
  scores = data[column].dropna().tolist()
90
  models = data['Model'].tolist()
91
+ top_combinations = {r: [] for r in range(2, 5)}
92
+ for r in range(2, 5):
93
  for combination in combinations(zip(scores, models), r):
94
  combined_score = sum(score for score, _ in combination)
95
  top_combinations[r].append((combined_score, tuple(model for _, model in combination)))