Skip to content

[FIX] Normalize: Fix crash with nan column#4125

Merged
janezd merged 1 commit intobiolab:masterfrom
VesnaT:normalize_nan
Oct 24, 2019
Merged

[FIX] Normalize: Fix crash with nan column#4125
janezd merged 1 commit intobiolab:masterfrom
VesnaT:normalize_nan

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