Uses a simple L2 projection to reconciliate hierarchical time series forecasts.

1 | ```
proj(preds_indiv, pred_total, weights_indiv, weight_total)
``` |

`preds_indiv` |
: K-length vector with predictions ybar_1,...,ybar_K for individual regions |

`pred_total` |
: number with prediction ybar_* for the total consumption |

`weights_indiv` |
: K-length vector with weights a_1,...,a_K for individual regions |

`weight_total` |
: number with weight a_* for the total consumption |

A vector with the reconciliated predictions for the individuals and the total.

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.