Skip to content

engression

0.1.6Package record

Engression Modelling

0packages depend
3.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Fits engression models for nonlinear distributional regression. Predictors and targets can be univariate or multivariate. Functionality includes estimation of conditional mean, estimation of conditional quantiles, or sampling from the fitted distribution. Training is done full-batch on CPU (the python version offers GPU-accelerated stochastic gradient descent). Based on "Engression: Extrapolation through the lens of distributional regression" by Xinwei Shen and Nicolai Meinshausen (2024) in JRSSB. Also supports classification (experimental). doi:10.1093/jrsssb/qkae108.

Changes in 0.1.6
  • Fixed examples to check for torch backend availability via torch::torch_is_installed() before running, avoiding errors on systems where the Lantern library is not installed.
  • Fixed a bug in predict.engression() where parentheses were misplaced in a dimension check for quantile predictions.
  • Changed default dropout from 0.05/0.01 to 0.0 in engression() and engressionfit(), and updated documentation to match.
  • Removed reference to non-existent engressionBagged function in documentation.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.6
READMENoVignettesNoNEWSYes · 67% structured · mentions 0.1.6Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
8 (5 internal)
Examples that run
0%3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.8K
CRAN downloads in the past year
Rank #9,782 · ~10/day · ~314/mo
Daily download trend is not available in this view yet.
37130 days
1K90 days
3.8K1 year
Compare downloads with other packages →
Also on89 r2u7 autocran

Repository

57Stars
10Forks
0Open issues
0Open PRs
12Releases
149Commits
1Commit identities
License file reads as BSD-3-Clause · 149 commits · Last activity 2026-10-04 · +5.6% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
44
Median days to close, 50 most recently updated closed PRs
195

Stars over time

2025-10-13 · 402026-10-20 · 57
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/xwshen51/engression on 2026-10-25.

Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-07-31
    Named in .gitignore: .claude
    Commits: at least 35 crediting it in the message
Models named in its commits
  • Claude Opus 5.535 commits · Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing engression adds 24 packages (12 with compiled code, 11 MB of source tarballs). Heaviest: torch 1.9 MB, Rcpp 1.8 MB, farver 1.2 MB.

Depends (0)
none
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.1 (2023)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.6Latest
    record
    2026-04-16 · current release · diff ↗
  • 0.1.5
    record
    2026-01-08 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.4
    record
    2023-11-22 · diff ↗ ·
    removed 1 export
    engressionBagged
  • 0.1.3
    record
    2023-09-15 · diff ↗
  • 0.1.1
    record
    2023-07-06
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-07-06
Total releases
5 / 3 yrs
License
MIT + file LICENSE OSI
Download size
8.8 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("engression")
Meinshausen, N., & Shen, X. (2026). engression: Engression Modelling (Version 0.1.6) [Computer software]. https://doi.org/10.32614/CRAN.package.engression

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for engression version 0.1.6 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy