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

CLUS::BasicBinomialStatistics Class Reference

#include <statisticsgatherers.h>

Inheritance diagram for CLUS::BasicBinomialStatistics:

Inheritance graph
[legend]

Public Member Functions

 BasicBinomialStatistics (int DomainSize=0)
double getCount ()
void Print (void)
void ResetDomainSize (int DomainSize)
void UpdateStatistics (int value, int classLabel, double probability=1.0)
void UpdateStatisticsP (int value, double p0, double p1)

Protected Member Functions

double ComputeSplitPoint (double N, double alpha_1)

Protected Attributes

Vector< double > countsC0
 Counts for each value of the attribute for class 0.

Vector< double > counts
 Counts for each value of the attribute (total).

bool gainComputed

Constructor & Destructor Documentation

CLUS::BasicBinomialStatistics::BasicBinomialStatistics int  DomainSize = 0  )  [inline]
 

Definition at line 105 of file statisticsgatherers.h.


Member Function Documentation

double CLUS::BasicBinomialStatistics::ComputeSplitPoint double  N,
double  alpha_1
[inline, protected]
 

Reimplemented in CLUS::BinomialStatistics.

Definition at line 99 of file statisticsgatherers.h.

double CLUS::BasicBinomialStatistics::getCount  )  [inline]
 

Definition at line 109 of file statisticsgatherers.h.

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

Definition at line 117 of file statisticsgatherers.h.

void CLUS::BasicBinomialStatistics::ResetDomainSize int  DomainSize  )  [inline]
 

Definition at line 130 of file statisticsgatherers.h.

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

Definition at line 141 of file statisticsgatherers.h.

void CLUS::BasicBinomialStatistics::UpdateStatisticsP int  value,
double  p0,
double  p1
[inline]
 

Definition at line 157 of file statisticsgatherers.h.


Field Documentation

Vector<double> CLUS::BasicBinomialStatistics::counts [protected]
 

Counts for each value of the attribute (total).

Definition at line 95 of file statisticsgatherers.h.

Referenced by CLUS::BinomialStatistics::AddStatisticsShifted(), CLUS::BinomialStatistics::AddWeightedStatistics(), BasicBinomialStatistics(), CLUS::ProbabilisticBinomialStatistics::ComputeGiniGain(), CLUS::BinomialStatistics::ComputeGiniGain(), CLUS::BinomialStatistics::ComputeShift(), CLUS::BinomialStatistics::ComputeSplitPoint(), CLUS::BinomialStatistics::CorrectWeightedStatistics(), CLUS::BinomialStatistics::getConditionalProbs(), getCount(), Print(), ResetDomainSize(), UpdateStatistics(), and UpdateStatisticsP().

Vector<double> CLUS::BasicBinomialStatistics::countsC0 [protected]
 

Counts for each value of the attribute for class 0.

Definition at line 92 of file statisticsgatherers.h.

Referenced by CLUS::BinomialStatistics::AddStatisticsShifted(), CLUS::BinomialStatistics::AddWeightedStatistics(), BasicBinomialStatistics(), CLUS::ProbabilisticBinomialStatistics::ComputeGiniGain(), CLUS::BinomialStatistics::ComputeGiniGain(), CLUS::BinomialStatistics::ComputeSplitPoint(), CLUS::BinomialStatistics::CorrectWeightedStatistics(), CLUS::BinomialStatistics::getConditionalProbs(), getCount(), Print(), ResetDomainSize(), UpdateStatistics(), and UpdateStatisticsP().

bool CLUS::BasicBinomialStatistics::gainComputed [protected]
 

Definition at line 97 of file statisticsgatherers.h.

Referenced by BasicBinomialStatistics(), CLUS::ProbabilisticBinomialStatistics::ComputeGiniGain(), CLUS::BinomialStatistics::ComputeGiniGain(), CLUS::BinomialStatistics::ComputeShift(), CLUS::ProbabilisticBinomialStatistics::GetProbabilitySet(), and CLUS::BinomialStatistics::GetSplit().


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