-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
GridsearchCV does not work with mix of floats + None for LogisticRegression #1533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't understand. |
Please let me know if we can improve the documentation somehow. To me "C must be a float" is quite explicit. |
The docs say that C if not set as a float is by default None which means it is set to n_samples |
Really? oh, sorry. I think this is a mistake in the docs. |
the docs say that C = None as the default init setting ... On Tue, Jan 8, 2013 at 3:34 AM, Andreas Mueller notifications@github.comwrote:
|
... oh sorry, I accidentally was looking at the wrong version >___< http://scikit-learn.org/0.11/modules/generated/sklearn.linear_model.LogisticRegression.html |
No problem. We wanted to put a warning banner on all old versions but somehow that never got done :( |
There is a warning banner there on the top left :) |
That is not really a warning. That is there in all versions. |
a bigger one would be nice >____< maybe something like On Tue, Jan 8, 2013 at 4:11 AM, Jaques Grobler notifications@github.comwrote:
|
Hmm.. that would be nice (@RONNCC 's suggestion).. |
@jaquesgrobler as I said, there is an option in the doc config to include a banner. @jakevdp coded it I think. |
see #640 ;) |
Just getting a ☕ then I'm on it |
The config flag is in doc/themes/scikit-learn/theme.conf. |
Just building etc. Will check the docs and then submit :) |
Hey Andy - just built version 11 with that flag(
|
Didn't know you spoke German. Not bad :) |
haha, not very well.. understand more than I speak.. nonetheless.. Think I've got it working now.. just checking it again..watch this space 😄 |
that's for 9. |
When i set C =
'C':[.01,.1,10,20,30,40,50,100,None], or 'C':[None,.01,.1,10,20,30,40,50,100], it complains C must be a float. Yet 'C':[.01,.1,10,20,30,40,50,100] works.
It does not seem to parse out the None correctly?
The text was updated successfully, but these errors were encountered: