[mlpack-git] master: Don't use StreamingDecisionTree anymore. (6e25f79)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 11:45:45 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/de9cc4b05069e1fa4793d9355f2f595af5ff45d2...6070527af14296cd99739de6c62666cc5d2a2125
>---------------------------------------------------------------
commit 6e25f79850aa872ae4ebb39eb36c110b119d315b
Author: Ryan Curtin <ryan at ratml.org>
Date: Sun Nov 1 17:46:27 2015 +0000
Don't use StreamingDecisionTree anymore.
>---------------------------------------------------------------
6e25f79850aa872ae4ebb39eb36c110b119d315b
src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp b/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
index ec8251c..f09e4d5 100644
--- a/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
+++ b/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
@@ -1,11 +1,10 @@
/**
- * @file streaming_decision_tree_main.cpp
+ * @file hoeffding_tree_main.cpp
* @author Ryan Curtin
*
* A command-line executable that can build a streaming decision tree.
*/
#include <mlpack/core.hpp>
-#include <mlpack/methods/hoeffding_trees/streaming_decision_tree.hpp>
#include <mlpack/methods/hoeffding_trees/hoeffding_tree.hpp>
#include <mlpack/methods/hoeffding_trees/binary_numeric_split.hpp>
@@ -66,11 +65,11 @@ int main(int argc, char** argv)
<< "specified too!" << endl;
if (numericSplitStrategy == "domingos")
- PerformActions<StreamingDecisionTree<HoeffdingTree<GiniImpurity,
- HoeffdingDoubleNumericSplit, HoeffdingCategoricalSplit>>>();
+ PerformActions<HoeffdingTree<GiniImpurity, HoeffdingDoubleNumericSplit,
+ HoeffdingCategoricalSplit>>();
else if (numericSplitStrategy == "binary")
- PerformActions<StreamingDecisionTree<HoeffdingTree<GiniImpurity,
- BinaryDoubleNumericSplit, HoeffdingCategoricalSplit>>>();
+ PerformActions<HoeffdingTree<GiniImpurity, BinaryDoubleNumericSplit,
+ HoeffdingCategoricalSplit>>();
else
Log::Fatal << "Unrecognized numeric split strategy ("
<< numericSplitStrategy << ")! Must be 'domingos' or 'binary'."
More information about the mlpack-git
mailing list