[mlpack-svn] r13149 - mlpack/trunk/src/mlpack/core/kernels
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Jul 3 15:46:04 EDT 2012
Author: rcurtin
Date: 2012-07-03 15:46:04 -0400 (Tue, 03 Jul 2012)
New Revision: 13149
Modified:
mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp
Log:
Fix inaccurate comment.
Modified: mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp 2012-07-03 18:53:45 UTC (rev 13148)
+++ mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp 2012-07-03 19:46:04 UTC (rev 13149)
@@ -17,7 +17,7 @@
* The cosine distance (or cosine similarity). It is defined by
*
* @f[
- * d(a, b) = 1 - \frac{a^T b}{|| a || || b ||}
+ * d(a, b) = \frac{a^T b}{|| a || || b ||}
* @f]
*
* and this class assumes the standard L2 inner product.
More information about the mlpack-svn
mailing list