-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Titanic example broken, np.isnan(titanic_new) generates error and training results in CV of 0.5 #201
Comments
Can't reproduce this bug on an Anaconda install w/ Python 3. Can you please report the versions of Python & packages that you're using? |
I am not using Anaconda. Is that a problem?
|
Anaconda shouldn't be necessary, and your package versions seem to check out. This is very strange! What happens if you run the MNIST example? https://github.com/rhiever/tpot#example |
Going to close this issue. Please re-open if the problem persists on other data sets. |
I had the same problem. This was caused by using a sparse matrix as input. np.isnan() does not work on sparse matrices. Is there a way around this other than converting to dense? |
Please try scipy.sparse.csr_matrix.todense |
yes, that works. I meant if it was possible to use TPOT with a sparse matrix. |
No luck with the Titanic tutorial on the latest installation versions of TPOT and its dependencies.
The text was updated successfully, but these errors were encountered: