# Machine learning Forecasting error

**URL:** https://discuss.elastic.co/t/machine-learning-forecasting-error/174481
**Category:** Kibana
**Tags:** elastic-stack-machine-learning
**Created:** [March 29, 2019, 6:54am UTC](https://discuss.elastic.co/t/machine-learning-forecasting-error/174481 "2019-03-29T06:54:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ROHINIK1RAM](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@ROHINIK1RAM](https://discuss.elastic.co/u/ROHINIK1RAM)
#### Post date: [March 29, 2019, 6:54am UTC](https://discuss.elastic.co/t/machine-learning-forecasting-error/174481/1 "2019-03-29T06:54:12Z")

</div>

Hi I am Rohini,

I am using Elastic search and kibana for the past three months. It's really amazing and cool.

I am implementing forecasting part in Kibana.

I have time series data which it has (Date and values) in it and my aim is to do forecasting in the time series through kibana.

So, in kibana =\> MachineLearning =\> single metric job, I inserted my time series data and I am not able to forecast for the next weeks.

I am getting only a single yellow line in kibana, that's so frustrated me, I want to see the series (Curves) in it.

I tried with nearly

 ![Screenshot%20from%202019-03-26%2010-52-10](https://us1.discourse-cdn.com/elastic/original/3X/2/0/202bdaa1ad0f2cc64d30ca63aac27aac712ea84d.png) 25-time series dataset, still getting the same error.

So, Am I doing something wrong? or should I need to do payment or subscriptions?

---

<div class="post-metadata">

### Author: ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)
#### Post date: [March 29, 2019, 2:43pm UTC](https://discuss.elastic.co/t/machine-learning-forecasting-error/174481/2 "2019-03-29T14:43:59Z")

</div>

You haven't provided enough historical data in order for the ML models to learn the "curves" (the periodic behavior) of the data. I would recommend at least 3-4 weeks. For example:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/0/60675c27a16a701555e363e1d7909973b66a925d.png)

---

<div class="post-metadata">

### Author: ![ROHINIK1RAM](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@ROHINIK1RAM](https://discuss.elastic.co/u/ROHINIK1RAM)
#### Post date: [March 29, 2019, 2:56pm UTC](https://discuss.elastic.co/t/machine-learning-forecasting-error/174481/3 "2019-03-29T14:56:07Z")

</div>

okay  
thanks a lot.

Sure.

I will try.

thanks a lot

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 26, 2019, 2:56pm UTC](https://discuss.elastic.co/t/machine-learning-forecasting-error/174481/4 "2019-04-26T14:56:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
