 |
ExtensionsEvaluateClusteringTInstance, TClass Method (ClusteringResultTInstance, IExternalEvaluationCriterionTInstance, TClass, IDictionaryTInstance, TClass, UInt32) |
Namespace:
Aglomera
Assembly:
Aglomera (in Aglomera.dll) Version: 1.1.0
Syntaxpublic static ICollection<ClusterSetEvaluation<TInstance>> EvaluateClustering<TInstance, TClass>(
this ClusteringResult<TInstance> clustering,
IExternalEvaluationCriterion<TInstance, TClass> criterion,
IDictionary<TInstance, TClass> instanceClasses,
uint maxClusters
)
where TInstance : Object, IComparable<TInstance>
Request Example
View SourceParameters
- 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. - maxClusters
- Type: SystemUInt32
The maximum number of clusters allowed for a cluster-set for it to be evaluated.
Type Parameters
- TInstance
- The type of instance considered.
- TClass
- The type of class considered.
Return Value
Type:
ICollectionClusterSetEvaluationTInstanceA 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