|
|||||||||
| 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.SquaredError
public class SquaredError
The squared error. Sums up the square of the absolute deviations and divides the sum by the number of examples.
| Constructor Summary | |
|---|---|
SquaredError()
|
|
| Method Summary | |
|---|---|
double |
countExample(double label,
double predictedLabel)
Calculates the error for the current example. |
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 SquaredError()
| Method Detail |
|---|
public java.lang.String getName()
Averagable
getName in interface ResultObjectgetName in class Averagable
public double countExample(double label,
double predictedLabel)
countExample in class SimpleCriterionpublic 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 | ||||||||