#include <cluster.h>
Inheritance diagram for CLUS::Cluster:
Public Types | |
enum | State { Final, Splited, Splitable, Dead } |
Public Member Functions | |
Cluster (int InDim=0, int OutDim=0) | |
State | GetState (void) |
void | RandomCluster (void) |
Initializes the cluster with random values. | |
void | InitalizeOnPoint (const double *) |
double | InferDistance (const double *DataCache) |
double | ClusDistance (const double *DataCache) |
double | LastInferDistance (void) |
double | LastClusDistance (void) |
void | CorrectAppartGrade (double Coef) |
Called after all distances of the clusters have been computed so the ponder of each cluster in final result can be computed. | |
void | HCorrectAppartGrade (double Coef) |
double | AdjustPrototypes (void) |
Finalizes one big step of the identification process. | |
double | HAdjustPrototypes (void) |
void | AdjustYwithYoverD (Vector< double > &Y) |
void | AdjustYwithYoverD (Vector< double > &Y, double) |
double | ComputeLastY (void) |
Returns the consequent value of the cluster for the last input introduced as a parameter of Distance. | |
void | SaveToStream (ostream &) |
void | LoadFromStream (ostream &) |
bool | Split (Cluster &right, Cluster &save) |
bool | SetOptionDbl (char *optName, double value) |
Static Public Member Functions | |
string | TypeName (void) |
Protected Attributes | |
int | inDim |
int | outDim |
const double * | dataCache |
double | distanceInfer |
double | distanceClus |
double | weight |
double | dimension |
State | state |
This class can both identify and run a cluster. The H in front of distance functions means that that distance is used for the hierarchical version of the algorithm
Definition at line 52 of file cluster.h.
|
Definition at line 55 of file cluster.h. Referenced by GetState(). |
|
|
|
Finalizes one big step of the identification process. Computes the new prototype of the cluster and returns the distance between the old and the new prototype so a decision if the proces should continue can be taken Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Returns the consequent value of the cluster for the last input introduced as a parameter of Distance.
Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Called after all distances of the clusters have been computed so the ponder of each cluster in final result can be computed.
Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
|
|
Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
|
|
|
|
|
|
|
|
Initializes the cluster with random values.
Reimplemented in CLUS::HiperPlanCluster, and CLUS::SphericCluster. |
|
Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, CLUS::SkinyMultiDimNormal, and CLUS::SphericCluster. |
|
Reimplemented in CLUS::EMHiperPlan, and CLUS::HiperPlanCluster. |
|
|
|
Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, CLUS::SkinyMultiDimNormal, and CLUS::SphericCluster. |
|
|
|
|
|
|
|
Definition at line 63 of file cluster.h. Referenced by CLUS::SphericCluster::CheckSplit(), CLUS::HiperPlanCluster::CheckSplit(), Cluster(), CLUS::SphericCluster::CopyFrom(), CLUS::HiperPlanCluster::CopyFrom(), GetState(), CLUS::SphericCluster::Split(), and CLUS::HiperPlanCluster::Split(). |
|