Skip to content

Commit

Permalink
fixed bug in xgboost test
Browse files Browse the repository at this point in the history
  • Loading branch information
aglenis committed Nov 4, 2024
1 parent e6dd1cf commit 075b351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/algorithm_validation_tests/flower/test_xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def test_xgboost(get_algorithm_result):
algorithm_result = get_algorithm_result("xgboost", input)
# {'metrics_aggregated': {'AUC': 0.7575790087463558}}
print(algorithm_result)
auc_aggregated = algorithm_result["metrics_aggregated"]["AUC"]
auc_aggregated = algorithm_result["metrics_aggregated"][1]["AUC"]
assert auc_aggregated > 0.0

0 comments on commit 075b351

Please sign in to comment.