Github user myui commented on the issue:

    https://github.com/apache/incubator-hivemall/pull/46
  
    @wangyum Are you agree with the following new behavior of 
[rescale(value,min,max)](https://en.wikipedia.org/wiki/Feature_scaling#Rescaling)?
    
    ```
    -- new
    select rescale(4.2,1.0,3.0),rescale(-0.3, 1.0, 3.0);
    > 1.0 0.0
    
    -- old
    select rescale(4.2,1.0,3.0),rescale(-0.3, 1.0, 3.0);
    > 1.5999999 -0.65
    ```
    
    Throwing an exception if value is out of range but exact min/max is 
sometimes unknown beforehand.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to