Divide the time series into training and t e sting
>>> t r ai n , t e s t = t s [ : len ( ts )−12], ts [ len ( ts ) −12:]