|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.measure.MacroWeightedFMeasure
public class MacroWeightedFMeasure
This class represents the weighted averaged F-Measure metric, where the weight of each class label corresponds to its relative frequency of examples.
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 |
---|
public MacroWeightedFMeasure()
Method Detail |
---|
public Unit<java.lang.Double> evaluate(Dataset dataset, Model model)
Measure
evaluate
in interface Measure
dataset
- the test dataset.model
- the model to be evaluated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |