Skip to content

gbm

Generalized Boosted Regression Models

v2.2.3 · Jan 22, 2026 · GPL (>= 2) | file LICENSE

Description

An implementation of extensions to Freund and Schapire's AdaBoost algorithm and Friedman's gradient boosting machine. Includes regression methods for least squares, absolute loss, t-distribution loss, quantile regression, logistic, multinomial logistic, Poisson, Cox proportional hazards partial likelihood, AdaBoost exponential loss, Huberized hinge loss, and Learning to Rank measures (LambdaMart). Originally developed by Greg Ridgeway. Newer version available at github.com/gbm-developers/gbm3.

Downloads

CRAN

38K

Last 30 days

580th

110.3K

Last 90 days

485.4K

Last year

Trend: -2.8% (30d vs prior 30d)

r2u CRAN

306

Last 30 days

1.1K

Last 90 days

3.5K

Last year

Trend: -22.3% (30d vs prior 30d)

autoCRAN

23

Last 7 days

136

Last 30 days

8

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

conda-forge CRAN

617

Last 30 days

2.1K

Last 90 days

9.5K

Last year

Trend: -28.2% (30d vs prior 30d)

bioconda CRAN

30

Last 30 days

97

Last 90 days

473

Last year

Trend: -18.9% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Additional Issues

linux-arm64 Details →

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

16,546

Files

124

Compiled share

60.9%

Has compiled src

Yes

Language breakdown

R 4,127 (24.9%)C/C++/src 10,074 (60.9%)Tests 5 (0%)Docs 1,902 (11.5%)Vignettes 438 (2.6%)

API

Exported functions

42

Internal functions

17

Recent export changes

v2.1.8−3 grid.arrange, shrink.gbm, shrink.gbm.pred

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

89.5%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.9.0

System requirements

C++ standard

License

GPL (>= 2) | file LICENSE

License flags

SPDX valid, not OSI

History

Versions

34

First release

2003-02-18

Latest release

2026-01-22

Avg cadence

122 days

Cold removal rate

100%

Dep drift

8

LOC over versions

v0.6: 7,682 LOCv0.7: 7,785 LOCv0.7-1: 7,715 LOCv0.7-2: 7,713 LOCv1.0: 7,776 LOCv1.1-1: 8,178 LOCv1.1-2: 8,196 LOCv1.2: 8,193 LOCv1.3-3: 8,968 LOCv1.3-5: 9,053 LOCv1.4-2: 9,055 LOCv1.5: 9,083 LOCv1.5-1: 9,084 LOCv1.5-3: 9,084 LOCv1.5-5: 9,087 LOCv1.5-7: 9,148 LOCv1.6-1: 9,676 LOCv1.6-2: 9,679 LOCv1.6-3: 9,683 LOCv1.6-3.1: 9,683 LOCv1.6-3.2: 9,675 LOCv2.0-5: 14,630 LOCv2.0-8: 14,606 LOCv2.1: 14,871 LOCv2.1.1: 14,866 LOCv2.1.2: 14,867 LOCv2.1.3: 14,893 LOCv2.1.4: 17,581 LOCv2.1.5: 17,593 LOCv2.1.8: 16,869 LOCv2.1.8.1: 16,872 LOCv2.1.9: 16,520 LOCv2.2.2: 16,546 LOCv2.2.3: 16,546 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (106)

Dependency Network

Dependencies Reverse dependencies lattice survival LogisticEnsembles NumericEnsembles gbm2sas mma ARTtransfer CRE CoxAIPW E2E EZtune EpiSemble GB5mcPred IPMRF MEGB OpEnHiMR PSweight +91 more reverse deps gbm

Version History

35 tracked
new 2.2.3 Mar 10, 2026
updated 2.2.3 ← 2.2.2 diff Jan 21, 2026
updated 2.2.2 ← 2.1.9 diff Jun 27, 2024
updated 2.1.9 ← 2.1.8.1 diff Jan 9, 2024
updated 2.1.8.1 ← 2.1.8 diff Aug 10, 2022
updated 2.1.8 ← 2.1.5 diff Jul 14, 2020
updated 2.1.5 ← 2.1.4 diff Jan 13, 2019
updated 2.1.4 ← 2.1.3 diff Sep 15, 2018
updated 2.1.3 ← 2.1.2 diff Mar 20, 2017
updated 2.1.2 ← 2.1.1 diff Mar 20, 2017
updated 2.1.1 ← 2.1 diff Mar 10, 2015
updated 2.1 ← 2.0-8 diff May 9, 2013
updated 2.0-8 ← 1.6-3.2 diff Jan 17, 2013
updated 1.6-3.2 ← 2.0-5 diff Dec 8, 2012
updated 2.0-5 ← 1.6-3.1 diff Dec 7, 2012