-
Notifications
You must be signed in to change notification settings - Fork 289
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
[Refactor] Made CrossValTypes, HoldoutValTypes to have split functions directly #108
Open
nabenabe0928
wants to merge
12
commits into
automl:master
Choose a base branch
from
nabenabe0928:refactoring-base-dataset_splitting-functions_major-change
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Refactor] Made CrossValTypes, HoldoutValTypes to have split functions directly #108
nabenabe0928
wants to merge
12
commits into
automl:master
from
nabenabe0928:refactoring-base-dataset_splitting-functions_major-change
Commits on May 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b803770 - Browse repository at this point
Copy the full SHA b803770View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d901f9 - Browse repository at this point
Copy the full SHA 4d901f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c31f61 - Browse repository at this point
Copy the full SHA 6c31f61View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d3531 - Browse repository at this point
Copy the full SHA b7d3531View commit details -
[fix] Fix mypy issues and modify the test accordingly
Since the previous codes had the default shuffle = True and the indices shuffle before splitting, the test cases for CV and Holdout did not match. More specifically, when I bring back the followings, I could reproduce the original outputs: 1. Bring back _get_indices in BaseDataset 2. Make the default value of self.shuffle in BaseDataset True 3. Input shuffle = True in KFold instead of using ShuffleSplit These reproduce the original outputs. Note that KFold(shuffle=True) and ShuffleSplit() are not identical and even when we input the same random_state, the results do not reproduce.
Configuration menu - View commit details
-
Copy full SHA for eee3b1c - Browse repository at this point
Copy the full SHA eee3b1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 910e7d4 - Browse repository at this point
Copy the full SHA 910e7d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c9b895 - Browse repository at this point
Copy the full SHA 8c9b895View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e6862 - Browse repository at this point
Copy the full SHA 93e6862View commit details -
Configuration menu - View commit details
-
Copy full SHA for bef4323 - Browse repository at this point
Copy the full SHA bef4323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d2ebb8 - Browse repository at this point
Copy the full SHA 2d2ebb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d90b85 - Browse repository at this point
Copy the full SHA 8d90b85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ef981d - Browse repository at this point
Copy the full SHA 6ef981dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.