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

CLUS::HiperPlanCluster Class Reference

This class implements hiperclusters with only one possible output. More...

#include <hipclus.h>

Inheritance diagram for CLUS::HiperPlanCluster:

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

Collaboration graph
[legend]

Public Member Functions

 HiperPlanCluster ()
 HiperPlanCluster (int InDim, int OutDim)
 HiperPlanCluster (int InDim, int OutDim, int)
void CopyFrom (HiperPlanCluster &aux)
void RandomCluster (void)
 Initializes the cluster with random values.

void InitializeOnPoint (const double *point)
double InferDistance (const double *DataCache)
double ClusDistance (const double *DataCache)
double CorrectAppartGrade (double Coef)
 In the hiperplan case not only the new gravity center must be computed but also the dispersion matrix S.

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)
void SetElipsoidality (double val)
bool SetOptionDbl (char *optName, double value)
bool Split (HiperPlanCluster &right, HiperPlanCluster &save, double minDim)
bool CheckSplit (HiperPlanCluster &left, HiperPlanCluster &right, double splitCrit)

Static Public Member Functions

string TypeName (void)

Protected Member Functions

void ComputeCCoef (void)
void ComputeU (void)

Protected Attributes

Vector< double > C
 coefficients of the hiperplan in the form y=c0+x1*c1*..

Vector< double > u
 coefficients of the hiperplan in the form y=c0+x1*c1*..

Fortran_Matrix< double > S
 the spreading matrix; the eigen values will be found on his diagonal

double Elipsoidality
double error
double slimness

Detailed Description

This class implements hiperclusters with only one possible output.

Definition at line 64 of file hipclus.h.


Constructor & Destructor Documentation

CLUS::HiperPlanCluster::HiperPlanCluster  )  [inline]
 

Definition at line 101 of file hipclus.h.

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

Definition at line 107 of file hipclus.h.

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

Definition at line 117 of file hipclus.h.


Member Function Documentation

double CLUS::HiperPlanCluster::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::SphericCluster.

Definition at line 230 of file hipclus.h.

Referenced by HAdjustPrototypes(), and CLUS::SkinyMultiDimNormal::UpdateParameters().

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

Reimplemented from CLUS::SphericCluster.

Definition at line 282 of file hipclus.h.

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

Reimplemented from CLUS::SphericCluster.

Definition at line 272 of file hipclus.h.

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

Definition at line 421 of file hipclus.h.

double CLUS::HiperPlanCluster::ClusDistance const double *  DataCache  )  [inline]
 

Reimplemented from CLUS::SphericCluster.

Reimplemented in CLUS::EMHiperPlan.

Definition at line 179 of file hipclus.h.

void CLUS::HiperPlanCluster::ComputeCCoef void   )  [inline, protected]
 

Definition at line 75 of file hipclus.h.

Referenced by AdjustPrototypes(), CheckSplit(), InitializeOnPoint(), RandomCluster(), SaveToStream(), CLUS::EMHiperPlan::SaveToStream(), and Split().

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

Returns the consequent value of the cluster for the last input introduced as a parameter of Distance.

Reimplemented from CLUS::SphericCluster.

Definition at line 292 of file hipclus.h.

void CLUS::HiperPlanCluster::ComputeU void   )  [inline, protected]
 

Definition at line 88 of file hipclus.h.

Referenced by LoadFromStream(), and CLUS::EMHiperPlan::LoadFromStream().

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

Definition at line 126 of file hipclus.h.

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

In the hiperplan case not only the new gravity center must be computed but also the dispersion matrix S.

Reimplemented from CLUS::SphericCluster.

Definition at line 196 of file hipclus.h.

Referenced by HCorrectAppartGrade().

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

Reimplemented from CLUS::SphericCluster.

Definition at line 266 of file hipclus.h.

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

Reimplemented from CLUS::SphericCluster.

Definition at line 223 of file hipclus.h.

double CLUS::HiperPlanCluster::InferDistance const double *  DataCache  )  [inline]
 

Reimplemented from CLUS::SphericCluster.

Reimplemented in CLUS::EMHiperPlan.

Definition at line 153 of file hipclus.h.

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

Reimplemented from CLUS::SphericCluster.

Definition at line 145 of file hipclus.h.

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

Reimplemented from CLUS::SphericCluster.

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

Definition at line 323 of file hipclus.h.

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

Initializes the cluster with random values.

Reimplemented from CLUS::SphericCluster.

Definition at line 137 of file hipclus.h.

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

Reimplemented from CLUS::SphericCluster.

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

Definition at line 307 of file hipclus.h.

void CLUS::HiperPlanCluster::SetElipsoidality double  val  )  [inline]
 

Definition at line 355 of file hipclus.h.

bool CLUS::HiperPlanCluster::SetOptionDbl char *  optName,
double  value
[inline]
 

Reimplemented from CLUS::Cluster.

Reimplemented in CLUS::EMHiperPlan.

Definition at line 360 of file hipclus.h.

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

Definition at line 371 of file hipclus.h.

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

Reimplemented from CLUS::SphericCluster.

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

Definition at line 302 of file hipclus.h.

Referenced by AdjustPrototypes().


Field Documentation

Vector<double> CLUS::HiperPlanCluster::C [protected]
 

coefficients of the hiperplan in the form y=c0+x1*c1*..

Definition at line 69 of file hipclus.h.

Referenced by AdjustYwithYoverD(), ComputeCCoef(), ComputeLastY(), ComputeU(), HiperPlanCluster(), InferDistance(), LoadFromStream(), CLUS::EMHiperPlan::LoadFromStream(), SaveToStream(), and CLUS::EMHiperPlan::SaveToStream().

double CLUS::HiperPlanCluster::Elipsoidality [protected]
 

Definition at line 73 of file hipclus.h.

Referenced by CheckSplit(), ClusDistance(), CopyFrom(), HiperPlanCluster(), InferDistance(), LoadFromStream(), CLUS::EMHiperPlan::LoadFromStream(), SaveToStream(), CLUS::EMHiperPlan::SaveToStream(), SetElipsoidality(), SetOptionDbl(), and Split().

double CLUS::HiperPlanCluster::error [protected]
 

Definition at line 73 of file hipclus.h.

Referenced by AdjustPrototypes(), CheckSplit(), CopyFrom(), HiperPlanCluster(), InferDistance(), LoadFromStream(), CLUS::EMHiperPlan::LoadFromStream(), SaveToStream(), CLUS::EMHiperPlan::SaveToStream(), and Split().

Fortran_Matrix<double> CLUS::HiperPlanCluster::S [protected]
 

the spreading matrix; the eigen values will be found on his diagonal

Definition at line 72 of file hipclus.h.

Referenced by AdjustPrototypes(), CLUS::EMHiperPlan::CorrectApartGrade(), CorrectAppartGrade(), and HiperPlanCluster().

double CLUS::HiperPlanCluster::slimness [protected]
 

Definition at line 73 of file hipclus.h.

Referenced by AdjustPrototypes(), and Split().

Vector<double> CLUS::HiperPlanCluster::u [protected]
 

coefficients of the hiperplan in the form y=c0+x1*c1*..

Definition at line 69 of file hipclus.h.

Referenced by AdjustPrototypes(), CheckSplit(), ClusDistance(), ComputeCCoef(), ComputeU(), CopyFrom(), HiperPlanCluster(), InitializeOnPoint(), RandomCluster(), and Split().


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