Comments (9)
This isn't the most informative issue I have
seen....
from episoon.
the issue is that for the AR 3 model some outputs are not produced. And therefore the lengths of the raw_forecast samples differ as a symptom of an underlying problem.
from episoon.
hm okk the bug only happens sometimes. so I assume it has something to do with the AR 3 fit
I don't think it is an issue of the input format. I retried with
obs_rts <- EpiSoon::example_obs_rts %>%
dplyr::mutate(timeseries = 1, sample = 1) %>%
rbind(EpiSoon::example_obs_rts %>%
dplyr::mutate(timeseries = 2, sample = 1))
obs_cases <- EpiSoon::example_obs_cases %>%
dplyr::mutate(timeseries = 1, sample = 1) %>%
rbind(EpiSoon::example_obs_cases %>%
dplyr::mutate(timeseries = 2, sample = 1))
and the issue still persists sometimes
from episoon.
Can you make a reprex and will review. Even better enter the debug and step through. :)
from episoon.
at least a bit more minimal and reproducible:
models <- list("AR 3" =
function(...) {EpiSoon::bsts_model(model =
function(ss, y){bsts::AddAr(ss, y = y, lags = 3)}, ...)})
obs_rts <- EpiSoon::example_obs_rts %>%
dplyr::mutate(timeseries = 1, sample = 1)
for (i in 1:10) {
tmp <- iterative_rt_forecast(rts = obs_rts, model = models[[1]],
horizon = 7, samples = 10)
print(nrow(tmp))
}
from episoon.
awesome - ty
from episoon.
So the issue is bsts models randomly fail right - is that not a known issue? or am I confused here?
from episoon.
So the issue is bsts models randomly fail right
I think basically yes.
from episoon.
So I was thinking should put in a proportion successful to one of the summary calls so this can be checked. Will look at doing tomorrow? Thanks for exploring :)
from episoon.
Related Issues (20)
- horizon > 7 HOT 1
- Make `bsts` and `fable` suggests HOT 1
- Reduce dependencies + speed up code
- S3 enhancement
- Visualising model scoring HOT 2
- GitHub actions and travis HOT 5
- Towards a CRAN realise
- JOSS review HOT 1
- README update
- Wrapper for forecastHybrid
- Wrapper for forecast HOT 1
- Improve the handling of uncertainty when using `forecastHybrid`
- Infrastructure for comparing case only forecasts to case forecasts via Rt HOT 2
- forecastHybrid runs in parallel despite settings HOT 1
- pkgdown site not updating HOT 3
- master -> main HOT 1
- plot_compare_timeseries example is broken
- Code styling
- Speed up renewal HOT 2
- Definition and usage of the serial interval/generation time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from episoon.