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
Adjusting test_size doesn't actually change test_size #3
Comments
Thank you for reporting an issue. However, I am unable to reproduce the issue. I believe I may have had some local changes that I had not committed to the repo, so I created a new version (0.1.6). I updated the files for pip and conda installation as well. Please try the updated version and let me know how it goes. Here is the output that I get: TRAIN: [0 1 2 4 5 7] TEST: [3 6]
6
2
TRAIN: [0 1 3 4 5 7] TEST: [2 6]
6
2
TRAIN: [0 1 3 4 5 6] TEST: [2 7]
6
2 |
Thanks Trent. It's all good for me now :) |
I still get the same behavior in 1.6
|
My intuition is that an earlier version of iterative-stratification is being used (even though I see that pip said that it installed 0.1.6). Try the following to confirm which version is being used:
Fix suggestions:
Please let me know if this works for you. |
Found when it happens. Python 2.7 vs 3. Can you please give it a try in 2.7? not sure what needs to be changed for it to work in 2.7, probaby one of the default casts when dividing, this is the most common problem. |
The package doesn't currently support running under Python 2.7, only 3.4, 3.5, and 3.6 (see the Requirements section of README.md). I'll take a look though, but it may be a few weeks. |
I managed to get around it by adding the future division and importing
directly, so i am good for now! Thank you for this fantastic package
…On Sun, Dec 23, 2018, 10:46 trent-b ***@***.*** wrote:
Reopened #3 <#3>
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL6LC4sh5vEW_NllqZaDzBBX7PeGFIQSks5u7qgwgaJpZM4Vk0uD>
.
|
I'm glad you were able to find a workaround for 2.7. |
I've decided to stay with this package's claim that it only supports 3.X. |
Hello!
I'm trying to use this code for a project, however, I don't want my test size to be 0.5. When I try and adjust it, I don't get a change:
outputs:
Koodos on putting this out there!
The text was updated successfully, but these errors were encountered: