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

Allow vector min.node.size/min.bucket for class-wise limits #721

Merged
merged 2 commits into from
May 16, 2024

Conversation

mnwright
Copy link
Member

For example, rf <- ranger(Species ~ ., iris, min.bucket = c(2, 3, 4)) only allows nodes with at least 2, 3, and 4 observations of the "setosa", "versicolor" and "virginica" classes, respectively.

@mnwright mnwright merged commit 8e58766 into master May 16, 2024
8 checks passed
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.

1 participant