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


Updated description of RandomForest classifier option


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

Branch: refs/heads/master
Commit: a2ebdf17bee21042cb24914104614841ec5748d7
Parents: 69a44ad
Author: Makoto Yui <m...@apache.org>
Authored: Tue Apr 17 10:55:12 2018 +0900
Committer: Makoto Yui <m...@apache.org>
Committed: Tue Apr 17 10:55:44 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/a2ebdf17/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 a34a700..6b097fd 100644
--- 
a/core/src/main/java/hivemall/smile/classification/RandomForestClassifierUDTF.java
+++ 
b/core/src/main/java/hivemall/smile/classification/RandomForestClassifierUDTF.java
@@ -147,7 +147,7 @@ public final class RandomForestClassifierUDTF extends 
UDTFWithOptions {
         opts.addOption("seed", true, "seed value in long [default: -1 
(random)]");
         opts.addOption("attrs", "attribute_types", true, "Comma separated 
attribute types "
                 + "(Q for quantitative variable and C for categorical 
variable. e.g., [Q,C,Q,C])");
-        opts.addOption("rule", "split_rule", true, "Split algorithm [default: 
GINI, ENTROPY]");
+        opts.addOption("rule", "split_rule", true, "Split algorithm [default: 
GINI, ENTROPY, CLASSIFICATION_ERROR]");
         opts.addOption("stratified", "stratified_sampling", false,
             "Enable Stratified sampling for unbalanced data");
         opts.addOption("subsample", true, "Sampling rate in range (0.0,1.0]. 
[default: 1.0]");

Reply via email to