GitHub user nzw0301 opened a pull request: https://github.com/apache/incubator-hivemall/pull/107
[HIVEMALL-132] Generalize f1score UDAF to support any Beta value ## What changes were proposed in this pull request? Make f1 function more general fmeasure function for any positive beta value. ## What type of PR is it? Improvement ## What is the Jira issue? [HIVEMALL-132](https://issues.apache.org/jira/browse/HIVEMALL-132) ## How was this patch tested? Add `FMeasureUDAFTest` ## Checklist (Please remove this section if not needed; check `x` for YES, blank for NO) - [x] Did you apply source code formatter, i.e., `mvn formatter:format`, for your commit? You can merge this pull request into a Git repository by running: $ git pull https://github.com/nzw0301/incubator-hivemall HIVEMALL-132 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-hivemall/pull/107.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #107 ---- commit eafd3a7708acf9b87f3dc1352a172be16b08ded3 Author: TD User <tduser@td-co-019.local> Date: 2017-08-01T08:00:50Z [HIVEMALL-132] Generalize f1score UDAF to support any Beta value commit 4ece34d516dd51ea218fae3a1fecf84126b4723b Author: Kento NOZAWA <k_...@klis.tsukuba.ac.jp> Date: 2017-08-02T06:28:40Z Apply source code formatting ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---