Skip to content
Discussion options

You must be logged in to vote

It seems like the issue might be arising from the structure of the params list. Specifically, when you apply the invoke_map function to model_func and params, it might not be handling the character type of your time series objects correctly.

To resolve this, you can modify the code to ensure that the params list contains numeric time series objects. You can do this by directly applying your time series functions (ts_obj and msts_obj) to the data within the train list. Here's a modified version of your code:

walmart_improve_nested <- walmart_improve_nested %>%
  mutate(params = map(train, ts_function$ts_obj))

# Continue with the rest of your code

walmart_improve_nested <- walmart_improve…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kinantytasyao
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
TS Time Series and Forecasting Capstone ML Capstone Machine Learning
4 participants