# \donttest{
library(OptiSembleForecasting)
date<-seq.Date(from = as.Date('2019-09-17'), to = as.Date('2022-09-18'), by = 'days')
value<-rnorm(length(date),100, 50)
data<-cbind(date,value)
fit<-OptiSembleForcasting(TS=data,Lag = 20, Optimization = "ABC",Split_ratio = 0.9)
# }
Run the code above in your browser using DataLab