net.sf.myra.datamining.function
Class MEstimateFunction

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

public class MEstimateFunction
extends AbstractObjectiveFunction

This class implements the m-estimate rule evaluation function.

Author:
Matthew Medland

Field Summary
static java.lang.String C
          The property key under which the estimated number of covered examples of a rule value is stored.
 
Constructor Summary
MEstimateFunction(Dataset dataset)
          Default constructor.
MEstimateFunction(Dataset dataset, double m)
          Construction with parameter.
 
Method Summary
 net.sf.myra.framework.Cost evaluate(net.sf.myra.framework.Trail trail)
           
 
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
 

Field Detail

C

public static final java.lang.String C
The property key under which the estimated number of covered examples of a rule value is stored.

See Also:
Constant Field Values
Constructor Detail

MEstimateFunction

public MEstimateFunction(Dataset dataset)
Default constructor.

Parameters:
dataset - the dataset used in the evaluation.

MEstimateFunction

public MEstimateFunction(Dataset dataset,
                         double m)
Construction with parameter.

Parameters:
dataset - the dataset used in the evaluation.
m - the m value to be used
Method Detail

evaluate

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


Copyright © 2013. All Rights Reserved.