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
ValueError: Found array with 0 sample(s) (shape=(0, 1)) while a minimum of 1 is required by check_pairwise_arrays. #16
Comments
Thanks for reporting the error. This is a new one that I haven't seen before and can't replicate. Could you provide me the code you are using as well as the output of the following from your environment:
|
Sure!
|
I used 'all'. And it happens later of the optimization. Maybe RAM? |
I think it's the same: |
Hmmmm... I've replicated your environment and was unable to get the error you received. Could you run this code and test on your end:
I am wondering if it has something to do with the data? If the above works, then perhaps you could send me your X_train, y_train? |
This might be it. I use a custom data source.
Thank you for this incredible support! Just fired up a test with yfinance. Will report back if that works. |
Strange yfinance doesn't work too:
|
Had |
Ha that is interesting, your data works fine for me (ran twice without issue):
Hmmm... what version of tuneta are you using:
|
Ok, let me run with 500, 100 |
What ranges are you using? |
TuneTA: 0.1.37 ranges=[(2, 100)], |
I think this may the problem: DistrictDataLabs/yellowbrick#1185 This was merged into yellowbrick but a release hasn't been generated. Can you please do this:
It may be why I couldn't replicate because I likely installed from github repo too (and forgot) but still shows as Yellowbrick: 1.3.post1 |
Indeed! This worked. Thank you a lot. |
Went smoothly before that until:
So might have been caused by
pta.kc
Any ideas how to solve this?
Thank you for this great package!
The text was updated successfully, but these errors were encountered: