We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf27323 commit 13f9c1fCopy full SHA for 13f9c1f
autosklearn/automl.py
@@ -1268,8 +1268,8 @@ def cv_results_(self):
1268
1269
results['mean_fit_time'] = np.array(mean_fit_time)
1270
results['params'] = params
1271
- results['rank_test_scores'] = scipy.stats.rankdata(1 - results['mean_test_score'],
1272
- method='min')
+ rank_order = -1 * self._metric._sign * results['mean_test_score']
+ results['rank_test_scores'] = scipy.stats.rankdata(rank_order, method='min')
1273
results['status'] = status
1274
results['budgets'] = budgets
1275
0 commit comments