[mlpack-git] master: Fix API; prepare for deletion. (8b10332)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 11:45:35 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/de9cc4b05069e1fa4793d9355f2f595af5ff45d2...6070527af14296cd99739de6c62666cc5d2a2125
>---------------------------------------------------------------
commit 8b10332c3ac9947e28ce6aaf01efd962c0a6b69c
Author: Ryan Curtin <ryan at ratml.org>
Date: Sun Nov 1 17:34:41 2015 +0000
Fix API; prepare for deletion.
>---------------------------------------------------------------
8b10332c3ac9947e28ce6aaf01efd962c0a6b69c
src/mlpack/methods/hoeffding_trees/streaming_decision_tree_impl.hpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_impl.hpp b/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_impl.hpp
index e98a1cb..e9284f9 100644
--- a/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_impl.hpp
+++ b/src/mlpack/methods/hoeffding_trees/streaming_decision_tree_impl.hpp
@@ -22,8 +22,7 @@ StreamingDecisionTree<SplitType, MatType>::StreamingDecisionTree(
const double confidence,
const size_t numSamples,
const size_t checkInterval) :
- split(data.n_rows, numClasses, datasetInfo, confidence, numSamples,
- checkInterval)
+ split(datasetInfo, numClasses, confidence, numSamples, checkInterval)
{
Train(data, labels);
}
@@ -68,7 +67,7 @@ void StreamingDecisionTree<SplitType, MatType>::Train(const VecType& data,
children.clear();
// The split knows how to add the children.
- split.CreateChildren(children);
+ //split.CreateChildren(children);
}
}
else
More information about the mlpack-git
mailing list