net.sf.myra.datamining.data
Class IntervalBuilder.CutPoint

java.lang.Object
  extended by net.sf.myra.datamining.data.IntervalBuilder.CutPoint
All Implemented Interfaces:
java.lang.Comparable<IntervalBuilder.CutPoint>
Enclosing class:
IntervalBuilder

protected static class IntervalBuilder.CutPoint
extends java.lang.Object
implements java.lang.Comparable<IntervalBuilder.CutPoint>

Struct-like class that represents a cut point.


Field Summary
protected  double gain
          The information gain of the threshold.
protected  double impurity_s
          Entropy value of the distribution.
protected  double impurity_s1
          Entropy value of the lower partition.
protected  double impurity_s2
          Entropy value of the upper partition.
protected  int k1
          Number of different class values of the lower partition.
protected  int k2
          Number of different class values of the upper partition.
protected  int threshold
          The threshold value index.
protected  double value
          The threshold value.
 
Constructor Summary
protected IntervalBuilder.CutPoint()
           
 
Method Summary
 int compareTo(IntervalBuilder.CutPoint o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

threshold

protected int threshold
The threshold value index.


gain

protected double gain
The information gain of the threshold.


impurity_s1

protected double impurity_s1
Entropy value of the lower partition.


impurity_s2

protected double impurity_s2
Entropy value of the upper partition.


impurity_s

protected double impurity_s
Entropy value of the distribution.


k1

protected int k1
Number of different class values of the lower partition.


k2

protected int k2
Number of different class values of the upper partition.


value

protected double value
The threshold value.

Constructor Detail

IntervalBuilder.CutPoint

protected IntervalBuilder.CutPoint()
Method Detail

compareTo

public int compareTo(IntervalBuilder.CutPoint o)
Specified by:
compareTo in interface java.lang.Comparable<IntervalBuilder.CutPoint>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013. All Rights Reserved.