Click or drag to resize
Accord.NET (logo)

ICentroidClusterCollectionTData, TCentroids, TCluster Interface

Common interface for clusters that contains centroids, where the centroid data type might be different from the data type of the data bring clustered (i.e. GaussianClusterCollectionGaussianCluster).

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public interface ICentroidClusterCollection<TData, TCentroids, TCluster> : IClusterCollectionEx<TData, TCluster>, 
	IEnumerable

Type Parameters

TData
TCentroids
TCluster

The ICentroidClusterCollectionTData, TCentroids, TCluster type exposes the following members.

Properties
Methods
  NameDescription
Public methodDistortion
Calculates the average square distance from the data points to the nearest clusters' centroids.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public methodTransform(TData, Double, Double)
Transform data points into feature vectors containing the distance between each point and each of the clusters.
Public methodTransform(TData, Int32, Double, Double)
Transform data points into feature vectors containing the distance between each point and each of the clusters.
Top
Extension Methods
  NameDescription
Public Extension MethodSetEqualsTCluster
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Top
See Also