Package elki.distance.adapter
Distance functions deriving distances from, e.g., similarity measures.
-
Class Summary Class Description AbstractSimilarityAdapter<O> Adapter from a similarity function to a distance function.AbstractSimilarityAdapter.Instance<O> Inner proxy class for SNN distance function.AbstractSimilarityAdapter.Par<O,S extends Similarity<? super O>> Parameterization class.ArccosSimilarityAdapter<O> Adapter from a normalized similarity function to a distance function usingarccos(sim)
.ArccosSimilarityAdapter.Instance<O> Distance function instanceArccosSimilarityAdapter.Par<O> Parameterization class.LinearSimilarityAdapter<O> Adapter from a normalized similarity function to a distance function using1 - sim
.LinearSimilarityAdapter.Instance<O> Distance function instanceLinearSimilarityAdapter.Par<O> Parameterization class.LnSimilarityAdapter<O> Adapter from a normalized similarity function to a distance function using-log(sim)
.LnSimilarityAdapter.Instance<O> Distance function instanceLnSimilarityAdapter.Par<O> Parameterization class.