Click or drag to resize

ExtensionsEvaluateClusteringTInstance, TClass Method (ClusteringResultTInstance, IExternalEvaluationCriterionTInstance, TClass, IDictionaryTInstance, TClass)

Namespace:  Aglomera
Assembly:  Aglomera (in Aglomera.dll) Version: 1.1.0
Syntax
C#
public static ICollection<ClusterSetEvaluation<TInstance>> EvaluateClustering<TInstance, TClass>(
	this ClusteringResult<TInstance> clustering,
	IExternalEvaluationCriterion<TInstance, TClass> criterion,
	IDictionary<TInstance, TClass> instanceClasses
)
where TInstance : Object, IComparable<TInstance>
Request Example View Source

Parameters

clustering
Type: AglomeraClusteringResultTInstance
The cluster-sets to be evaluated.
criterion
Type: Aglomera.Evaluation.ExternalIExternalEvaluationCriterionTInstance, TClass
The criterion used to evaluate the cluster-sets.
instanceClasses
Type: System.Collections.GenericIDictionaryTInstance, TClass
The instances' classes.

Type Parameters

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

Return Value

Type: ICollectionClusterSetEvaluationTInstance
A list containing the evaluations for each cluster-set.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ClusteringResultTInstance. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also