[mlpack-svn] r12948 - mlpack/trunk/src/mlpack/core/kernels
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Jun 5 14:54:19 EDT 2012
Author: rcurtin
Date: 2012-06-05 14:54:18 -0400 (Tue, 05 Jun 2012)
New Revision: 12948
Modified:
mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp
Log:
Best not to promise functionality we might never get around to.
Modified: mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp 2012-06-05 18:53:54 UTC (rev 12947)
+++ mlpack/trunk/src/mlpack/core/kernels/cosine_distance.hpp 2012-06-05 18:54:18 UTC (rev 12948)
@@ -20,19 +20,12 @@
* d(a, b) = 1 - \frac{a^T b}{|| a || || b ||}
* @f]
*
- * and this class assumes the standard L2 inner product. In the future it may
- * support more.
+ * and this class assumes the standard L2 inner product.
*/
class CosineDistance
{
public:
/**
- * Default constructor does nothing, but is required to satisfy the Kernel
- * policy.
- */
- CosineDistance() { }
-
- /**
* Computes the cosine distance between two points.
*
* @param a First vector.
More information about the mlpack-svn
mailing list