net.sf.myra.datamining.measure
Class MacroWeightedFMeasure

java.lang.Object
  extended by net.sf.myra.datamining.measure.MacroWeightedFMeasure
All Implemented Interfaces:
Measure

public class MacroWeightedFMeasure
extends java.lang.Object
implements Measure

This class represents the weighted averaged F-Measure metric, where the weight of each class label corresponds to its relative frequency of examples.

Author:
Matthew Medland

Constructor Summary
MacroWeightedFMeasure()
           
 
Method Summary
 Unit<java.lang.Double> evaluate(Dataset dataset, Model model)
          Evaluates the specified model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroWeightedFMeasure

public MacroWeightedFMeasure()
Method Detail

evaluate

public Unit<java.lang.Double> evaluate(Dataset dataset,
                                       Model model)
Description copied from interface: Measure
Evaluates the specified model.

Specified by:
evaluate in interface Measure
Parameters:
dataset - the test dataset.
model - the model to be evaluated.


Copyright © 2013. All Rights Reserved.