Click or drag to resize

WithinBetweenRatio<TInstance> Class

Implements the within-between ratio (WB) internal evaluation method in [1] measuring the ratio of the sum-of-squares within cluster (SSW) and sum-of-squares between clusters(SSB). The result is multiplied by the negative of the number of clusters so that maximizing the ratio in some ClusteringResult<TInstance> provides the optimal partition, i.e., the optimal ClusterSet<TInstance>.
Inheritance Hierarchy
System.Object
  Aglomera.Evaluation.Internal.WithinBetweenRatio<TInstance>

Namespace:  Aglomera.Evaluation.Internal
Assembly:  Aglomera (in Aglomera.dll) Version: 1.1.0
Syntax
C#
public class WithinBetweenRatio<TInstance> : IInternalEvaluationCriterion<TInstance>
where TInstance : Object, IComparable<TInstance>
Request Example View Source

Type Parameters

TInstance
The type of instance considered.

The WithinBetweenRatio<TInstance> type exposes the following members.

Constructors
  NameDescription
Public methodWithinBetweenRatio<TInstance>
Creates a new WithinBetweenRatio<TInstance> with given dissimilarity metric.
Top
Properties
  NameDescription
Public propertyDissimilarityMetric
Gets the metric used by this criterion to measure the dissimilarity / distance between cluster elements.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodEvaluate
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Remarks
Notes: - In the original formulation in [1] the value was minimized, hence this implementation returns the negative WB ratio. References: [1] - Zhao, Q., Xu, M., & Fränti, P. (2009, April). Sum-of-Squares Based Cluster Validity Index and Significance Analysis. In ICANNGA (Vol. 5495, pp. 313-322).
See Also