#include <sphclus.h>
Inheritance diagram for CLUS::SphericCluster:
Public Member Functions | |
SphericCluster () | |
SphericCluster (int InDim, int OutDim) | |
SphericCluster (int InDim, int OutDim, int) | |
void | CopyFrom (SphericCluster &aux) |
void | RandomCluster (void) |
Initializes the cluster with random values. | |
void | InitializeOnPoint (const double *point) |
double | InferDistance (const double *InputData) |
double | ClusDistance (const double *TrainData) |
void | HBeginIdentif (void) |
double | 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. | |
double | 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 dist) |
double | ComputeLastY (void) |
Returns the consequent value of the cluster for the last input introduced as a parameter of Distance. | |
void | SaveToStream (ostream &out) |
void | LoadFromStream (istream &in) |
bool | Split (SphericCluster &right, SphericCluster &save, double minDim) |
bool | CheckSplit (SphericCluster &left, SphericCluster &right, double splitCrit) |
Static Public Member Functions | |
string | TypeName (void) |
Protected Attributes | |
double | s_Ai |
the sum of Ai(Xj)^2 | |
Vector< double > | s_Ai_Xj |
the sum of Ai(Xj)^2*Xj | |
Vector< double > | L |
Definition at line 46 of file sphclus.h.
|
|
|
|
|
|
|
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 from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. Definition at line 151 of file sphclus.h. Referenced by HAdjustPrototypes(). |
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. |
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. |
|
|
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::EMHiperPlan, and CLUS::HiperPlanCluster. |
|
Returns the consequent value of the cluster for the last input introduced as a parameter of Distance.
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. |
|
|
|
Called after all distances of the clusters have been computed so the ponder of each cluster in final result can be computed.
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. Definition at line 133 of file sphclus.h. Referenced by HCorrectAppartGrade(). |
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. |
|
|
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. |
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::EMHiperPlan, and CLUS::HiperPlanCluster. |
|
Reimplemented in CLUS::HiperPlanCluster. |
|
Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SkinyMultiDimNormal. |
|
Initializes the cluster with random values.
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::HiperPlanCluster. |
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SkinyMultiDimNormal. |
|
|
|
Reimplemented from CLUS::Cluster. Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SkinyMultiDimNormal. |
|
|
the sum of Ai(Xj)^2
Definition at line 51 of file sphclus.h. Referenced by AdjustPrototypes(), CLUS::HiperPlanCluster::AdjustPrototypes(), CLUS::EMHiperPlan::CorrectApartGrade(), CorrectAppartGrade(), CLUS::HiperPlanCluster::CorrectAppartGrade(), HAdjustPrototypes(), CLUS::HiperPlanCluster::HAdjustPrototypes(), and SphericCluster(). |
|
the sum of Ai(Xj)^2*Xj
Definition at line 54 of file sphclus.h. Referenced by AdjustPrototypes(), CLUS::HiperPlanCluster::AdjustPrototypes(), CLUS::EMHiperPlan::CorrectApartGrade(), CorrectAppartGrade(), CLUS::HiperPlanCluster::CorrectAppartGrade(), and SphericCluster(). |