Package: StratifiedRF 0.2.2
StratifiedRF: Builds Trees by Sampling Variables in Groups
Random Forest-like tree ensemble that works with groups of predictor variables. When building a tree, a number of variables is taken randomly from each group separately, thus ensuring that it considers variables from each group for the splits. Useful when rows contain information about different things (e.g. user information and product information) and it's not sensible to make a prediction with information from only one group of variables, or when there are far more variables from one group than the other and it's desired to have groups appear evenly on trees. Trees are grown using the C5.0 algorithm rather than the usual CART algorithm. Supports parallelization (multithreaded), missing values in predictors, and categorical variables (without doing One-Hot encoding in the processing). Can also be used to create a regular (non-stratified) Random Forest-like model, but made up of C5.0 trees and with some additional control options. As it's built with C5.0 trees, it works only for classification (not for regression).
Authors:
StratifiedRF_0.2.2.tar.gz
StratifiedRF_0.2.2.zip(r-4.5)StratifiedRF_0.2.2.zip(r-4.4)StratifiedRF_0.2.2.zip(r-4.3)
StratifiedRF_0.2.2.tgz(r-4.4-any)StratifiedRF_0.2.2.tgz(r-4.3-any)
StratifiedRF_0.2.2.tar.gz(r-4.5-noble)StratifiedRF_0.2.2.tar.gz(r-4.4-noble)
StratifiedRF_0.2.2.tgz(r-4.4-emscripten)StratifiedRF_0.2.2.tgz(r-4.3-emscripten)
StratifiedRF.pdf |StratifiedRF.html✨
StratifiedRF/json (API)
# Install 'StratifiedRF' in R: |
install.packages('StratifiedRF', repos = c('https://david-cortes.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/david-cortes/stratifiedrf/issues
Last updated 7 years agofrom:70d5ff051f. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 16 2024 |
R-4.5-win | OK | Nov 16 2024 |
R-4.5-linux | OK | Nov 16 2024 |
R-4.4-win | OK | Nov 16 2024 |
R-4.4-mac | OK | Nov 16 2024 |
R-4.3-win | OK | Nov 16 2024 |
R-4.3-mac | OK | Nov 16 2024 |
Exports:stratified_rfvarimp_stratified_rf
Dependencies:C50cliCubistdplyrfansiFormulagenericsglueinumlatticelibcoinlifecyclemagrittrMatrixmvtnormpartykitpillarpkgconfigplyrR6Rcppreshape2rlangrpartstringistringrsurvivaltibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Make predictions on new data | predict.stratified_rf |
Print summary statistics from a model | print.stratified_rf |
Stratified Random Forest | stratified_rf |
Summary statistics from a model | summary.stratified_rf |
Heuristic on variable importance | varimp_stratified_rf |