[mlpack-git] master: Yes, this is the problem I've been chasing for weeks. (967e230)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 11:46:30 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/de9cc4b05069e1fa4793d9355f2f595af5ff45d2...6070527af14296cd99739de6c62666cc5d2a2125
>---------------------------------------------------------------
commit 967e230dfa5d4012432655e5af9bc630c65f1b0f
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Nov 19 06:58:54 2015 -0800
Yes, this is the problem I've been chasing for weeks.
>---------------------------------------------------------------
967e230dfa5d4012432655e5af9bc630c65f1b0f
src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp b/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
index 0a70d34..6b6634a 100644
--- a/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
+++ b/src/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp
@@ -184,11 +184,10 @@ void PerformActions()
}
// The tree is trained or loaded. Now do any testing if we need.
- DatasetInfo testInfo;
if (!testFile.empty())
{
arma::mat testSet;
- data::Load(testFile, testSet, testInfo, true);
+ data::Load(testFile, testSet, datasetInfo, true);
arma::Row<size_t> predictions;
arma::rowvec probabilities;
More information about the mlpack-git
mailing list