Skip to content

Conversation

@tveasey
Copy link
Contributor

@tveasey tveasey commented Aug 1, 2018

The multimodal confidence interval calculation solves for specific values of the c.d.f. However, if a count weight is applied it scales the log of the c.d.f. by this weight. No scaling should be applied for the purpose of computing confidence intervals. The easiest fix is to apply the equivalent scaling to the target value to solve for, which this change makes.

We were getting log errors generated as a result, see #155, because we couldn't solve for the target value after scaling.

This could affect the predicted value and model bounds for the model, but shouldn't affect the probability calculation and so anomalies detected.

Fixes #155.

Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ML] Error - Unable to bracket left percentile

2 participants