|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.AbstractIOObject
edu.udo.cs.yale.operator.ResultObjectAdapter
edu.udo.cs.yale.tools.math.Averagable
edu.udo.cs.yale.operator.performance.PerformanceCriterion
edu.udo.cs.yale.operator.performance.MeasuredPerformance
edu.udo.cs.yale.operator.performance.SimpleCriterion
edu.udo.cs.yale.operator.performance.AbsoluteError
public class AbsoluteError
The absolute error: Sum(|label-predicted|)/#examples. Mean absolue error is the average of the difference between predicted and actual value in all test cases; it is the average prediction error.
| Constructor Summary | |
|---|---|
AbsoluteError()
|
|
| Method Summary | |
|---|---|
double |
countExample(double label,
double predictedLabel)
Subclasses must count the example and return the value to sum up. |
java.lang.String |
getDescription()
Returns a description of the performance criterion. |
java.lang.String |
getName()
Returns the name of this averagable. |
| Methods inherited from class edu.udo.cs.yale.operator.performance.SimpleCriterion |
|---|
buildSingleAverage, cloneAveragable, countExample, countExample, getExampleCount, getFitness, getMikroAverage, getMikroVariance, readCriterionData, startCounting, transform, writeCriterionData |
| Methods inherited from class edu.udo.cs.yale.operator.performance.PerformanceCriterion |
|---|
compareTo, getMaxFitness, readPerformanceCriterion, writePerformanceCriterion |
| Methods inherited from class edu.udo.cs.yale.tools.math.Averagable |
|---|
buildAverage, clone, formatDeviation, formatPercent, formatValue, getAverage, getMakroAverage, getMakroStandardDeviation, getMakroVariance, getMikroStandardDeviation, getStandardDeviation, getVariance, toHTML, toString |
| Methods inherited from class edu.udo.cs.yale.operator.ResultObjectAdapter |
|---|
addAction, getActions, getVisualisationComponent, toHTML, toResultString |
| Methods inherited from class edu.udo.cs.yale.operator.AbstractIOObject |
|---|
copy, read, read, read, write, write |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.yale.operator.IOObject |
|---|
copy, write, write |
| Constructor Detail |
|---|
public AbsoluteError()
| Method Detail |
|---|
public double countExample(double label,
double predictedLabel)
SimpleCriterion
countExample in class SimpleCriterionpublic java.lang.String getName()
Averagable
getName in interface ResultObjectgetName in class Averagablepublic java.lang.String getDescription()
MeasuredPerformance
getDescription in class MeasuredPerformance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||