| Methods in tc that return TCkNNListElement |
TCkNNListElement |
TCDocument.getEuclidianDistance(TCDocument documentToClassify,
java.util.ArrayList corpusAllTermsOfInterest)
The function calculates the euclidian distance between two Document-Weight-Vectors
given the vector of all relevant terms in the corpus (corpusAllTermsOfInterest)
Can e.g. |
TCkNNListElement |
TCDocument.getCosineSimilarity(TCDocument documentToClassify,
java.util.ArrayList corpusAllTermsOfInterest)
(ONLY FOR UNNORMALIZED DOCUMENT VECTORS!!)
The function calculates the cosine similarity of two Document-Weight-Vectors
given the vector of all relevant terms in the corpus (corpusAllTermsOfInterest)
Can e.g. |
TCkNNListElement |
TCDocument.getCosineSimilarityFast(TCDocument documentToClassify,
java.util.ArrayList corpusAllTermsOfInterest)
The function calculates the cosine similarity of two Document-Weight-Vectors
given the vector of all relevant terms in the corpus (corpusAllTermsOfInterest)
Can e.g. |