Port the score-driven estimators to ForecastSet

Open
#104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
julia
Domain
data

Research direction

Read stacking.jl around line 101, then inspect online.jl and crps_stacking.jl for the groupby reshaping and scoring inputs. Find how ForecastSet exposes per-task samples, model indices, counts, and observations, then use those inputs directly. Done means fitted weights and scores match the current results across the three estimators.

Written by the indexing model from the issue text.

Description

enhancement

stacking.jl, online.jl and crps_stacking.jl build per-task samples, model indices, counts and observations from a groupby over the long frame (for example stacking.jl:101) before scoring. That is a reshaping step the set already does.

Build those per-task inputs from the ForecastSet directly. Fitted weights and scores should match before and after.

Dominant language
Julia
Stars
2
Forks
0
Avg merge
2h 49m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from epiforecasts/ForecastEnsembles.jl

All issues in epiforecasts/ForecastEnsembles.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.