Click or drag to resize

PurityTInstance, TClass Class

Evaluates the given partition according to the purity criterion, where each cluster is assigned to its most frequent class, and then the accuracy of this assignment is measured by counting the number of correctly assigned instances and dividing by the total number of instances.
Inheritance Hierarchy
SystemObject
  Aglomera.Evaluation.ExternalPurityTInstance, TClass

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

Type Parameters

TInstance
The type of instance considered.
TClass
The type of class considered.

The PurityTInstance, TClass type exposes the following members.

Constructors
  NameDescription
Public methodPurityTInstance, TClass
Initializes a new instance of the PurityTInstance, TClass class
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
see: