# Compute error

**URL:** <https://discuss.elastic.co/t/compute-error/164390>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [January 15, 2019, 11:58pm UTC](https://discuss.elastic.co/t/compute-error/164390 "2019-01-15T23:58:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Woolis\_Xiibil\_Peek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/woolis_xiibil_peek/32/42830_2.png) [@Woolis\_Xiibil\_Peek](https://discuss.elastic.co/u/Woolis_Xiibil_Peek)\
**Post date:** [January 15, 2019, 11:58pm UTC](https://discuss.elastic.co/t/compute-error/164390/1 "2019-01-15T23:58:15Z")

</div>

Hi.

I'm getting this error each ten minutes. Is realted to a job to machien learning. Do anyone knows what is happening? How can I fix it?

[2019-01-15T17:51:46,344][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CDecompositionComponent.cc@147] Failed calculating confidence interval: Error in function boost::math::normal\_distribution::normal\_distribution: Scale parameter is nan, but must be \> 0 !, n = 20.0602, m = nan, sd = nan, confidence = 50  
[2019-01-15T17:51:46,344][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CDecompositionComponent.cc@147] Failed calculating confidence interval: Error in function boost::math::normal\_distribution::normal\_distribution: Scale parameter is nan, but must be \> 0 !, n = 13.5703, m = nan, sd = nan, confidence = 50  
[2019-01-15T17:51:46,347][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CNormalMeanPrecConjugate.cc@192] Error calculating joint distribution: Bad variance scale nan  
[2019-01-15T17:51:46,347][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CNormalMeanPrecConjugate.cc@274] Failed to compute probability of less likely samples  
[2019-01-15T17:51:46,348][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CNormalMeanPrecConjugate.cc@1152] Failed computing probability for [nan]  
[2019-01-15T17:51:46,348][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CTimeSeriesModel.cc@990] Failed to compute P([nan] | weight = [[nan, 0.7091527]], time = 1547594505)  
[2019-01-15T17:51:46,348][ERROR][o.e.x.m.j.p.l.CppLogMessageHandler] [monitores] [autodetect/8947] [CIndividualModelDetail.h@103] Failed to compute P([[0]] | feature = 'arithmetic mean value by person', @ [[1547594505]], elapsedTime = 14947200, person = )

Thank you.

---

<div class="post-metadata">

**Author:** ![edsavage](https://avatars.discourse-cdn.com/v4/letter/e/c67d28/32.png) [@edsavage](https://discuss.elastic.co/u/edsavage)\
**Post date:** [January 16, 2019, 1:53pm UTC](https://discuss.elastic.co/t/compute-error/164390/2 "2019-01-16T13:53:00Z")

</div>

Hi,

would it be possible for you to provide us with a couple of pieces of information?

- what version of the Elastic stack are you running?
- what are the details of the job configuration?

Also, it would help us immensely if you could provide us with an (anonymised) data set that reproduces the problem.

In the mean time we'll review our code and investigate.

Thanks,

Ed

---

<div class="post-metadata">

**Author:** ![edsavage](https://avatars.discourse-cdn.com/v4/letter/e/c67d28/32.png) [@edsavage](https://discuss.elastic.co/u/edsavage)\
**Post date:** [January 16, 2019, 4:23pm UTC](https://discuss.elastic.co/t/compute-error/164390/3 "2019-01-16T16:23:59Z")

</div>

Hi,

I've opened [https://github.com/elastic/ml-cpp/issues/364](https://github.com/elastic/ml-cpp/issues/364) to track this issue. As mentioned, any further information you can provide to help us get to the bottom of this would be greatly appreciated,

Thanks,

Ed

---

<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:** [February 13, 2019, 4:24pm UTC](https://discuss.elastic.co/t/compute-error/164390/4 "2019-02-13T16:24:00Z")

</div>

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