You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
The problem is in the method _format_results of the TuneBaseSearchCV class. Specifically, when creating the test_scores and train_scores dictionaries. Here is the code:
test_scores = {}
train_scores = {}
for name in self.scoring_:
test_scores[name] = [
df[
[
col
for col in dfs[0].columns
if "split" in col and "test_%s" % name in col
]
].to_numpy()
for df in finished
]
So, when doing if "split" in col and "test_%s" % name in col for the score kappa the results of both scores (kappa and kappa_quadratic) are returned, causing an error downstream.
Now I am using scores names that avoid that confusion, but it took me a while to figure it out.
ray: 1.13.0
tune-sklearn: 0.4.3
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi everyone,
I am having issues when using TuneSearch CV and a dictionary of scores. The dictionary is the following:
The problem is in the method _format_results of the TuneBaseSearchCV class. Specifically, when creating the test_scores and train_scores dictionaries. Here is the code:
So, when doing
if "split" in col and "test_%s" % name in col
for the score kappa the results of both scores (kappa and kappa_quadratic) are returned, causing an error downstream.Now I am using scores names that avoid that confusion, but it took me a while to figure it out.
ray: 1.13.0
tune-sklearn: 0.4.3
The text was updated successfully, but these errors were encountered: