Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -449,7 +449,7 @@ def compare_ind(med, game, ed, bank, sci, social, ml, other, models_to_compare=N
|
|
| 449 |
heatmap_data_metric = heatmap_data_metric.rename(index=dataset_id_to_name)
|
| 450 |
print(heatmap_data_metric)
|
| 451 |
fig = plt.figure(figsize=(12, 8))
|
| 452 |
-
sns.heatmap(heatmap_data_metric, annot=True, cmap=
|
| 453 |
plt.title(f"{metric} per Dataset and Model ({len(selected_datasets_keys)} datasets)")
|
| 454 |
plt.ylabel("Dataset")
|
| 455 |
plt.xlabel("Model")
|
|
|
|
| 449 |
heatmap_data_metric = heatmap_data_metric.rename(index=dataset_id_to_name)
|
| 450 |
print(heatmap_data_metric)
|
| 451 |
fig = plt.figure(figsize=(12, 8))
|
| 452 |
+
sns.heatmap(heatmap_data_metric, annot=True, cmap="crest", fmt=".3f", cbar=True)
|
| 453 |
plt.title(f"{metric} per Dataset and Model ({len(selected_datasets_keys)} datasets)")
|
| 454 |
plt.ylabel("Dataset")
|
| 455 |
plt.xlabel("Model")
|