commit | 367f984228b1035fcecd60ec93bee840bb0e1089 | [log] [tgz] |
---|---|---|
author | Makoto Yui <myui@apache.org> | Wed Nov 27 16:11:56 2019 +0900 |
committer | Makoto Yui <myui@apache.org> | Wed Nov 27 16:11:56 2019 +0900 |
tree | 7e13b2c74d35519f3a8fa61c69373f83bdd864d8 | |
parent | d8dcd99c5377ee51b67009769a91101a552ccdde [diff] |
[HIVEMALL-285] Add -inspect_opts option to show hyperparameters ## What changes were proposed in this pull request? Add `-inspect_opts` option to show hyperparameters ## What type of PR is it? Improvement ## What is the Jira issue? https://issues.apache.org/jira/browse/HIVEMALL-285 ## How was this patch tested? manual tests on EMR ## How to use this feature? ```sql select train_regressor(array(), 0, '-inspect_opts -optimizer adam -reg elasticnet'); FAILED: UDFArgumentException Inspected Optimizer options ... {disable_cvtest=false, regularization=ElasticNet, loss_function=SquaredLoss, eps=1.0E-8, decay=0.0, iterations=10, eta0=0.1, l1_ratio=0.5, lambda=1.0E-4, eta=Invscaling, optimizer=adam, beta1=0.9, beta2=0.999, alpha=1.0, cv_rate=0.005, power_t=0.1} ``` ## Checklist - [x] Did you apply source code formatter, i.e., `./bin/format_code.sh`, for your commit? - [x] Did you run system tests on Hive (or Spark)? Author: Makoto Yui <myui@apache.org> Closes #220 from myui/HIVEMALL-285.
Apache Hivemall is a scalable machine learning library that runs on Apache Hive, Apache Spark, and Apache Pig. Hivemall is designed to be scalable to the number of training instances as well as the number of training features.
Find more examples on our user guide and find a brief introduction to Hivemall in this slide.
Support is through user@hivemall.incubator.apache.org, not by a direct e-mail.
If you are planning to contribute to this repository, we first request you to create an issue at our JIRA page even if the topic is not related to source code itself (e.g., documentation, new idea and proposal).
All Hivemall functions are defined under resources/ddl. In order to update the definition files, the following script helps inserting function name and class path of your new UDF:
$ ./bin/update_ddls.sh
Moreover, don't forget to update function list in the document as well:
$ ./bin/update_func_md.sh
Note that, before creating a pull request including Java code, please make sure your code follows our coding conventions by applying formatter:
$ ./bin/format_code.sh