Spaces:
Running
Running
Update app.py
Browse files
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,
|
92 |
-
for r in range(2,
|
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)))
|