[mlpack-git] master: Time the factorization. (ca9c4c7)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Jul 8 09:00:22 EDT 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/ddb8ae9e0784f43b51f0868a095b2275aa3b5bda...ca9c4c7d54e40516d87ccca3631a86148527b0a8
>---------------------------------------------------------------
commit ca9c4c7d54e40516d87ccca3631a86148527b0a8
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Jul 8 13:00:07 2015 +0000
Time the factorization.
>---------------------------------------------------------------
ca9c4c7d54e40516d87ccca3631a86148527b0a8
src/mlpack/methods/cf/cf_impl.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mlpack/methods/cf/cf_impl.hpp b/src/mlpack/methods/cf/cf_impl.hpp
index 7b6ce4b..c6873bf 100644
--- a/src/mlpack/methods/cf/cf_impl.hpp
+++ b/src/mlpack/methods/cf/cf_impl.hpp
@@ -85,7 +85,9 @@ CF<FactorizerType>::CF(const arma::mat& data,
// Decompose the data matrix (which is in coordinate list form) to user and
// data matrices.
+ Timer::Start("cf_factorization");
ApplyFactorizer(factorizer, data, cleanedData, this->rank, w, h);
+ Timer::Stop("cf_factorization");
}
/**
More information about the mlpack-git
mailing list