org.apache.mahout.df.split
Class Split

java.lang.Object
  extended by org.apache.mahout.df.split.Split

public class Split
extends java.lang.Object

Contains enough information to identify each split


Field Summary
 int attr
          attribute to split for
 double ig
          Information Gain of the split
 double split
          split value for NUMERICAL attributes
 
Constructor Summary
Split(int attr, double ig)
           
Split(int attr, double ig, double split)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attr

public final int attr
attribute to split for


ig

public final double ig
Information Gain of the split


split

public final double split
split value for NUMERICAL attributes

Constructor Detail

Split

public Split(int attr,
             double ig,
             double split)

Split

public Split(int attr,
             double ig)


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.