Repository: incubator-hivemall Updated Branches: refs/heads/master e197a1fc9 -> 739cde516 (forced update)
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/739cde51 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/739cde51 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/739cde51 Branch: refs/heads/master Commit: 739cde5169782eaebdc743ccd3482a2b6480bbf2 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:06:12 2018 +0900 ---------------------------------------------------------------------- .../hivemall/smile/classification/RandomForestClassifierUDTF.java | 2 +- .../java/hivemall/smile/regression/RandomForestRegressionUDTF.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/739cde51/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, http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/739cde51/core/src/main/java/hivemall/smile/regression/RandomForestRegressionUDTF.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/hivemall/smile/regression/RandomForestRegressionUDTF.java b/core/src/main/java/hivemall/smile/regression/RandomForestRegressionUDTF.java index 6bd258f..ab0f72d 100644 --- a/core/src/main/java/hivemall/smile/regression/RandomForestRegressionUDTF.java +++ b/core/src/main/java/hivemall/smile/regression/RandomForestRegressionUDTF.java @@ -123,7 +123,7 @@ public final class RandomForestRegressionUDTF 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,