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.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 31 of file AttributeSplitSuggestion.java.


Constructor & Destructor Documentation

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

Definition at line 42 of file AttributeSplitSuggestion.java.


Member Function Documentation

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

Definition at line 58 of file AttributeSplitSuggestion.java.

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.

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

Implements moa.MOAObject.

Definition at line 63 of file AttributeSplitSuggestion.java.

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

Definition at line 49 of file AttributeSplitSuggestion.java.

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