Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Fix ExperimentAnalysis usage for Ray 2.7 #272

Merged
merged 7 commits into from
Oct 26, 2023

Conversation

justinvyu
Copy link
Contributor

@justinvyu justinvyu commented Sep 6, 2023

Ray 2.7 has some breaking API changes for tune.ExperimentAnalysis, which tune-sklearn depends on to construct the output. This PR fixes the API usage.

Closes #273

Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Copy link
Contributor

@krfricke krfricke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test failures don't seem related:

 (_Trainable pid=2230) ValueError: Unsupported set of arguments: The combination of penalty='l2' and loss='hinge' are not supported when dual=False, Parameters: penalty='l2', loss='hinge', dual=False

but it would be good to confirm that these changes don't break anything.

Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
@justinvyu justinvyu merged commit a9dc83d into ray-project:master Oct 26, 2023
3 checks passed
@justinvyu justinvyu deleted the fix_exp_analysis branch October 26, 2023 17:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Since Ray-2.7.0, fetch_trial_dataframes is deprecated and raise an DeprecationWarning exception
3 participants