net.sf.myra.datamining.function.hierarchical
Class VarianceGainFunction

java.lang.Object
  extended by net.sf.myra.datamining.AbstractObjectiveFunction
      extended by net.sf.myra.datamining.function.hierarchical.VarianceGainFunction
All Implemented Interfaces:
net.sf.myra.framework.ObjectiveFunction

public class VarianceGainFunction
extends AbstractObjectiveFunction

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

Constructor Summary
VarianceGainFunction(Dataset dataset)
           
 
Method Summary
 net.sf.myra.framework.Cost evaluate(net.sf.myra.framework.Trail trail)
           
 double getVariance()
          Returns the variance of the dataset.
 
Methods inherited from class net.sf.myra.datamining.AbstractObjectiveFunction
getDataset, setDataset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VarianceGainFunction

public VarianceGainFunction(Dataset dataset)
Method Detail

evaluate

public net.sf.myra.framework.Cost evaluate(net.sf.myra.framework.Trail trail)

getVariance

public double getVariance()
Returns the variance of the dataset.

Returns:
the variance of the dataset.


Copyright © 2013. All Rights Reserved.