Package: lopensemble 0.1.2.9000

Nikos Bosse

lopensemble: Create Mixture Models From Predictive Samples

Combines predictions from individual time series or panel data models into an ensemble using stacking (Yao, Vehtari, Simpson, and Gelman (2018) <doi:10.1214/17-BA1091>) based on the Continuous Ranked Probability Score (CRPS) (Gneiting and Raftery (2007) <doi:10.1198/016214506000001437>) over k-step ahead predictions. Predictions must be predictive distributions represented by samples, typically posterior predictive simulation draws from a Markov chain Monte Carlo (MCMC) algorithm. Given training data with observed values and predictive samples from different models, optimal stacking weights are computed to minimize expected cross-validation predictive error. These weights can then be used to generate samples from the mixture model by drawing from individual model predictions in the correct proportions.

Authors:Nikos Bosse [aut, cre, cph], Yuling Yao [aut], Sam Abbott [aut], Sebastian Funk [aut]

lopensemble_0.1.2.9000.tar.gz
lopensemble_0.1.2.9000.zip(r-4.7)lopensemble_0.1.2.9000.zip(r-4.6)lopensemble_0.1.2.9000.zip(r-4.5)
lopensemble_0.1.2.9000.tgz(r-4.6-any)lopensemble_0.1.2.9000.tgz(r-4.5-any)
lopensemble_0.1.2.9000.tar.gz(r-4.7-any)lopensemble_0.1.2.9000.tar.gz(r-4.6-any)
lopensemble_0.1.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
lopensemble/json (API)
NEWS

# Install 'lopensemble' in R:
install.packages('lopensemble', repos = c('https://epiforecasts.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/epiforecasts/lopensemble/issues

On CRAN:

Conda:

crpsensemblesforecastingstacking

5.32 score 7 stars 1 packages 1 scripts 2 exports 2 dependencies

Last updated from:cd260b8a8d (on v0.1.3). Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE200
source / vignettesOK274
linux-release-x86_64NOTE166
macos-release-arm64NOTE145
macos-oldrel-arm64NOTE122
windows-develNOTE142
windows-releaseNOTE121
windows-oldrelNOTE131
wasm-releaseOK144

Exports:crps_weightsmixture_from_samples

Dependencies:cmdstanrdata.table

lopensemble

Rendered fromlopensemble.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2025-06-06
Started: 2025-06-06