#include <binaryprobabilisticsplitter.h>
Public Member Functions | |
BinaryProbabilisticSplitter (const Vector< int > &DDomainSize, int CsplitDim) | |
bool | GotNoData (void) |
int | GetCSplitDim (void) |
int | GetDSplitDim (void) |
const Vector< int > & | GetDDomainSize (void) |
void | InitializeSplitStatistics (void) |
Initializes the data structures used in split variable selection. | |
double | ProbabilityLeft (const int *Dvars, const double *Cvars) |
Computes the probability to take the left branch. | |
void | UpdateSplitStatistics (const int *Dvars, const double *Cvars, int classLabel, double probability) |
bool | ComputeSplitVariable (void) |
double | ComputeProbabilityFirstClass (void) |
bool | MoreSplits (double minMass, int nodeId) |
void | SaveToStream (ostream &out) |
Protected Attributes | |
int | dsplitDim |
the number of discrete and continuous split variables | |
int | csplitDim |
the number of discrete and continuous split variables | |
double | mass0 |
statistics about datapoints seen | |
double | mass |
statistics about datapoints seen | |
const Vector< int > & | dDomainSize |
list of discrete domain sizes | |
int | SplitVariable |
Indicates on what variable this node splits on. | |
double | splitPoint |
split for continuous variables | |
double | splitSTD |
split for continuous variables | |
Vector< double > | splitSetProbability |
Vector< ProbabilisticBinomialStatistics > | discreteStatistics |
Statistics for split decision. | |
Vector< NormalStatistics > | continuousStatistics |
|
Definition at line 78 of file binaryprobabilisticsplitter.h. |
|
Definition at line 230 of file binaryprobabilisticsplitter.h. |
|
Definition at line 160 of file binaryprobabilisticsplitter.h. |
|
Definition at line 89 of file binaryprobabilisticsplitter.h. |
|
Definition at line 99 of file binaryprobabilisticsplitter.h. |
|
Definition at line 94 of file binaryprobabilisticsplitter.h. |
|
Definition at line 84 of file binaryprobabilisticsplitter.h. |
|
Initializes the data structures used in split variable selection.
Definition at line 105 of file binaryprobabilisticsplitter.h. |
|
Definition at line 235 of file binaryprobabilisticsplitter.h. |
|
Computes the probability to take the left branch.
Definition at line 120 of file binaryprobabilisticsplitter.h. |
|
Definition at line 240 of file binaryprobabilisticsplitter.h. |
|
Definition at line 138 of file binaryprobabilisticsplitter.h. |
|
Definition at line 75 of file binaryprobabilisticsplitter.h. Referenced by BinaryProbabilisticSplitter(), ComputeSplitVariable(), InitializeSplitStatistics(), and UpdateSplitStatistics(). |
|
the number of discrete and continuous split variables
Definition at line 54 of file binaryprobabilisticsplitter.h. Referenced by BinaryProbabilisticSplitter(), ComputeSplitVariable(), GetCSplitDim(), InitializeSplitStatistics(), and UpdateSplitStatistics(). |
|
list of discrete domain sizes
Definition at line 60 of file binaryprobabilisticsplitter.h. Referenced by BinaryProbabilisticSplitter(), GetDDomainSize(), and InitializeSplitStatistics(). |
|
Statistics for split decision. One for each attributeXdataset If an attribute already has the shift determined keep statistics about all datasets in the location for the first dataset Definition at line 74 of file binaryprobabilisticsplitter.h. Referenced by BinaryProbabilisticSplitter(), ComputeSplitVariable(), InitializeSplitStatistics(), and UpdateSplitStatistics(). |
|
the number of discrete and continuous split variables
Definition at line 54 of file binaryprobabilisticsplitter.h. Referenced by BinaryProbabilisticSplitter(), ComputeSplitVariable(), GetDSplitDim(), InitializeSplitStatistics(), and UpdateSplitStatistics(). |
|
statistics about datapoints seen
Definition at line 57 of file binaryprobabilisticsplitter.h. Referenced by ComputeProbabilityFirstClass(), ComputeSplitVariable(), GotNoData(), InitializeSplitStatistics(), MoreSplits(), SaveToStream(), and UpdateSplitStatistics(). |
|
statistics about datapoints seen
Definition at line 57 of file binaryprobabilisticsplitter.h. Referenced by ComputeProbabilityFirstClass(), ComputeSplitVariable(), InitializeSplitStatistics(), MoreSplits(), and UpdateSplitStatistics(). |
|
split for continuous variables
Definition at line 66 of file binaryprobabilisticsplitter.h. Referenced by ComputeSplitVariable(), ProbabilityLeft(), and SaveToStream(). |
|
Definition at line 68 of file binaryprobabilisticsplitter.h. Referenced by ComputeSplitVariable(), ProbabilityLeft(), and SaveToStream(). |
|
split for continuous variables
Definition at line 66 of file binaryprobabilisticsplitter.h. Referenced by ComputeSplitVariable(), ProbabilityLeft(), and SaveToStream(). |
|
Indicates on what variable this node splits on.
Definition at line 63 of file binaryprobabilisticsplitter.h. Referenced by ComputeSplitVariable(), ProbabilityLeft(), and SaveToStream(). |