diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-10-05 14:36:03 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-10-05 14:36:03 -0300 |
commit | 9fc535e76bad0fb53a0b0760ff475117de61ff76 (patch) | |
tree | 959e29517e7480779c5e2deef145083994cdf482 | |
parent | 50433f16ba1b1fcdd96189e3927845bfc9c3b3d4 (diff) |
"Hiding" some measure functions.
-rw-r--r-- | measures.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/measures.cpp b/measures.cpp index a5142a1..a030096 100644 --- a/measures.cpp +++ b/measures.cpp @@ -77,6 +77,7 @@ arma::vec mp::silhouette(const arma::mat &distA, return arma::vec(distA.n_rows, arma::fill::zeros); } +/* double mp::stress(const arma::mat &Dp, const arma::mat &Dq) { assert(Dp.n_rows == Dp.n_cols); @@ -130,9 +131,7 @@ arma::mat mp::d2p(const arma::mat &D, const arma::vec &sigmas) void mp::d2p(const arma::mat &D, const arma::vec &sigmas, arma::mat &P) { - /* - * WARNING: assumes D and sigmas are already squared - */ + // WARNING: assumes D and sigmas are already squared assert(D.n_rows == D.n_cols); assert(P.n_rows == P.n_cols); assert(D.n_rows == P.n_rows); @@ -147,3 +146,4 @@ void mp::d2p(const arma::mat &D, const arma::vec &sigmas, arma::mat &P) P(i, j) = exp(-D(i, j) / sigmas(i)) / den; } } +*/ |