Skip to content

Conversation

@tveasey
Copy link
Contributor

@tveasey tveasey commented Mar 23, 2018

This guards all remaining unchecked calls to create a chi distribution with potentially zero degrees freedom. Some of these cases should definitely never happen currently, but it seems that #13 wasn't sufficient to fix #20. In all these cases the behaviour when degrees freedom is zero is clearcut and an always false condition should be very cheap so this change seems prudent. This code has not yet been released so marking as a non-issue.

This should fix #20.

Copy link

@hendrikmuhs hendrikmuhs left a comment

Choose a reason for hiding this comment

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

LGTM

@tveasey tveasey merged commit 8251de6 into elastic:master Mar 26, 2018
tveasey added a commit that referenced this pull request Mar 28, 2018
…r the case d.f. 0 (#23)

This guards all remaining calls to create a chi^2 distribution in the tests for periodicity to avoid 
creating with zero degrees freedom. Fixes #20.
droberts195 pushed a commit that referenced this pull request Apr 23, 2018
…r the case d.f. 0 (#23)

This guards all remaining calls to create a chi^2 distribution in the tests for periodicity to avoid 
creating with zero degrees freedom. Fixes #20.
droberts195 pushed a commit that referenced this pull request Apr 23, 2018
…r the case d.f. 0 (#23)

This guards all remaining calls to create a chi^2 distribution in the tests for periodicity to avoid 
creating with zero degrees freedom. Fixes #20.
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] Degrees of freedom argument errors while running the "gallery" dataset

2 participants