CFEntry<T>
Models & Types · AiDotNet.Clustering.Hierarchical
Represents a Clustering Feature (CF) entry.
Constructors
| Constructor |
Summary |
CFEntry(int n, T[] ls, T ss) |
Initializes a new CFEntry. |
Properties
| Property |
Summary |
T Radius { get; } |
Gets the radius of this entry. |
T SS { get; } |
Sum of squared norms. |
T[] Centroid { get; } |
Gets the centroid of this entry. |
T[] LS { get; } |
Linear sum of points. |
int N { get; } |
Number of points in the cluster. |
Methods
| Method |
Summary |
CFEntry<T> FromPoint(T[] point) |
Creates a CFEntry from a single point. |
CFEntry<T> Merge(CFEntry<T> a, CFEntry<T> b) |
Merges two CFEntries. |
T Distance(CFEntry<T> a, CFEntry<T> b) |
Computes distance between two CFEntries. |