[mlpack-git] master: Fix names of constructor/destructor. (b0cbd59)

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


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

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

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

commit b0cbd59e61df3742a6d54f2da07abb5b45fd9596
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Oct 30 16:44:24 2015 +0000

    Fix names of constructor/destructor.


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

b0cbd59e61df3742a6d54f2da07abb5b45fd9596
 src/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp b/src/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp
index 69c58c3..e7394e9 100644
--- a/src/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp
+++ b/src/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp
@@ -72,7 +72,7 @@ class HoeffdingTree
    *      numeric and categorical split vectors.  If left NULL, a new one will
    *      be created.
    */
-  HoeffdingSplit(const size_t dimensionality,
+  HoeffdingTree(const size_t dimensionality,
                  const size_t numClasses,
                  const data::DatasetInfo& datasetInfo,
                  const double successProbability,
@@ -84,7 +84,7 @@ class HoeffdingTree
   /**
    * Clean up memory.
    */
-  ~HoeffdingSplit();
+  ~HoeffdingTree();
 
   /**
    * Train on a single point in streaming mode, with the given label.



More information about the mlpack-git mailing list