Skip to content

[WIP] Node bootstrap #17500

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

Closed
wants to merge 2 commits into from
Closed

[WIP] Node bootstrap #17500

wants to merge 2 commits into from

Conversation

JosephTLucas
Copy link
Contributor

#DataUmbrella
cc: @ab-anssi

Reference Issues/PRs

Issue #11993

What does this implement/fix? Explain your changes.

@ab-anssi and I wanted to use a trivial example to test the functionality of splitting training data at the tree level, but even this hard-coded and minimally invasive example broke the unit tests without delivering acceptable functionality. Do you have any other input or guidance on the right way to implement this or corrections to our approach?

Any other comments?

Added random_state and n_samples
Modified documentation to reflect default values
Modified call to resample
@@ -565,7 +565,7 @@ def resample(*arrays,
return resampled_arrays


def shuffle(*arrays, **options):
def shuffle(*arrays, random_state=None, n_samples=None):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Did you intentionally include this in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, was trying to figure out how to fix that. That was from a PR earlier today.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not intentionally ... It was supposed to be a second PR.
We are going to fix it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you need help!

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

Successfully merging this pull request may close these issues.

3 participants