Probabilistic Regression Trees
Overview
Implementation of Probabilistic Regression Trees (PRTree), providing functions for model fitting and prediction, with specific adaptations to handle missing values. The main computations are implemented in 'Fortran' for high efficiency. The package is based on the PRTree methodology described in Alkhoury et al. (2020), "Smooth and Consistent Probabilistic Regression Trees" https://proceedings.neurips.cc/paper_files/paper/2020/file/8289889263db4a40463e3f358bb7c7a1-Paper.pdf. Details on the treatment of missing data and implementation aspects are presented in Prass, T.S.; Neimaier, A.S.; Pumi, G. (2025), "Handling Missing Data in Probabilistic Regression Trees: Methods and Implementation in R" doi:10.48550/arXiv.2510.03634.
Install
Health
WARNINGwhether package can be installedr-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-release-macos-arm64, r-release-macos-x86_64
r-oldrel-macos-arm64
Found the following significant warnings: Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized] See ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/PRTree.Rcheck/00install.out’ for details. * used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’ * used SDK: ‘MacOSX11.3.1.sdk’
r-oldrel-macos-x86_64
Found the following significant warnings: Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized] See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/PRTree.Rcheck/00install.out’ for details. * used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’ * used SDK: ‘MacOSX11.3.1.sdk’
r-release-macos-arm64
Found the following significant warnings: Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized] See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/PRTree.Rcheck/00install.out’ for details. * used C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’ * used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’ * used SDK: ‘MacOSX14.5.sdk’
r-release-macos-x86_64
Found the following significant warnings: Warning: 'idx_node.offset' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'idx_node.dim[0].ubound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.offset' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].lbound' is used uninitialized [-Wuninitialized] Warning: 'p_zero.dim[0].ubound' is used uninitialized [-Wuninitialized] See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/PRTree.Rcheck/00install.out’ for details. * used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used Fortran compiler: ‘GNU Fortran (GCC) 14.2.0’ * used SDK: ‘MacOSX11.3.1.sdk’
- WARNING9 OK, 4 WARNING2026-09-08
- ERROR8 OK, 4 WARNING, 1 ERROR2026-09-07
- WARNING12 OK, 1 WARNING2026-05-17
- OK14 OK2026-03-10
Documentation
- Help pages
- 23 (1 internal)includes a package overview page
- Examples that run
- 67%4 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 86%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing PRTree adds 22 packages (12 with compiled code, 18 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, dplyr 902 KB.
Code & Tests
People & History
Maintainer since 1.0.0 (2025), previously Alisson Silva Neimaier (0.1.0 to 0.1.3)
Pick two releases to compare their code metrics.
- 1.1.0Latest2026-07-13 · current release · diff ↗ ·
added 5 exports
expand_sigma_grid, plot_tree, pr_tree_control_cv, pr_tree_cv, train_test_split - RR 4.6.0 released · 2026-04-24
- 1.0.32026-02-18 · diff ↗
- 1.0.22025-10-26 · diff ↗
- 1.0.12025-10-18 · diff ↗
- 1.0.0
- 0.1.32025-05-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.1.22024-09-29 · diff ↗
- 0.1.12024-09-15 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.02024-01-16
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-01-16
- Total releases
- 9 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.3.0
- Download size
- 92 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("PRTree")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.