net.sf.myra.antree
Class C45Heuristic

java.lang.Object
  extended by net.sf.myra.antree.C45Heuristic
All Implemented Interfaces:
Heuristic

public class C45Heuristic
extends java.lang.Object
implements Heuristic

Version:
$Revision$ $Date:: #$
Author:
Fernando Esteban Barril Otero

Constructor Summary
C45Heuristic(net.sf.myra.datamining.data.Dataset dataset)
           
 
Method Summary
 void set(Branch branch, double[] values)
           
 double valueFor(Branch branch, net.sf.myra.datamining.data.Attribute attribute)
          Returns the heuristic value for the specified attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

C45Heuristic

public C45Heuristic(net.sf.myra.datamining.data.Dataset dataset)
Method Detail

valueFor

public double valueFor(Branch branch,
                       net.sf.myra.datamining.data.Attribute attribute)
Description copied from interface: Heuristic
Returns the heuristic value for the specified attribute.

Specified by:
valueFor in interface Heuristic
Parameters:
branch - the branch of the tree being followed.
attribute - the attribute to determine the heuristic value.
Returns:
the heuristic value for the specified attribute.

set

public void set(Branch branch,
                double[] values)


Copyright © 2013. All Rights Reserved.