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] preprocess: Reset number_of_decimals after scaling #1914

Merged
merged 1 commit into from
Jan 12, 2017

Conversation

lanzagar
Copy link
Contributor

Issue

After normalization the scaled variable used the same number of decimals as the original.
This meant scaling integers 0..100 to a span of 1 resulted in numbers being shown as 0 or 1 only (instead of 0.4 for example)

Description of changes

After scaling, reset number_of_decimals to 3 (default value of the parameter)

Includes
  • Code changes
  • Tests
  • Documentation

@lanzagar lanzagar changed the title preprocess: Reset number_of_decimals after scaling [FIX] preprocess: Reset number_of_decimals after scaling Jan 12, 2017
@codecov-io
Copy link

codecov-io commented Jan 12, 2017

Current coverage is 89.28% (diff: 100%)

Merging #1914 into master will increase coverage by <.01%

@@             master      #1914   diff @@
==========================================
  Files            86         86          
  Lines          9109       9112     +3   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           8133       8136     +3   
  Misses          976        976          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 3e6e181...9f57cdf

@kernc kernc merged commit 9964b63 into biolab:master Jan 12, 2017
@lanzagar lanzagar deleted the numdec branch March 14, 2022 14:42
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.

3 participants