[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/1f562a1aba7ae55475afcc95659511c2b7f694e5...5b8fdce471328f722fcd8c0f22a6d995ce22c98b

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

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