Basically I have 780 (daily) observations from which i would like to train 80% of the data, and the remaining 20% use for cross validation. Therefore I understand I shall use :
df_cv = cross_validation(m, initial='624 days', horizon='156 days')
where initial date corresponds to the first nº of observations I would like to train and horizon the remaining nº of observations I would like to use for cross validation.
I think i am not applying this correctly as it appears a cutoff date I do not really understand what is for.
How could I achieve my goal of using the initial 80% of observations to train the data an last 20% for cross validation?
Thank you in advance