Nothing
sigma_grid: a scalar or a vector supplied through pr_tree_control() (e.g., sigma_grid = 0) was converted to a 1 x 1 matrix before the number of predictors was known. The Fortran routine then read beyond the supplied values, and model$sigma contained uninitialized memory. The grid is now expanded to n_feat columns once X is available.sprintf() call that produced the error message for vectors of the wrong length..check.sigma_grid(), following the .check.X() and .check.y() pattern, and a consistency check of sigma_grid before calling the Fortran routine.p_zero and idx_node before assignment in src/prtree.f90 and initialized best_train_mse in src/Rcalls.f90 to resolve -Wuninitialized Fortran compiler warnings (including on macOS / M1mac).10.1016/j.apm.2026.117450) to DESCRIPTION, inst/CITATION, and documentation, while keeping the R package paper reference pointing to arXiv:2510.03634.README.md, inst/CITATION, an introductory vignette (vignette("PRTree-intro")), and a testthat test suite, and moved inst/news.md to NEWS.md in the package root.prop_hold and n_rep parameter names in examples/details, and restoring graphical parameters in plot_tree() and examples).pr_tree_cv(), pr_tree_control_cv(), train_test_split()).n_min.perc_test to prop_hold to better reflect its role as the proportion of observations held out for validation or testing, depending on the sigma_grid setting.perc_x to prop_x for consistency with the package naming convention.(v - mu) / sigma instead of v * sigma + mu.pr_tree_control() where distribution parameters (e.g., df for t-distribution) were not properly recognized when creating a control list first and then passing it to pr_tree(). Direct assignment to pr_tree() via ... worked correctly. Parameters now work in both scenarios.y and X to ensure compatibility with Fortran code.n_train argument wasn't being processed correctly for a particular scenario, causing NULL to be passed to the building function.fill_type argument wasn't being processed correctly, causing NULL to be passed to the prediction function.Major update: complete architectural overhaul of the package, introducing significant new features, performance improvements, and enhanced stability.
fill_type parameter:0: Uniform probability.1: Probability = 1 if all non-missing features are in the region.2: Probability based only on non-missing features.crit parameter:mean: Maximize the difference in means between child nodes.var: Maximize the between-node variability.both: Combine both criteria.sigma. The sigma values are passed via sigma_grid (replaces sigmas in the old version).grid_size parameter for sigma grid generation.sigma value. The size of the validation sample is controlled via perc_test (later renamed to prop_hold in 1.1.0).n_candidates parameter.by_node = TRUE).by_node = FALSE).XRegion output showing the final region assignments for each observation.NA tracking in the output.DGELSD for solving least squares problems. This routine uses a Singular Value Decomposition (SVD) method, providing robust minimum-norm solutions even for rank-deficient matrices.Iindep parameter has been removed (it was unused in the previous version).max_depth is now max_terminal_nodes - 1.yhat by default. The full probability matrix P can be obtained with complete = TRUE. The newdata field has been removed from the output list.XRegion field to the output.predict function where the probability matrix P was not computed correctly due to a type mismatch (0 instead of 0L for a parameter), which resulted in incorrect predictions.base.f90 architecture (basic probabilistic regression tree functionality, single split candidate evaluation, and simple uniform-probability missing value handling).0.1.1.flang-19 compiler.PRTree package.base.f90 implementation, featuring single split candidate evaluation and simple missing value handling (uniform probabilities).Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.