[mlpack-git] master: Log Num of BaseCases/Score. (5d68382)

gitdub at mlpack.org gitdub at mlpack.org
Thu Aug 18 13:39:35 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/0f4b25acd6aaa14294c044874ba6cc0751712baa...0a19d07bd39e6223991976474bc79671ba8aa0f0

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

commit 5d68382a6b790e86268566e17ce56b5562bd7d68
Author: MarcosPividori <marcos.pividori at gmail.com>
Date:   Fri Jul 29 12:06:43 2016 -0300

    Log Num of BaseCases/Score.


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

5d68382a6b790e86268566e17ce56b5562bd7d68
 src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp b/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
index 4fd073d..da3b28e 100644
--- a/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
+++ b/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
@@ -552,6 +552,9 @@ Search(Tree* queryTree,
 
   rules.GetResults(*neighborPtr, distances);
 
+  Log::Info << rules.Scores() << " node combinations were scored.\n";
+  Log::Info << rules.BaseCases() << " base cases were calculated.\n";
+
   Timer::Stop("computing_neighbors");
 
   // Do we need to map indices?




More information about the mlpack-git mailing list