-
Notifications
You must be signed in to change notification settings - Fork 292
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
Adds more examples to customise AutoPyTorch. #124
Changes from all commits
9fa9fc0
b45fc95
75c2397
4918a11
b268017
1f11cc9
82bf2d1
c2ebe88
470964b
3028f1b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,7 +97,7 @@ def holdout_validation(val_share: float, indices: np.ndarray, **kwargs: Any) -> | |
|
||
def stratified_holdout_validation(val_share: float, indices: np.ndarray, **kwargs: Any) \ | ||
-> Tuple[np.ndarray, np.ndarray]: | ||
train, val = train_test_split(indices, test_size=val_share, shuffle=False, stratify=kwargs["stratify"]) | ||
train, val = train_test_split(indices, test_size=val_share, shuffle=True, stratify=kwargs["stratify"]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, but this we should do via a different PR. I had raised an issue for this in Lucas' repository LMZimmer/Auto-PyTorch_refactor#10. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, could you post in the issue page? |
||
return train, val | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.. _examples_tabular_basics: | ||
|
||
|
||
============================== | ||
Basic Tabular Dataset Examples | ||
============================== | ||
|
||
Basic examples for using *Auto-PyTorch* on tabular datasets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make sure that the documentation also see this change?
For example, we have to change this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay