-
Notifications
You must be signed in to change notification settings - Fork 272
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
Text classification - error when fitting HyperoptEstimator #71
Comments
It looks like this bug was introduced during refactoring when a bunch of new features were added. The problem stems from In the meantime, one option would be to use a version of the code before the bug was introduced. This is the last commit where things are working. You can check this point out and use it with this command: |
As mentioned in hyperopt#71 feeding sparse arrays to .fit caused ``` ValueError: zero-dimensional arrays cannot be concatenated ``` to be raised. This fixes the issue.
As mentioned in hyperopt#71 feeding sparse arrays to .fit caused ``` ValueError: zero-dimensional arrays cannot be concatenated ``` to be raised. This fixes the issue.
fixed in #107 |
Hi there,
I am encountering an issue regarding the text classifier example explained at http://hyperopt.github.io/hyperopt-sklearn/.
I'm litteraly copy-pasting the example, but an error rises when I execute the fit command.
I have checked that my numpy version is 1.11.0 ( I saw that this could be an issue).
Do you have an idea of what's going on? Maybe Python 3.5 ?
Thank you,
The text was updated successfully, but these errors were encountered: