#include <mat_tools.h>
Definition at line 1165 of file mat_tools.h.
◆ CSG_Cluster_Analysis()
| CSG_Cluster_Analysis::CSG_Cluster_Analysis |
( |
void | | ) |
|
◆ ~CSG_Cluster_Analysis()
| CSG_Cluster_Analysis::~CSG_Cluster_Analysis |
( |
void | | ) |
|
|
virtual |
◆ Add_Element()
| bool CSG_Cluster_Analysis::Add_Element |
( |
void | | ) |
|
◆ Create()
| bool CSG_Cluster_Analysis::Create |
( |
int | nFeatures | ) |
|
◆ Destroy()
| bool CSG_Cluster_Analysis::Destroy |
( |
void | | ) |
|
◆ Execute()
| bool CSG_Cluster_Analysis::Execute |
( |
int | Method, |
|
|
int | nClusters, |
|
|
int | nMaxIterations = 0, |
|
|
int | Initialization = 0 ) |
Performs the cluster analysis using the features added prior to this step. Method is minimum distance (= default), hill climbing (= 1), or both methods in combination. If nMaxIterations is set to zero, the analysis is iterated until it converges. Initialization is done randomly (= default), periodically (= 1), or skipped (= 2). The latter case allows starting the clustering with user supplied start partitions.
Definition at line 2094 of file mat_tools.cpp.
References Get_nElements(), CSG_Random::Get_Uniform(), and SG_Get_Square().
◆ Get_Centroid()
| double CSG_Cluster_Analysis::Get_Centroid |
( |
int | iCluster, |
|
|
int | iFeature ) const |
|
inline |
◆ Get_Cluster()
| sLong CSG_Cluster_Analysis::Get_Cluster |
( |
sLong | iElement | ) |
const |
|
inline |
◆ Get_Distortion()
| double CSG_Cluster_Analysis::Get_Distortion |
( |
void | | ) |
const |
|
inline |
◆ Get_Inertia()
| double CSG_Cluster_Analysis::Get_Inertia |
( |
void | | ) |
const |
|
inline |
◆ Get_Iteration()
| int CSG_Cluster_Analysis::Get_Iteration |
( |
void | | ) |
const |
|
inline |
◆ Get_nClusters()
| int CSG_Cluster_Analysis::Get_nClusters |
( |
void | | ) |
const |
|
inline |
◆ Get_nElements()
| sLong CSG_Cluster_Analysis::Get_nElements |
( |
void | | ) |
const |
|
inline |
◆ Get_nFeatures()
| int CSG_Cluster_Analysis::Get_nFeatures |
( |
void | | ) |
const |
|
inline |
◆ Get_nMembers()
| int CSG_Cluster_Analysis::Get_nMembers |
( |
int | iCluster | ) |
const |
|
inline |
◆ Get_SP()
| double CSG_Cluster_Analysis::Get_SP |
( |
void | | ) |
const |
|
inline |
◆ Get_Variance()
| double CSG_Cluster_Analysis::Get_Variance |
( |
int | iCluster | ) |
const |
|
inline |
◆ Get_WCSS()
| double CSG_Cluster_Analysis::Get_WCSS |
( |
void | | ) |
const |
|
inline |
◆ Set_Feature()
| bool CSG_Cluster_Analysis::Set_Feature |
( |
sLong | iElement, |
|
|
int | iFeature, |
|
|
double | Value ) |
The documentation for this class was generated from the following files: