Skip to content
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

test_size should be either positive and smaller than the number of samples #6

Closed
miggytrinidad opened this issue Dec 9, 2021 · 4 comments

Comments

@miggytrinidad
Copy link

I am having an error in training a model, it says:

test_size=-22.10536044362292 should be either positive and smaller than the number of samples 4328 or a float in the (0, 1) range

@AutoViML
Copy link
Owner

AutoViML commented Dec 9, 2021

Hi @miggytrinidad 👍
Thank you for testing out deep_autoviml. Can you check if you have the latest version (0.0.71)?
The reason I ask is that I just fixed it and it was uploaded to the latest version. If you don't have the latest version, please upgrade using:
pip install deep_autoviml --upgrade

If you have the latest version and still getting this error, please let me know and I will investigate it. Can you paste a link to tyhe notebook or dataset that you are using to get that error??

Thanks
AutoViML

@hunaidkhan2000
Copy link

I am having an error in training a model, it says:

test_size=-22.10536044362292 should be either positive and smaller than the number of samples 4328 or a float in the (0, 1) range

I am also getting the same error with test_size=-5.25

@AutoViML
Copy link
Owner

Hi @miggytrinidad @hunaidkhan2000
Can you please try it with the latest version:

pip install deep_autoviml --upgrade

thanks
AutoViML

@miggytrinidad
Copy link
Author

@AutoViML it's now working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants