Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

pip install spark-sklearn-(version-no) doesn't work #80

Closed
falconic opened this issue May 16, 2018 · 5 comments
Closed

pip install spark-sklearn-(version-no) doesn't work #80

falconic opened this issue May 16, 2018 · 5 comments

Comments

@falconic
Copy link

Hi
I am looking to use best_score_ parameter from GridSearchCV function, but it looks like that is not present in the latest version of the library. When I'm trying to uninstall the latest version and reinstall and older version with the command
pip install spark-sklearn-(version-no)
It does not work. Please rectify this or refer me to a some documentation to see how I can install older versions in my cluster environments.
Thanks

@eliasah
Copy link

eliasah commented May 16, 2018

That's because it's not the correct command.

Here is the correct command if you wish to install an older version :

pip install spark-sklearn==0.2.0

Nevertheless, according to the question that you have asked here, I wouldn't advise that you solve your problem this way.

If there is a 'bug' in with best_score, rather you share a reproducible example so it can be fixed. (Note that v.0.2.0 is almost 2 years old).

@falconic
Copy link
Author

Thank you for your comment. I see that a bug is already opened for this issue at #73. Do you still want me to share a reproducible code for this problem?

@eliasah
Copy link

eliasah commented May 18, 2018

Honestly I don't think it's necessary anymore. The problems resides in the scikit dependency lib used by the project which deprecated model_selection.

@falconic
Copy link
Author

Are there any plans to update that library? Because unless that happens, the scoring and some of the other parameters cannot be used with spark-sklearn library.

@srowen
Copy link
Collaborator

srowen commented Dec 8, 2018

Yeah, see #73 for more info. I am not sure we can set best_score_

@srowen srowen closed this as completed Dec 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants