boots() and batts() are now the settings of the paper's
simulations. boots(): gradient boosting (use_gradient = TRUE), at most
1000 trees (num_trees_max) selected by 5-fold CV (K_CV = 5) and per-tree
subsampling of one half (subsample_fraction = 0.5); depth 4, learning rate
0.01, 32 bins and margin 0.1 are unchanged. batts(): 200 trees
(num_trees), 2000 burn-in iterations (size_burnin) and 1000 saved draws
(size_backfitting, previously required); the other defaults are unchanged.v0.2.2) with explicit settings.example.R use the new defaults, with a shorter
MCMC run (500 burn-in iterations and 500 draws) for a quick demonstration.subsample_fraction to boots() (default 1, unchanged behavior and
RNG use). A value below one builds each tree from a random subsample of
ceiling(subsample_fraction * m) training observations, drawn as in ada
with bag.frac: one observation per group, the rest uniformly without
replacement regardless of group. Splits, gradients and leaf values use the
subsample; all weights are updated, and the forward-stagewise normalization
and CV losses use the whole training set and held-out folds, respectively.run_adaboost() entry point takes the per-tree subsample
indices as an additional argument; batts() does not subsample.thin and validate prediction matrix dimensions
and finite values before passing data to C++ (U14, U17).update_lambda, lambda_prior_parameters, and
alpha_cutpoint. Leaf scale stays fixed at num_trees * lambda_0; cut
spacing/proposals use the previous default. Remove these named arguments
from existing calls. Nondefault cut grids and scale updating are no longer
supported. The C++ interface is regenerated with the reduced argument list.Official distribution: https://github.com/nawaya040/BATTS.
This release integrates commits 6ea6722 through 909ea357 after the
previous default-branch commit 6f625ba. They correct forward-stagewise
normalization and prediction constants, posterior-forest storage and guards,
CV group handling, gradient CV scaling, split loss and split-boundary rules,
PRUNE indices, and empty-leaf sampling and GROW moves. They add input guards
and restrict Bayesian initialization to unsplit trees. They also reduce
unnecessary copies, history allocation and internal-node index storage.
These existing changes can alter estimates and RNG streams. A run using 0.1.0 must record its own version and settings; numerical identity with the previous public version or every reported paper result is not asserted.
The new type-name fix preserves mathematical operations and RNG calls. Build-level equivalence and limitations are documented in inst/VALIDATION.md. No model, prior, canonical experiment setting or saved result is changed by this release preparation.