[mlpack-git] master: We can't remove Projection() because we'd break our versioning principles. So we'll have to wait until mlpack 2.0.1 to remove it... :( (8ed22ce)
gitdub at mlpack.org
gitdub at mlpack.org
Thu Jun 2 09:49:39 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/1f562a1aba7ae55475afcc95659511c2b7f694e5...5b8fdce471328f722fcd8c0f22a6d995ce22c98b
>---------------------------------------------------------------
commit 8ed22ce675da6a4a889ecc12b1f6d13f37c11fdf
Author: Ryan Curtin <ryan at ratml.org>
Date: Thu Jun 2 09:49:39 2016 -0400
We can't remove Projection() because we'd break our versioning principles.
So we'll have to wait until mlpack 2.0.1 to remove it... :(
>---------------------------------------------------------------
8ed22ce675da6a4a889ecc12b1f6d13f37c11fdf
src/mlpack/methods/lsh/lsh_search.hpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mlpack/methods/lsh/lsh_search.hpp b/src/mlpack/methods/lsh/lsh_search.hpp
index 1f54873..b42bb7a 100644
--- a/src/mlpack/methods/lsh/lsh_search.hpp
+++ b/src/mlpack/methods/lsh/lsh_search.hpp
@@ -210,6 +210,10 @@ class LSHSearch
bucketSize, projTables);
}
+ //! Get a single projection matrix. This function is deprecated and will be
+ //! removed in mlpack 2.1.0!
+ const arma::mat& Projection(size_t i) { return projections.slice(i); }
+
private:
/**
* This function takes a query and hashes it into each of the hash tables to
More information about the mlpack-git
mailing list