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

CLUS::NormalStatistics Class Reference

#include <statisticsgatherers.h>


Public Member Functions

 NormalStatistics (int dummy=0)
void Reset (void)
void Print (void)
double getVariance (void)
double getSplitVariance (void)
void UpdateStatistics (double value, int classLabel, double probability=1.0)
double GetCenter (void)
double ComputeGiniGain (void)
double GetSplit (void)
bool nonZero (void)
bool hasData (void)
double ComputeShift (ShiftType shift, NormalStatistics &aux)
void AddStatisticsShifted (NormalStatistics &aux, double shift)
void AddWeightedStatistics (NormalStatistics &aux, double weight)
void CorrectWeightedStatistics (double totalWeight)
bool negMeanLessThanPos (void)
bool labeledMeansSignificant (void)
double getLabeledCenter (bool b)
double getLCVariance (bool b)
double getcountC0 ()
double getcountC1 ()

Protected Attributes

double countC0
double countC1
double sumC0
 maintain the sum of values for class label 0

double sumC1
double sum2C0
 maintain the sum of squares for class label 0

double sum2C1
double split
int whichSol
 Solution returned by QDA.

double splitVariance
bool splitVarComputed


Constructor & Destructor Documentation

CLUS::NormalStatistics::NormalStatistics int  dummy = 0  )  [inline]
 

Definition at line 394 of file statisticsgatherers.h.


Member Function Documentation

void CLUS::NormalStatistics::AddStatisticsShifted NormalStatistics aux,
double  shift
[inline]
 

Definition at line 522 of file statisticsgatherers.h.

void CLUS::NormalStatistics::AddWeightedStatistics NormalStatistics aux,
double  weight
[inline]
 

Definition at line 536 of file statisticsgatherers.h.

double CLUS::NormalStatistics::ComputeGiniGain void   )  [inline]
 

Definition at line 453 of file statisticsgatherers.h.

Referenced by ComputeShift(), and getSplitVariance().

double CLUS::NormalStatistics::ComputeShift ShiftType  shift,
NormalStatistics aux
[inline]
 

Definition at line 506 of file statisticsgatherers.h.

void CLUS::NormalStatistics::CorrectWeightedStatistics double  totalWeight  )  [inline]
 

Definition at line 549 of file statisticsgatherers.h.

double CLUS::NormalStatistics::GetCenter void   )  [inline]
 

Definition at line 448 of file statisticsgatherers.h.

double CLUS::NormalStatistics::getcountC0  )  [inline]
 

Definition at line 607 of file statisticsgatherers.h.

Referenced by CLUS::BinaryMultiClassificationSplitter::ComputeSplitVariable().

double CLUS::NormalStatistics::getcountC1  )  [inline]
 

Definition at line 612 of file statisticsgatherers.h.

double CLUS::NormalStatistics::getLabeledCenter bool  b  )  [inline]
 

Definition at line 589 of file statisticsgatherers.h.

double CLUS::NormalStatistics::getLCVariance bool  b  )  [inline]
 

Definition at line 597 of file statisticsgatherers.h.

double CLUS::NormalStatistics::GetSplit void   )  [inline]
 

Definition at line 489 of file statisticsgatherers.h.

double CLUS::NormalStatistics::getSplitVariance void   )  [inline]
 

Definition at line 421 of file statisticsgatherers.h.

double CLUS::NormalStatistics::getVariance void   )  [inline]
 

Definition at line 416 of file statisticsgatherers.h.

bool CLUS::NormalStatistics::hasData void   )  [inline]
 

Definition at line 501 of file statisticsgatherers.h.

bool CLUS::NormalStatistics::labeledMeansSignificant void   )  [inline]
 

Definition at line 566 of file statisticsgatherers.h.

bool CLUS::NormalStatistics::negMeanLessThanPos void   )  [inline]
 

Definition at line 559 of file statisticsgatherers.h.

Referenced by labeledMeansSignificant().

bool CLUS::NormalStatistics::nonZero void   )  [inline]
 

Definition at line 496 of file statisticsgatherers.h.

Referenced by CLUS::BinaryMultiClassificationSplitter::ComputeSplitVariable().

void CLUS::NormalStatistics::Print void   )  [inline]
 

Definition at line 410 of file statisticsgatherers.h.

void CLUS::NormalStatistics::Reset void   )  [inline]
 

Definition at line 399 of file statisticsgatherers.h.

Referenced by NormalStatistics().

void CLUS::NormalStatistics::UpdateStatistics double  value,
int  classLabel,
double  probability = 1.0
[inline]
 

Definition at line 431 of file statisticsgatherers.h.


Field Documentation

double CLUS::NormalStatistics::countC0 [protected]
 

Definition at line 373 of file statisticsgatherers.h.

Referenced by AddStatisticsShifted(), AddWeightedStatistics(), ComputeGiniGain(), ComputeShift(), CorrectWeightedStatistics(), GetCenter(), getcountC0(), getLabeledCenter(), getLCVariance(), getVariance(), hasData(), labeledMeansSignificant(), negMeanLessThanPos(), nonZero(), Print(), Reset(), and UpdateStatistics().

double CLUS::NormalStatistics::countC1 [protected]
 

Definition at line 374 of file statisticsgatherers.h.

Referenced by AddStatisticsShifted(), AddWeightedStatistics(), ComputeGiniGain(), ComputeShift(), CorrectWeightedStatistics(), GetCenter(), getcountC1(), getLabeledCenter(), getLCVariance(), getVariance(), hasData(), labeledMeansSignificant(), negMeanLessThanPos(), nonZero(), Print(), Reset(), and UpdateStatistics().

double CLUS::NormalStatistics::split [protected]
 

Definition at line 383 of file statisticsgatherers.h.

Referenced by ComputeGiniGain(), ComputeShift(), and GetSplit().

bool CLUS::NormalStatistics::splitVarComputed [protected]
 

Definition at line 389 of file statisticsgatherers.h.

Referenced by ComputeGiniGain(), getSplitVariance(), and Reset().

double CLUS::NormalStatistics::splitVariance [protected]
 

Definition at line 387 of file statisticsgatherers.h.

Referenced by ComputeGiniGain(), and getSplitVariance().

double CLUS::NormalStatistics::sum2C0 [protected]
 

maintain the sum of squares for class label 0

Definition at line 381 of file statisticsgatherers.h.

Referenced by AddStatisticsShifted(), AddWeightedStatistics(), ComputeGiniGain(), CorrectWeightedStatistics(), getLCVariance(), getVariance(), Print(), Reset(), and UpdateStatistics().

double CLUS::NormalStatistics::sum2C1 [protected]
 

Definition at line 382 of file statisticsgatherers.h.

Referenced by AddStatisticsShifted(), AddWeightedStatistics(), ComputeGiniGain(), CorrectWeightedStatistics(), getLCVariance(), getVariance(), Print(), Reset(), and UpdateStatistics().

double CLUS::NormalStatistics::sumC0 [protected]
 

maintain the sum of values for class label 0

Definition at line 377 of file statisticsgatherers.h.

Referenced by AddStatisticsShifted(), AddWeightedStatistics(), ComputeGiniGain(), ComputeShift(), CorrectWeightedStatistics(), GetCenter(), getLabeledCenter(), getLCVariance(), getVariance(), labeledMeansSignificant(), negMeanLessThanPos(), Print(), Reset(), and UpdateStatistics().

double CLUS::NormalStatistics::sumC1 [protected]
 

Definition at line 378 of file statisticsgatherers.h.

Referenced by AddStatisticsShifted(), AddWeightedStatistics(), ComputeGiniGain(), ComputeShift(), CorrectWeightedStatistics(), GetCenter(), getLabeledCenter(), getLCVariance(), getVariance(), labeledMeansSignificant(), negMeanLessThanPos(), Print(), Reset(), and UpdateStatistics().

int CLUS::NormalStatistics::whichSol [protected]
 

Solution returned by QDA.

Definition at line 386 of file statisticsgatherers.h.

Referenced by ComputeGiniGain().


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