Comments (1)
The min.node.size
is evaluated before the splitting, meaning that smaller nodes can occur.
This is also described in the help on ranger()
:
Note that for classification and regression nodes with size smaller than min.node.size can occur, like in original Random Forest. For survival all nodes contain at least min.node.size samples.
Note the difference for survival forests. The 0 in the R code is mapped to response-specific default values later in C++.
To get the number of nodes per tree you could use
sapply(rf$forest$split.varIDs, length)
where rf
is a ranger object with write.forest = TRUE
.
from ranger.
Related Issues (20)
- Performance Evaluation of Models HOT 3
- Perfect Association Between Covariates and Outcome Does Not Have Perfectly Ranked Survival Function Sums HOT 2
- Issue with respect.unordered.factors HOT 1
- Could ranger record samples used for each tree? HOT 1
- `treeInfo()`might be wrong if `class.values` are not ordered in ascending order HOT 2
- Error: Missing data in columns: pop when running random forest regression HOT 1
- split candidates HOT 1
- Can not specify the classes of a prediction outcome HOT 4
- Is it possible to add the cross-entropy method to the splitrule options? HOT 2
- Unexpected behaviour with combined `always.split` and `split.select.weights` HOT 1
- Define a custom loss function HOT 2
- R squared in stand alone version
- Error: Missing data in columns: predictor1, predictor2.... HOT 2
- Incorrect bounds check in beta log probability HOT 2
- Different predictions based on variable importance setting HOT 4
- `ranger()` finished, but `rsession` is still running HOT 8
- Trying to spatially predict(type="se")$se and the output has many null values and what look like spatial offsets? HOT 6
- compilation failed for package βrangerβ HOT 34
- ranger-cli fails to build HOT 1
- treeInfo() fails for probability trees with non-factor response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ranger.