[mlpack-git] master: Save the tree. (e0bd80a)

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


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

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

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

commit e0bd80ab9bd70e81c15db14e19d8db4fffa360d5
Author: ryan <ryan at ratml.org>
Date:   Thu Oct 1 20:05:04 2015 -0400

    Save the tree.


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

e0bd80ab9bd70e81c15db14e19d8db4fffa360d5
 src/mlpack/methods/hoeffding_trees/streaming_decision_tree_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_main.cpp b/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_main.cpp
index 9ba4b54..93659a7 100644
--- a/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_main.cpp
+++ b/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_main.cpp
@@ -85,5 +85,5 @@ int main(int argc, char** argv)
   Log::Info << correct << " correct out of " << predictedLabels.n_elem << ".\n";
 
   const string modelFile = CLI::GetParam<string>("model_file");
-  //data::Save(modelFile, "streamingDecisionTree", tree, true);
+  data::Save(modelFile, "streamingDecisionTree", tree, true);
 }



More information about the mlpack-git mailing list