title: Problems with diagnostics of prophet forecast
body: <p>I am working with an dataset of crimes in chicago and specially working on a future prediction of the crime rate in chicago (from 2012 till 2016 I have data). I generated a forecast using the prophet package of facebook. It worked very well and all done. Now I would like to train and test my model. Therefore, I split the dataset into 70% train and 30% test. I trained the model and test it and at the end I got a nice plot. I am further interested in the diagnostic part. Prophet provides for that a function called <code>cross_validation()</code> which I used: <code>df.cv&lt;- cross_validation(m, initial = nrow(trainData), period = 365, horizon = nrow(testData), units = 'days')</code>
  . The problems is here, I am geting always this error and trying since yesterday to fix it, without success: </p>
  
  <pre><code>Fehler in generate_cutoffs(df, horizon.dt, initial.dt, period.dt) : 
  Less data than horizon after initial window. Make horizon or initial shorter.
  </code></pre>
  
  <p>Does somebody know how to fix this error and provide a list of diagnostics?</p>
  
  <p>My train/test plot looks so:</p>
  
  <p><a href="https://i.stack.imgur.com/Esy8z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Esy8z.png" alt="Train/Test Plot"></a></p>
  
  <p>And my train Dataset can be downloaded here: <a href="https://ufile.io/4e38c" rel="nofollow noreferrer">https://ufile.io/4e38c</a>
  And my test Dataset here: <a href="https://ufile.io/ds65p" rel="nofollow noreferrer">https://ufile.io/ds65p</a></p>
  
  <p>I hope somebody could help me! It would be really great and I would really appreciate it. Thanks in advance!</p>