{
  "_id": "6a1d3ade1d7bb097a0a3ec45",
  "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-06-01 07:51:10 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>",
  "MD5sum": "687d7ae7bf60a8d4e1686a8bd559df1a",
  "_user": "epiforecasts",
  "_type": "src",
  "_file": "lopensemble_0.1.2.9000.tar.gz",
  "_fileid": "9f129191a2557e5760b00293ee70d3b77c5d2a44e127c5b6e1d628d7dac911ae",
  "_filesize": 896089,
  "_sha256": "9f129191a2557e5760b00293ee70d3b77c5d2a44e127c5b6e1d628d7dac911ae",
  "_created": "2026-06-01T07:51:10.000Z",
  "_published": "2026-06-01T07:55:10.604Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78808786418,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7326126629"
    },
    {
      "job": 78808786447,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7326115624"
    },
    {
      "job": 78808786400,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7326102122"
    },
    {
      "job": 78808786446,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7326109619"
    },
    {
      "job": 78808136174,
      "time": 274,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326065224"
    },
    {
      "job": 78808786414,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326109278"
    },
    {
      "job": 78808786401,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7326108552"
    },
    {
      "job": 78808786392,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7326104764"
    },
    {
      "job": 78808786420,
      "time": 121,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7326102249"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/epiforecasts/lopensemble",
  "_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
  },
  "_maintainer": {
    "name": "Nikos Bosse",
    "email": "nikosbosse@gmail.com",
    "login": "nikosbosse",
    "twitter": "@nikosbosse",
    "description": "Research Engineer",
    "uuid": 37978797,
    "orcid": "0000-0002-7750-5280"
  },
  "_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-23",
      "n": 4
    },
    {
      "week": "2025-25",
      "n": 4
    },
    {
      "week": "2025-26",
      "n": 5
    },
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "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.0",
      "date": "2025-06-06"
    },
    {
      "name": "v0.1.1",
      "date": "2025-06-22"
    },
    {
      "name": "v0.1.2",
      "date": "2025-06-23"
    },
    {
      "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
    }
  ],
  "_userbio": {
    "uuid": 54675094,
    "type": "organization",
    "name": "Epiforecasts",
    "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": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lopensemble.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.3222192947339195,
  "_indexed": true,
  "_nocasepkg": "lopensemble",
  "_universes": [
    "epiforecasts",
    "nikosbosse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:54:23.000Z",
      "distro": "noble",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "bfd22bdde1702593743dd416ffc045d90eab604653b23926d39d67fc9d03f0a6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:53:46.000Z",
      "distro": "noble",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "8bec99117e6d579daba8fe357036fc84572ef38c363e5caab05ab3561c6bd27b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:53:08.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "71e76bdb2811f16ac544da9c4ff30f4c4daca87ba854d3d4f3e8807fb9943bdf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:53:27.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "41c8f86b9ae9a78fa6099dd56bbd45ee1e7cd8a21ca18c44916337272a116e96",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:53:50.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "f617fbde8859ace2b7d097f7c9a0f5800d15d4e392b9a1031aed9e7a1072f92b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:53:16.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "8181670a2266188672d9477a5f0fa55fe85c2b49bb2f18877b7bf03cc5b857f2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:53:06.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "7c706e4011dc20142837cefb9077d0204cb18b5c193b1c08ea20729769e74c33",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-06-01T07:52:59.000Z",
      "commit": "cd260b8a8dac089bd8d188fc32ef937f988ad296",
      "fileid": "2da3664e8b0cf0c10e03e2a940520d9fa0840e0807bfb2051f91d5da71066cd9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/26742017002"
    }
  ]
}