Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Fix Chi2 computation for variables with values with no instances #2031

Merged
merged 1 commit into from
Feb 21, 2017
Merged

[FIX] Fix Chi2 computation for variables with values with no instances #2031

merged 1 commit into from
Feb 21, 2017

Commits on Feb 20, 2017

  1. [FIX] ghissue-2020 Chisq not calculated when there are no attributes …

    …which suppose to be
    
    Chi-squared test is nan when there are attributes which are not in the data. It is caused by division by zero because  code does not calculate limits. It actually suppose to be 0.
    
    Check if there is NaN in the array and then change that value to 0.
    
    - [X] Code changes
    - [X] Tests
    - [ ] Documentation
    jerneju committed Feb 20, 2017
    Configuration menu
    Copy the full SHA
    0d67dc1 View commit details
    Browse the repository at this point in the history