Package: drf 1.3.1
drf: Distributional Random Forests
An implementation of distributional random forests as introduced in Cevid & Michel & Naf & Meinshausen & Buhlmann (2022) <doi:10.48550/arXiv.2005.14458>.
Authors:
drf_1.3.1.tar.gz
drf_1.3.1.zip(r-4.7)drf_1.3.1.zip(r-4.6)drf_1.3.1.zip(r-4.5)
drf_1.3.1.tgz(r-4.6-x86_64)drf_1.3.1.tgz(r-4.6-arm64)drf_1.3.1.tgz(r-4.5-x86_64)drf_1.3.1.tgz(r-4.5-arm64)
drf_1.3.1.tar.gz(r-4.7-arm64)drf_1.3.1.tar.gz(r-4.7-x86_64)drf_1.3.1.tar.gz(r-4.6-arm64)drf_1.3.1.tar.gz(r-4.6-x86_64)
drf_1.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
drf/json (API)
| # Install 'drf' in R: |
| install.packages('drf', repos = c('https://jeffnaef.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/lorismichel/drf/issues
Last updated from:45267445a0. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 199 | ||
| linux-devel-x86_64 | OK | 185 | ||
| source / vignettes | OK | 241 | ||
| linux-release-arm64 | OK | 176 | ||
| linux-release-x86_64 | OK | 173 | ||
| macos-release-arm64 | OK | 267 | ||
| macos-release-x86_64 | OK | 304 | ||
| macos-oldrel-arm64 | OK | 196 | ||
| macos-oldrel-x86_64 | OK | 327 | ||
| windows-devel | OK | 196 | ||
| windows-release | OK | 199 | ||
| windows-oldrel | OK | 165 | ||
| wasm-release | OK | 159 |
Exports:drfget_sample_weightsget_treesplit_frequenciesvariable_importancevariableImportance
Dependencies:clidata.tablefastDummiesgluelatticelifecyclemagrittrMatrixpillarpkgconfigRcppRcppEigenrlangstringistringrtibbleutf8vctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Distributional Random Forests | drf |
| Given a trained forest and test data, compute the training sample weights for each test point. | get_sample_weights |
| Retrieve a single tree from a trained forest object. | get_tree |
| A default leaf_stats for forests classes without a leaf_stats method that always returns NULL. | leaf_stats.default |
| Calculate summary stats given a set of samples for regression forests. | leaf_stats.drf |
| Compute the median heuristic for the MMD bandwidth choice | medianHeuristic |
| Plot a DRF tree object. | plot.drf_tree |
| Predict from Distributional Random Forests object | predict.drf |
| Print a DRF forest object. | print.drf |
| Print a DRF tree object. | print.drf_tree |
| Calculate which features the forest split on at each depth. | split_frequencies |
| Calculate a simple measure of 'importance' for each feature. | variable_importance |
| Variable importance based on MMD | variableImportance |
| Weighted quantiles | weighted.quantile |
