|
|
ICentroidClusterCollectionTData, TCluster Interface |
Namespace: Accord.MachineLearning
public interface ICentroidClusterCollection<TData, TCluster> : ICentroidClusterCollection<TData, TData, TCluster>, IClusterCollectionEx<TData, TCluster>, IEnumerable
The ICentroidClusterCollectionTData, TCluster type exposes the following members.
| Name | Description | |
|---|---|---|
| Centroids |
Gets or sets the clusters' centroids.
(Inherited from ICentroidClusterCollectionTData, TCentroids, TCluster.) | |
| Clusters |
Gets the collection of clusters currently modeled by the clustering algorithm.
(Inherited from IClusterCollectionExTData, TCluster.) | |
| Count |
Gets the number of clusters in the collection.
(Inherited from IClusterCollectionExTData, TCluster.) | |
| Distance |
Gets or sets the distance function used to measure the distance
between a point and the cluster centroid in this clustering definition.
(Inherited from ICentroidClusterCollectionTData, TCentroids, TCluster.) | |
| Item |
Gets the cluster at the given index.
(Inherited from IClusterCollectionExTData, TCluster.) | |
| Proportions |
Gets the proportion of samples in each cluster.
(Inherited from IClusterCollectionExTData, TCluster.) |
| Name | Description | |
|---|---|---|
| Distortion |
Calculates the average square distance from the data points
to the nearest clusters' centroids.
(Inherited from ICentroidClusterCollectionTData, TCentroids, TCluster.) | |
| GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
| Transform(TData, Double, Double) |
Transform data points into feature vectors containing the
distance between each point and each of the clusters.
(Inherited from ICentroidClusterCollectionTData, TCentroids, TCluster.) | |
| Transform(TData, Int32, Double, Double) |
Transform data points into feature vectors containing the
distance between each point and each of the clusters.
(Inherited from ICentroidClusterCollectionTData, TCentroids, TCluster.) |
| Name | Description | |
|---|---|---|
| SetEqualsTCluster |
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.) |