[mlpack-git] master: Clarify the warning. (aaafd99)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:09:03 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit aaafd998ad48291578159624718ccf27b46c860b
Author: ryan <ryan at ratml.org>
Date: Wed Dec 31 16:08:25 2014 -0500
Clarify the warning.
>---------------------------------------------------------------
aaafd998ad48291578159624718ccf27b46c860b
src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp b/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp
index 064b8af..31d4bd7 100644
--- a/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp
+++ b/src/mlpack/core/optimizers/lrsdp/lrsdp_function.cpp
@@ -27,7 +27,9 @@ LRSDPFunction::LRSDPFunction(const size_t numSparseConstraints,
{
denseC.zeros();
if (initialPoint.n_rows < initialPoint.n_cols)
- Log::Warn << "initialPoint n_cols > n_rows" << endl;
+ Log::Warn << "LRSDPFunction::LRSDPFunction(): solution matrix will have "
+ << "more columns than rows. It may be more efficient to find the "
+ << "transposed solution." << endl;
}
double LRSDPFunction::Evaluate(const arma::mat& coordinates) const
More information about the mlpack-git
mailing list