{
  "_id": "6af42767f58eaab799208f50",
  "Package": "lopensemble",
  "Title": "Create Mixture Models From Predictive Samples",
  "Version": "0.1.2.9000",
  "Authors@R": "c(person(given = \"Nikos\",\nfamily = \"Bosse\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"nikosbosse@gmail.com\",\ncomment = c(ORCID = \"0000-0002-7750-5280\")),\nperson(given = \"Yuling\",\nfamily = \"Yao\",\nrole = c(\"aut\"),\nemail = \"yy2619@columbia.edu\"),\nperson(given = \"Sam\",\nfamily = \"Abbott\",\nrole = c(\"aut\"),\nemail = \"contact@samabbott.co.uk\",\ncomment = c(ORCID = \"0000-0001-8057-8037\")),\nperson(given = \"Sebastian\",\nfamily = \"Funk\",\nrole = c(\"aut\"),\nemail = \"sebastian.funk@lshtm.ac.uk\",\ncomment = c(ORCID = \"0000-0002-2842-3406\")))",
  "Description": "Combines predictions from individual time series or panel\ndata models into an ensemble using stacking (Yao, Vehtari,\nSimpson, and Gelman (2018) <doi:10.1214/17-BA1091>) based on\nthe Continuous Ranked Probability Score (CRPS) (Gneiting and\nRaftery (2007) <doi:10.1198/016214506000001437>) over k-step\nahead predictions. Predictions must be predictive distributions\nrepresented by samples, typically posterior predictive\nsimulation draws from a Markov chain Monte Carlo (MCMC)\nalgorithm. Given training data with observed values and\npredictive samples from different models, optimal stacking\nweights are computed to minimize expected cross-validation\npredictive error. These weights can then be used to generate\nsamples from the mixture model by drawing from individual model\npredictions in the correct proportions.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Biarch": "true",
  "Remotes": [
    "stan-dev/cmdstanr"
  ],
  "SystemRequirements": "CmdStan (>=2.29)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://epiforecasts.r-universe.dev",
  "Date/Publication": "2026-01-30 14:51:24 UTC",
  "RemoteUrl": "https://github.com/epiforecasts/lopensemble",
  "RemoteRef": "v0.1.3",
  "RemoteSha": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-11 08:22:28 UTC",
    "User": "root"
  },
  "Author": "Nikos Bosse [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-7750-5280>),\nYuling Yao [aut],\nSam Abbott [aut] (ORCID: <https://orcid.org/0000-0001-8057-8037>),\nSebastian Funk [aut] (ORCID: <https://orcid.org/0000-0002-2842-3406>)",
  "Maintainer": "Nikos Bosse <nikosbosse@gmail.com>",
  "_user": "epiforecasts",
  "_type": "src",
  "_file": "lopensemble_0.1.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/d717ca768da98943f9fba34d422d1b22e15a3ff5a622d2f664fd585d54b0f37f",
  "_filesize": 899141,
  "_sha256": "d717ca768da98943f9fba34d422d1b22e15a3ff5a622d2f664fd585d54b0f37f",
  "_expires": "2027-02-19T08:29:25.000Z",
  "_created": "2026-11-11T08:22:28.000Z",
  "_published": "2026-11-20T02:46:21.805Z",
  "_upstream": "https://github.com/epiforecasts/lopensemble",
  "_status": "success",
  "_maintainer": {
    "name": "Nikos Bosse",
    "email": "nikosbosse@gmail.com",
    "login": "nikosbosse",
    "twitter": "@nikosbosse",
    "description": "Research Engineer",
    "uuid": 37978797,
    "orcid": "0000-0002-7750-5280"
  },
  "_jobs": [
    {
      "job": 130409049030,
      "time": 265,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13840091975"
    },
    {
      "job": 130409049142,
      "time": 285,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13839539231"
    },
    {
      "job": 130409049053,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13840865572"
    },
    {
      "job": 130409048990,
      "time": 253,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13839024652"
    },
    {
      "job": 130407230987,
      "time": 252,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839049871"
    },
    {
      "job": 130409049009,
      "time": 200,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13839877426"
    },
    {
      "job": 130409049049,
      "time": 354,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13839359063"
    },
    {
      "job": 130409049050,
      "time": 370,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13839533676"
    },
    {
      "job": 130409049097,
      "time": 364,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13840291218"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673",
  "_commit": {
    "id": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
    "author": "Seb Funk <sebastian.funk@lshtm.ac.uk>",
    "committer": "Seb Funk <sebastian.funk@lshtm.ac.uk>",
    "message": "Update codecov URL to app.codecov.io\n\nCo-Authored-By: sbfnk-bot <sbfnk-bot@users.noreply.github.com>\n",
    "time": 1769784684
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "cmdstanr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "scoringutils",
      "role": "Suggests"
    }
  ],
  "_owner": "epiforecasts",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 3
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.1.3",
      "date": "2026-01-30"
    }
  ],
  "_topics": [
    "crps",
    "ensembles",
    "forecasting",
    "stacking"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "nikosbosse",
      "count": 65,
      "uuid": 37978797
    },
    {
      "user": "sbfnk",
      "count": 60,
      "uuid": 1156307
    },
    {
      "user": "seabbs",
      "count": 4,
      "uuid": 20317649
    },
    {
      "user": "sbfnk-bot",
      "count": 3,
      "uuid": 242615673
    }
  ],
  "_userbio": {
    "uuid": 54675094,
    "type": "organization",
    "name": "Epiforecasts",
    "followers": 78,
    "description": "Researchers at the London School of Hygiene & Tropical Medicine doing research to forecast infectious diseases and perform real-time analyses."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lopensemble"
  },
  "_devurl": "https://github.com/epiforecasts/lopensemble",
  "_searchresults": 2,
  "_abi": {
    "exports": [
      {
        "key": "lopensemble/include",
        "hash": "d32f595891b8ce82"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lopensemble.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "crps_weights",
    "mixture_from_samples"
  ],
  "_datasets": [
    {
      "name": "example_data",
      "title": "Example Data",
      "object": "example_data",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "geography",
        "model",
        "sample_id",
        "date",
        "predicted",
        "observed"
      ],
      "rows": 104000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "crps_weights",
      "title": "Obtain CRPS stacking weights",
      "topics": [
        "crps_weights"
      ]
    },
    {
      "page": "mixture_from_samples",
      "title": "Make mixture model from predictive samples",
      "topics": [
        "mixture_from_samples"
      ]
    }
  ],
  "_readme": "https://github.com/epiforecasts/lopensemble/raw/v0.1.3/README.md",
  "_rundeps": [
    "cmdstanr",
    "data.table"
  ],
  "_vignettes": [
    {
      "source": "lopensemble.Rmd",
      "filename": "lopensemble.html",
      "title": "lopensemble",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Load example data and split into train and test data",
        "Get weights and create mixture",
        "Score predictions",
        "Methods",
        "CRPS for one model and one single observation",
        "CRPS for a mixture of all models and one single observation",
        "Obtaining the weights that minimize CRPS",
        "References"
      ],
      "created": "2025-06-06 18:41:07",
      "modified": "2025-06-06 18:41:07",
      "commits": 1
    }
  ],
  "_score": 5.276461804173245,
  "_indexed": true,
  "_nocasepkg": "lopensemble",
  "_universes": [
    "epiforecasts",
    "nikosbosse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:26:39.000Z",
      "distro": "resolute",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/c70cce66025753cf845d5b4e27bcc58d4c30a02eac05e253f80049b57ed50caa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:26:56.000Z",
      "distro": "resolute",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/7ec790550578ddb4e53a0eaa2190e497f689488df2e13ec531410a5c1db6fafe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:28:41.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/3cd13295f71d743bbda3a69d67e208aa59d9f1cff01849825160254f3b847499",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:26:40.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/541cbc11cd28fa631db5169446c5d8b61b7a7fb1039d7c5d68a2e4f6c12ac2b0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:26:09.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/dc7a524cffdda4ca2bfffaa11bc835291b324ae2761aed7e64bf57c6c0cd24f6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:27:50.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/b000e7b6703dc3c23c3d0956b4bdef0e7fd3c33410ff7c0850cd33ca4c561e64",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:28:15.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/b5cfe1f705114adcd35b9168f57062909dc5fde55be645f3ff188e51c3019a7f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-11-11T08:28:06.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "https://r2.ropensci.org/5f8fc55af370288d705dc87212fe4a8479c89e04a828e2dd3228a562d88b5eb2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/42985966673"
    }
  ]
}