cmu-delphi / cmu-delphi/epipredict

Add `intercept` option to canned forecasters, or maybe some convolutional model

Open
#448 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
18
Forks
13
Avg merge
21d 58m
Merged PRs (30d)
1

Description

I was hoping to make/approximate a convolution-based forecaster & get its kernel with `arx_forecaster`.

E.g. something like
```r
fc <- cases_deaths_subset %>%
arx_forecaster("death_rate_7d_av", "case_rate_7d_av", args_list = arx_args_list(intercept = FALSE))
fc$epi_workflow %>% extract_fit_engine()
```

but there's no such setting, and it's not clear how to even achieve this. I think I got this working for quantile regression in an epipredict test somewhere, and there is maybe [this](https://stackoverflow.com/questions/69004818/how-to-fit-a-model-without-an-intercept-using-r-tidymodels-workflow) approach for `linear_reg` (and I guess also `quantile_reg`). But that seems like something that has to be done inside the canned forecaster itself.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.