Repository: incubator-hivemall
Updated Branches:
  refs/heads/master a2ebdf17b -> e197a1fc9


Updated randomforest hyperparameter description


Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/e197a1fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/e197a1fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/e197a1fc

Branch: refs/heads/master
Commit: e197a1fc9bc1547fedca5f63c4f878ab67e28283
Parents: a2ebdf1
Author: Makoto Yui <m...@apache.org>
Authored: Tue Apr 17 11:05:01 2018 +0900
Committer: Makoto Yui <m...@apache.org>
Committed: Tue Apr 17 11:05:01 2018 +0900

----------------------------------------------------------------------
 .../hivemall/smile/classification/RandomForestClassifierUDTF.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/e197a1fc/core/src/main/java/hivemall/smile/classification/RandomForestClassifierUDTF.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/hivemall/smile/classification/RandomForestClassifierUDTF.java
 
b/core/src/main/java/hivemall/smile/classification/RandomForestClassifierUDTF.java
index 6b097fd..85420f3 100644
--- 
a/core/src/main/java/hivemall/smile/classification/RandomForestClassifierUDTF.java
+++ 
b/core/src/main/java/hivemall/smile/classification/RandomForestClassifierUDTF.java
@@ -135,7 +135,7 @@ public final class RandomForestClassifierUDTF extends 
UDTFWithOptions {
             "The number of trees for each task [default: 50]");
         opts.addOption("vars", "num_variables", true,
             "The number of random selected features [default: 
ceil(sqrt(x[0].length))]."
-                    + " int(num_variables * x[0].length) is considered if 
num_variable is (0,1]");
+                    + " int(num_variables * x[0].length) is considered if 
num_variable is (0.0,1.0]");
         opts.addOption("depth", "max_depth", true,
             "The maximum number of the tree depth [default: 
Integer.MAX_VALUE]");
         opts.addOption("leafs", "max_leaf_nodes", true,

Reply via email to