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] Normalize: Fix crash with nan column #4125

Merged
merged 1 commit into from
Oct 24, 2019

Conversation

VesnaT
Copy link
Contributor

@VesnaT VesnaT commented Oct 21, 2019

Issue

Normalization crashes when data contains a feature without a value.
To reproduce: File (Iris) -> Feature Constructor (new numeric variable with expression: nan) -> Preprocess (Normalize Features (normalize to interval))

Description of changes

Feature with missing values retains missing values after normalization.

Includes
  • Code changes
  • Tests
  • Documentation

@codecov
Copy link

codecov bot commented Oct 21, 2019

Codecov Report

Merging #4125 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4125      +/-   ##
==========================================
+ Coverage   85.62%   85.62%   +<.01%     
==========================================
  Files         388      388              
  Lines       69435    69436       +1     
==========================================
+ Hits        59454    59455       +1     
  Misses       9981     9981

@janezd janezd merged commit 66c2911 into biolab:master Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants