Skip to content

Commit

Permalink
added extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aglenis committed Jan 12, 2025
1 parent 5ba597d commit ee1805f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exareme2/algorithms/flower/xgboost/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ def aggregate_evaluate(self, rnd, results, failures):
self.initial_auc = aggregated_metrics["AUC"]
if rnd == self.num_rounds:
print(aggregated_metrics)
curr_auc = aggregated_metrics["AUC"]
curr_auc = aggregated_metrics[1]["AUC"]
auc_diff = curr_auc - self.initial_auc
auc_ascending = ""
if auc_diff > 0.0:
if auc_diff >= 0.0:
auc_ascending = "correct"
else:
auc_ascending = "not_correct"
Expand Down

0 comments on commit ee1805f

Please sign in to comment.