[mlpack-git] master: Add min_samples option. (b2079b6)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 11:46:40 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/de9cc4b05069e1fa4793d9355f2f595af5ff45d2...6070527af14296cd99739de6c62666cc5d2a2125

>---------------------------------------------------------------

commit b2079b69e77ca34f2ad8d961736f417e77344031
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Nov 23 14:14:52 2015 -0800

    Add min_samples option.


>---------------------------------------------------------------

b2079b69e77ca34f2ad8d961736f417e77344031
 src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp b/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
index e2113e7..7e9821e 100644
--- a/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
+++ b/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
@@ -21,6 +21,8 @@ PARAM_DOUBLE("confidence", "Confidence before splitting (between 0 and 1).",
     "c", 0.95);
 PARAM_INT("max_samples", "Maximum number of samples before splitting.", "n",
     5000);
+PARAM_INT("min_samples", "Minimum number of samples before splitting.", "I",
+    100);
 
 PARAM_STRING("input_model_file", "File to load trained tree from.", "m", "");
 PARAM_STRING("output_model_file", "File to save trained tree to.", "M", "");



More information about the mlpack-git mailing list