Package: xrf 0.2.2
xrf: eXtreme RuleFit
An implementation of the RuleFit algorithm as described in Friedman & Popescu (2008) <doi:10.1214/07-AOAS148>. eXtreme Gradient Boosting ('XGBoost') is used to build rules, and 'glmnet' is used to fit a sparse linear model on the raw and rule features. The result is a model that learns similarly to a tree ensemble, while often offering improved interpretability and achieving improved scoring runtime in live applications. Several algorithms for reducing rule complexity are provided, most notably hyperrectangle de-overlapping. All algorithms scale to several million rows and support sparse representations to handle tens of thousands of dimensions.
Authors:
xrf_0.2.2.tar.gz
xrf_0.2.2.zip(r-4.5)xrf_0.2.2.zip(r-4.4)xrf_0.2.2.zip(r-4.3)
xrf_0.2.2.tgz(r-4.4-any)xrf_0.2.2.tgz(r-4.3-any)
xrf_0.2.2.tar.gz(r-4.5-noble)xrf_0.2.2.tar.gz(r-4.4-noble)
xrf_0.2.2.tgz(r-4.4-emscripten)xrf_0.2.2.tgz(r-4.3-emscripten)
xrf.pdf |xrf.html✨
xrf/json (API)
# Install 'xrf' in R: |
install.packages('xrf', repos = c('https://holub008.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/holub008/xrf/issues
Last updated 2 years agofrom:65aa6bd4c7. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win | OK | Nov 22 2024 |
R-4.5-linux | OK | Nov 22 2024 |
R-4.4-win | OK | Nov 22 2024 |
R-4.4-mac | OK | Nov 22 2024 |
R-4.3-win | OK | Nov 22 2024 |
R-4.3-mac | OK | Nov 22 2024 |
Exports:xrf
Dependencies:clicodetoolscpp11data.tabledplyrfansiforeachfuzzyjoingenericsgeosphereglmnetglueiteratorsjsonlitelatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6RcppRcppEigenrlangshapespstringdiststringistringrsurvivaltibbletidyrtidyselectutf8vctrswithrxgboost
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Produce rules & coefficients for the RuleFit model | coef.xrf |
Generate the design matrix from an eXtreme RuleFit model | model.matrix.xrf |
Draw predictions from a RuleFit xrf model | predict.xrf |
Print an eXtreme RuleFit model | print.xrf |
Summarize an eXtreme RuleFit model | summary.xrf |
Fit an eXtreme RuleFit model | xrf |
Fit an eXtreme RuleFit model | xrf.formula |