Uses of Interface
cc.mallet.types.Metric
-
Packages that use Metric Package Description cc.mallet.cluster Unsupervised clustering ofInstance
objects within anInstanceList
.cc.mallet.types Fundamental MALLET types, including FeatureVector, Instance, Label etc. -
-
Uses of Metric in cc.mallet.cluster
Constructors in cc.mallet.cluster with parameters of type Metric Constructor Description KMeans(Pipe instancePipe, int numClusters, Metric metric)
Construct a KMeans objectKMeans(Pipe instancePipe, int numClusters, Metric metric, int emptyAction)
Construct a KMeans object -
Uses of Metric in cc.mallet.types
Subinterfaces of Metric in cc.mallet.types Modifier and Type Interface Description interface
CachedMetric
Stores a hash for each object being compared for efficient computation.Classes in cc.mallet.types that implement Metric Modifier and Type Class Description class
EuclideanDistance
class
InfiniteDistance
class
ManhattenDistance
class
Minkowski
class
NormalizedDotProductMetric
Computes 1 - [/ sqrt ( * )] aka 1 - cosine similarity Methods in cc.mallet.types that return Metric Modifier and Type Method Description static Metric
Minkowski. getMetric(double q)
-