Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

CLUS::SphericCluster Class Reference

Class that describes Spheric Clusters. More...

#include <sphclus.h>

Inheritance diagram for CLUS::SphericCluster:

Inheritance graph
[legend]
Collaboration diagram for CLUS::SphericCluster:

Collaboration graph
[legend]

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

Detailed Description

Class that describes Spheric Clusters.

Definition at line 46 of file sphclus.h.


Constructor & Destructor Documentation

CLUS::SphericCluster::SphericCluster  )  [inline]
 

Definition at line 59 of file sphclus.h.

CLUS::SphericCluster::SphericCluster int  InDim,
int  OutDim
[inline]
 

Definition at line 62 of file sphclus.h.

CLUS::SphericCluster::SphericCluster int  InDim,
int  OutDim,
int 
[inline]
 

Definition at line 67 of file sphclus.h.


Member Function Documentation

double CLUS::SphericCluster::AdjustPrototypes void   )  [inline]
 

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().

void CLUS::SphericCluster::AdjustYwithYoverD Vector< double > &  Y,
double  dist
[inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::HiperPlanCluster.

Definition at line 181 of file sphclus.h.

void CLUS::SphericCluster::AdjustYwithYoverD Vector< double > &  Y  )  [inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::HiperPlanCluster.

Definition at line 175 of file sphclus.h.

bool CLUS::SphericCluster::CheckSplit SphericCluster left,
SphericCluster right,
double  splitCrit
[inline]
 

Definition at line 262 of file sphclus.h.

double CLUS::SphericCluster::ClusDistance const double *  TrainData  )  [inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::EMHiperPlan, and CLUS::HiperPlanCluster.

Definition at line 112 of file sphclus.h.

double CLUS::SphericCluster::ComputeLastY void   )  [inline]
 

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.

Definition at line 187 of file sphclus.h.

void CLUS::SphericCluster::CopyFrom SphericCluster aux  )  [inline]
 

Definition at line 71 of file sphclus.h.

double CLUS::SphericCluster::CorrectAppartGrade double  Coef  )  [inline]
 

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().

double CLUS::SphericCluster::HAdjustPrototypes void   )  [inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::HiperPlanCluster.

Definition at line 166 of file sphclus.h.

void CLUS::SphericCluster::HBeginIdentif void   )  [inline]
 

Definition at line 128 of file sphclus.h.

double CLUS::SphericCluster::HCorrectAppartGrade double  Coef  )  [inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::HiperPlanCluster.

Definition at line 144 of file sphclus.h.

double CLUS::SphericCluster::InferDistance const double *  InputData  )  [inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::EMHiperPlan, and CLUS::HiperPlanCluster.

Definition at line 100 of file sphclus.h.

void CLUS::SphericCluster::InitializeOnPoint const double *  point  )  [inline]
 

Reimplemented in CLUS::HiperPlanCluster.

Definition at line 92 of file sphclus.h.

void CLUS::SphericCluster::LoadFromStream istream &  in  )  [inline]
 

Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SkinyMultiDimNormal.

Definition at line 207 of file sphclus.h.

void CLUS::SphericCluster::RandomCluster void   )  [inline]
 

Initializes the cluster with random values.

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::HiperPlanCluster.

Definition at line 79 of file sphclus.h.

void CLUS::SphericCluster::SaveToStream ostream &  out  )  [inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SkinyMultiDimNormal.

Definition at line 197 of file sphclus.h.

bool CLUS::SphericCluster::Split SphericCluster right,
SphericCluster save,
double  minDim
[inline]
 

Definition at line 228 of file sphclus.h.

string CLUS::SphericCluster::TypeName void   )  [inline, static]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::EMHiperPlan, CLUS::HiperPlanCluster, and CLUS::SkinyMultiDimNormal.

Definition at line 192 of file sphclus.h.


Field Documentation

Vector<double> CLUS::SphericCluster::L [protected]
 

Definition at line 56 of file sphclus.h.

Referenced by AdjustPrototypes(), CLUS::HiperPlanCluster::AdjustPrototypes(), AdjustYwithYoverD(), CheckSplit(), CLUS::HiperPlanCluster::CheckSplit(), ClusDistance(), CLUS::HiperPlanCluster::ClusDistance(), CLUS::HiperPlanCluster::ComputeCCoef(), ComputeLastY(), CLUS::HiperPlanCluster::ComputeU(), CopyFrom(), CLUS::HiperPlanCluster::CopyFrom(), InferDistance(), CLUS::HiperPlanCluster::InferDistance(), InitializeOnPoint(), LoadFromStream(), CLUS::HiperPlanCluster::LoadFromStream(), CLUS::EMHiperPlan::LoadFromStream(), RandomCluster(), SaveToStream(), CLUS::HiperPlanCluster::SaveToStream(), CLUS::EMHiperPlan::SaveToStream(), SphericCluster(), Split(), and CLUS::HiperPlanCluster::Split().

double CLUS::SphericCluster::s_Ai [protected]
 

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().

Vector<double> CLUS::SphericCluster::s_Ai_Xj [protected]
 

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().


The documentation for this class was generated from the following file:
Generated on Mon Jul 21 16:57:52 2003 for SECRET by doxygen 1.3.2