MOA 12.03
Real Time Analytics for Data Streams
moa.classifiers.core.AttributeSplitSuggestion Class Reference

Class for computing attribute split suggestions given a split test. More...

Inheritance diagram for moa.classifiers.core.AttributeSplitSuggestion:
Collaboration diagram for moa.classifiers.core.AttributeSplitSuggestion:

List of all members.

Public Member Functions

 AttributeSplitSuggestion (InstanceConditionalTest splitTest, double[][] resultingClassDistributions, double merit)
int numSplits ()
double[] resultingClassDistributionFromSplit (int splitIndex)
int compareTo (AttributeSplitSuggestion comp)
void getDescription (StringBuilder sb, int indent)
 Returns a string representation of this object.

Public Attributes

InstanceConditionalTest splitTest
double[][] resultingClassDistributions
double merit

Detailed Description

Class for computing attribute split suggestions given a split test.

Richard Kirkby (

Definition at line 31 of file

Constructor & Destructor Documentation

moa.classifiers.core.AttributeSplitSuggestion.AttributeSplitSuggestion ( InstanceConditionalTest  splitTest,
double  resultingClassDistributions[][],
double  merit 

Definition at line 42 of file

Member Function Documentation

int moa.classifiers.core.AttributeSplitSuggestion.compareTo ( AttributeSplitSuggestion  comp)

Definition at line 58 of file

void moa.classifiers.core.AttributeSplitSuggestion.getDescription ( StringBuilder  sb,
int  indent 

Returns a string representation of this object.

Used in AbstractMOAObject.toString to give a string representation of the object.

sbthe stringbuilder to add the description
indentthe number of characters to indent

Implements moa.MOAObject.

Definition at line 63 of file

int moa.classifiers.core.AttributeSplitSuggestion.numSplits ( )

Definition at line 49 of file

Referenced by moa.classifiers.trees.HoeffdingTree.attemptToSplit(), and moa.classifiers.trees.HoeffdingOptionTree.attemptToSplit().

Here is the caller graph for this function:

double [] moa.classifiers.core.AttributeSplitSuggestion.resultingClassDistributionFromSplit ( int  splitIndex)

Member Data Documentation

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations