business-science / modeltime

Modeltime unlocks time series forecast models and machine learning in one framework
https://business-science.github.io/modeltime/
Other
522 stars 79 forks source link

modeltime.resample::time_series_split #120

Open cvaldezerea opened 3 years ago

cvaldezerea commented 3 years ago

Error in seq.default(dots[[1L]][[1L]], dots[[2L]][[1L]]) : 'from' must be a finite number

AlbertoAlmuinha commented 3 years ago

Could you provide a reproducible example?

https://www.tidyverse.org/help/

It's hard to help with just the information you provide...Thanks.

ejharrit commented 1 year ago

I'm getting the same error.

> county_splits <- county_model%>% time_series_split( assess = "1 year", cumulative = TRUE )

Using date_var: election_date Overlapping Timestamps Detected. Processing overlapping time series together using sliding windows. Error in seq.default(dots[[1L]][[1L]], dots[[2L]][[1L]]) : 'from' must be a finite number`

The data is a dataframe of mostly numeric election data (counts of registered voters and turnout)