[GitHub] incubator-hivemall issue #46: [HIVEMALL-72] Fix corner-case rescale UDF beha...

2017-02-15 Thread myui
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

[GitHub] incubator-hivemall issue #46: [HIVEMALL-72] Fix corner-case rescale UDF beha...

2017-02-15 Thread myui
Github user myui commented on the issue: https://github.com/apache/incubator-hivemall/pull/46 Oops.. the latter one is expected. ```sql select rescale(4.2,1.0,3.0),rescale(-0.3, 1.0, 3.0); > 3.0 1.0 select rescale(4.2,1.0,3.0),rescale(-0.3, 1.0, 3.0); >

[GitHub] incubator-hivemall pull request #46: [HIVEMALL-72] Fix rescale UDF behavior ...

2017-02-15 Thread myui
GitHub user myui opened a pull request: https://github.com/apache/incubator-hivemall/pull/46 [HIVEMALL-72] Fix rescale UDF behavior to return range [0.0,1.0] ## What changes were proposed in this pull request? Fix rescale UDF behavior to return range `[0.0,1.0]`.

[jira] [Closed] (HIVEMALL-71) Handle null values in RescaleUDF.java

2017-02-15 Thread Makoto Yui (JIRA)
[ https://issues.apache.org/jira/browse/HIVEMALL-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Makoto Yui closed HIVEMALL-71. -- Resolution: Fixed Assignee: Makoto Yui > Handle null values in RescaleUDF.java >

[GitHub] incubator-hivemall issue #45: [HIVEMALL-71] Handle null values and add a uni...

2017-02-15 Thread myui
Github user myui commented on the issue: https://github.com/apache/incubator-hivemall/pull/45 @wangyum Thanks. Merged with some modifications. ```sql select rescale(v,min,max) from ( select cast(1.2 as float) as v, 1.0 as min, 10.0 as max union all

[GitHub] incubator-hivemall issue #44: [HIVEMALL-65] Update define-all.spark and impo...

2017-02-15 Thread myui
Github user myui commented on the issue: https://github.com/apache/incubator-hivemall/pull/44 @wangyum Merged. Thank you for your contribution! --- 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

[GitHub] incubator-hivemall pull request #44: [HIVEMALL-65] Update define-all.spark a...

2017-02-15 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/incubator-hivemall/pull/44 --- 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