Skip to content

Commit

Permalink
Merge pull request #11 from IDSIA/TD
Browse files Browse the repository at this point in the history
Mixed-type reconciliation algorithms
  • Loading branch information
nicorbtt authored May 29, 2024
2 parents 71114d7 + b9a0a30 commit d6c959a
Show file tree
Hide file tree
Showing 65 changed files with 3,938 additions and 814 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
^doc$
^Meta$
^data-raw$
^\./tests/testthat/dataForTests/generate_weeklyTestData\.R$
16 changes: 12 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: bayesRecon
Type: Package
Date: 2023-12-19
Date: 2024-05-29
Title: Probabilistic Reconciliation via Conditioning
Version: 0.2.0
Version: 0.3.0
Authors@R: c(person(given = "Dario",
family = "Azzimonti",
role = c("aut","cre"),
Expand All @@ -24,7 +24,15 @@ Authors@R: c(person(given = "Dario",
email = "[email protected]",
comment = c(ORCID = "0000-0002-1541-8384")))
Maintainer: Dario Azzimonti <[email protected]>
Description: Provides methods for probabilistic reconciliation of hierarchical forecasts of time series. The available methods include analytical Gaussian reconciliation (Corani et al., 2021) <doi:10.1007/978-3-030-67664-3_13>, MCMC reconciliation of count time series (Corani et al., 2022) <doi:10.48550/arXiv.2207.09322>, Bottom-Up Importance Sampling (Zambon et al., 2022) <doi:10.48550/arXiv.2210.02286>.
Description: Provides methods for probabilistic reconciliation of hierarchical forecasts of time series.
The available methods include analytical Gaussian reconciliation (Corani et al., 2021)
<doi:10.1007/978-3-030-67664-3_13>,
MCMC reconciliation of count time series (Corani et al., 2024)
<doi:10.1016/j.ijforecast.2023.04.003>,
Bottom-Up Importance Sampling (Zambon et al., 2024)
<doi:10.1007/s11222-023-10343-y>,
methods for the reconciliation of mixed hierarchies (Mix-Cond and TD-cond)
(Zambon et al., 2024. The 40th Conference on Uncertainty in Artificial Intelligence, accepted).
License: LGPL (>= 3)
Depends: R (>= 4.1.0)
Imports:
Expand All @@ -34,7 +42,7 @@ Imports:
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown=TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Suggests:
knitr,
rmarkdown,
Expand Down
7 changes: 7 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Generated by roxygen2: do not edit by hand

export(PMF.get_mean)
export(PMF.get_quantile)
export(PMF.get_var)
export(PMF.sample)
export(PMF.summary)
export(get_reconc_matrices)
export(reconc_BUIS)
export(reconc_MCMC)
export(reconc_MixCond)
export(reconc_TDcond)
export(reconc_gaussian)
export(schaferStrimmer_cov)
export(temporal_aggregation)
16 changes: 14 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# bayesRecon 0.3.0

* Added `reconc_MixCond`, the implementation of Mixed conditioning for the reconciliation of mixed-type hierarchical forecasts.

* Added `reconc_TDcond`, the implementation of Top-down conditioning for the reconciliation of mixed-type hierarchical forecasts.

* Vignette "Reconciliation of M5 hierarchy with mixed-type forecasts".

* Added functions `PMF.get_mean`, `PMF.get_quantile`, `PMF.get_var`, `PMF.sample`, `PMF.summary` that return point estimates and samples from a probability mass function object.

* Added the dataset `M5_CA1_basefc` which contains the base forecasts for the store "CA1" of the hierarchical time series in the M5 competition.

# bayesRecon 0.2.0

* Vignette "Properties of the reconciled distribution via conditioning"
* Vignette "Properties of the reconciled distribution via conditioning".

* Added option in `reconc_BUIS` to pass some base forecast as parameters and some as samples
* Added option in `reconc_BUIS` to pass some base forecast as parameters and some as samples.

* Added option in `reconc_BUIS` to input a list of distributions instead of a string.

Expand Down
10 changes: 0 additions & 10 deletions R/M3_example.R

This file was deleted.

Loading

0 comments on commit d6c959a

Please sign in to comment.