[mlpack-git] master: Changes LSHSearch::projections from std::vector<arma::mat> to arma::cube (7ebf1da)

gitdub at mlpack.org gitdub at mlpack.org
Wed Jun 1 03:48:20 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/eba4f9924694bc10daec74ff5059dbb8af001416...e3a23c256f017ebb8185b15847c82f51d359cdfd

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

commit 7ebf1daa6de66aa5c047b27ff61866c52fa295d6
Author: Yannis Mentekidis <mentekid at gmail.com>
Date:   Wed Jun 1 10:48:20 2016 +0300

    Changes LSHSearch::projections from std::vector<arma::mat> to arma::cube


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

7ebf1daa6de66aa5c047b27ff61866c52fa295d6
 src/mlpack/methods/lsh/lsh_search.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/lsh/lsh_search.hpp b/src/mlpack/methods/lsh/lsh_search.hpp
index 10a6ffc..e7fd98d 100644
--- a/src/mlpack/methods/lsh/lsh_search.hpp
+++ b/src/mlpack/methods/lsh/lsh_search.hpp
@@ -291,8 +291,8 @@ class LSHSearch
   //! The number of hash tables.
   size_t numTables;
 
-  //! The std::vector containing the projection matrix of each table.
-  arma::cube projections; // should be [numProj x dims] x numTables
+  //! The arma::cube containing the projection matrix of each table.
+  arma::cube projections; // should be [numProj x dims] x numTables slices
 
   //! The list of the offsets 'b' for each of the projection for each table.
   arma::mat offsets; // should be numProj x numTables




More information about the mlpack-git mailing list