net.sf.myra.datamining.function
Class MEstimateFunction
java.lang.Object
net.sf.myra.datamining.AbstractObjectiveFunction
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. |
Method Summary |
net.sf.myra.framework.Cost |
evaluate(net.sf.myra.framework.Trail trail)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
evaluate
public net.sf.myra.framework.Cost evaluate(net.sf.myra.framework.Trail trail)
Copyright © 2013. All Rights Reserved.