MALLET is a Java-based package for statistical natural language processing, document classification, clustering, topic modeling, information extraction, and other machine learning applications to text.
The Minkowski distance class is severely broken. The distance method does only work for SparseVectors which have an equal number of nonzero values which mathematically doesn't make any sense. The euclideanDistance method almost always runs into an infinite loop.
The Minkowski distance class is severely broken. The distance method does only work for SparseVectors which have an equal number of nonzero values which mathematically doesn't make any sense. The euclideanDistance method almost always runs into an infinite loop.