Skip to content

Commit

Permalink
Final fixes to vignette, bumped package version, updated ReadMe, DESC…
Browse files Browse the repository at this point in the history
…RIPTION and NEWS.
  • Loading branch information
dazzimonti committed May 29, 2024
1 parent 3c0233e commit b9a0a30
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 9 deletions.
4 changes: 2 additions & 2 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 Down
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
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The main functions are:
multivariate Gaussian and the bottom forecasts are discrete distributions.

## News
:boom: [2024-05-24] Added `reconc_MixCond` and `reconc_TDcond`.
:boom: [2024-05-29] Added `reconc_MixCond` and `reconc_TDcond` and the vignette "Reconciliation of M5 hierarchy with mixed-type forecasts".

:boom: [2023-12-19] Added the vignette "Properties of the reconciled distribution via conditioning".

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ The main functions are:

## News

:boom: \[2024-05-24\] Added `reconc_MixCond` and `reconc_TDcond`.
:boom: \[2024-05-29\] Added `reconc_MixCond` and `reconc_TDcond` and the
vignette “Reconciliation of M5 hierarchy with mixed-type forecasts”.

:boom: \[2023-12-19\] Added the vignette “Properties of the reconciled
distribution via conditioning”.
Expand Down
Binary file modified man/figures/README-unnamed-chunk-6-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions vignettes/mixed_reconciliation.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Reconciliation of M5 hierarchy with mixed-type forecasts"
author: "Lorenzo Zambon, Dario Azzimonti, Nicolò Rubattu, Giorgio Corani"
date: "2024-05-22"
author: "Dario Azzimonti, Lorenzo Zambon, Nicolò Rubattu, Giorgio Corani"
date: "2024-05-29"
lang: "en"
bibliography: references.bib
output: rmarkdown::html_vignette
Expand Down Expand Up @@ -193,6 +193,7 @@ TDCond_time <- as.double(round(difftime(stop, start, units = "secs"), 2))
cat("Computational time for TD-cond reconciliation: ", TDCond_time, "s")
```



# Comparison

Expand Down Expand Up @@ -447,7 +448,7 @@ According to RPS, TD-cond does not degrade the bottom base forecasts and improve

# Full reproducibility

The full experiment described in [@zambon2024mixed] can be reproduced by using the code available **here**.
The full experiment described in [@zambon2024mixed] can be reproduced by using the code available [here](https://github.com/LorenzoZambon/M5_MixedReconc).

# References
<div id="refs"></div>

0 comments on commit b9a0a30

Please sign in to comment.