[mlpack-git] master: Fix somehow truncated comment. (2965415)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Jul 16 12:16:41 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/b4659b668021db631b3c8a48e3d735b513706fdc...015d79104286231ef70ea0ba1d99a6c397025b3e

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

commit 296541510938128e1222bc10e164ebc55ed52c17
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Jul 15 14:27:13 2015 +0000

    Fix somehow truncated comment.


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

296541510938128e1222bc10e164ebc55ed52c17
 src/mlpack/methods/nca/nca_softmax_error_function_impl.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/nca/nca_softmax_error_function_impl.hpp b/src/mlpack/methods/nca/nca_softmax_error_function_impl.hpp
index b804271..8346430 100644
--- a/src/mlpack/methods/nca/nca_softmax_error_function_impl.hpp
+++ b/src/mlpack/methods/nca/nca_softmax_error_function_impl.hpp
@@ -59,7 +59,7 @@ double SoftmaxErrorFunction<MetricType>::Evaluate(const arma::mat& coordinates,
     double eval = std::exp(-metric.Evaluate(stretchedDataset.unsafe_col(i),
                                             stretchedDataset.unsafe_col(k)));
 
-    // If they are in the same
+    // If they are in the same class, update the numerator.
     if (labels[i] == labels[k])
       numerator += eval;
 



More information about the mlpack-git mailing list