Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

meapsoft.CosineDist Class Reference

Inheritance diagram for meapsoft.CosineDist:

Inheritance graph
[legend]
Collaboration diagram for meapsoft.CosineDist:

Collaboration graph
[legend]
List of all members.

Detailed Description

Simple distance metric that calculates 1 - the cosine of the angle between two chunks' feature vectors.

Author:
Ron Weiss ([email protected])

Definition at line 32 of file CosineDist.java.

Public Methods

double distance (Chunk ch1, Chunk ch2)
 Compute distance between two Chunks.


The documentation for this class was generated from the following file:
Generated on Tue Feb 6 19:02:28 2007 for MEAPsoft by doxygen1.2.18