This is an automated email from the ASF dual-hosted git repository.
myui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hivemall.git
The following commit(s) were added to refs/heads/master by this push:
new dd28747 Added document about xgboost_version() UDF
dd28747 is described below
commit dd287473731948ec8aa3b8b4df65e63edafa260e
Author: Makoto Yui <[email protected]>
AuthorDate: Wed Oct 30 17:59:49 2019 +0900
Added document about xgboost_version() UDF
---
docs/gitbook/misc/funcs.md | 5 +++++
.../src/main/java/hivemall/docs/FuncsListGeneratorMojo.java | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/docs/gitbook/misc/funcs.md b/docs/gitbook/misc/funcs.md
index e5e9dc8..13ecea5 100644
--- a/docs/gitbook/misc/funcs.md
+++ b/docs/gitbook/misc/funcs.md
@@ -646,6 +646,11 @@ Reference: <a
href="https://papers.nips.cc/paper/3848-adaptive-regularization-of
- `xgboost_predict(string rowid, string[] features, string model_id,
array<byte> pred_model [, string options])` - Returns a prediction result as
(string rowid, float predicted)
+- `xgboost_version()` - Returns the version of xgboost
+ ```sql
+ SELECT xgboost_version();
+ ```
+
# Term Vector Model
- `bm25(double termFrequency, int docLength, double avgDocLength, int numDocs,
int numDocsWithTerm [, const string options])` - Return an Okapi BM25 score in
double. Refer
http://hivemall.incubator.apache.org/userguide/ft_engineering/bm25.html for
usage
diff --git
a/tools/hivemall-docs/src/main/java/hivemall/docs/FuncsListGeneratorMojo.java
b/tools/hivemall-docs/src/main/java/hivemall/docs/FuncsListGeneratorMojo.java
index 50298cc..0544e99 100644
---
a/tools/hivemall-docs/src/main/java/hivemall/docs/FuncsListGeneratorMojo.java
+++
b/tools/hivemall-docs/src/main/java/hivemall/docs/FuncsListGeneratorMojo.java
@@ -143,7 +143,7 @@ public class FuncsListGeneratorMojo extends AbstractMojo {
funcsHeaders.put("# Decision trees and RandomForest", Arrays.asList(
"hivemall.smile.classification", "hivemall.smile.regression",
"hivemall.smile.tools"));
funcsHeaders.put("# XGBoost",
Arrays.asList("hivemall.xgboost.classification",
- "hivemall.xgboost.regression", "hivemall.xgboost.tools"));
+ "hivemall.xgboost.regression", "hivemall.xgboost.tools",
"hivemall.xgboost"));
funcsHeaders.put("# Term Vector Model",
Collections.singletonList("hivemall.ftvec.text"));
funcsHeaders.put("# Others",
Arrays.asList("hivemall", "hivemall.dataset",
"hivemall.ftvec.text"));