|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.AbstractIOObject
com.rapidminer.operator.ResultObjectAdapter
com.rapidminer.tools.math.Averagable
com.rapidminer.operator.performance.PerformanceCriterion
com.rapidminer.operator.performance.MeasuredPerformance
com.rapidminer.operator.performance.AreaUnderCurve
public class AreaUnderCurve
This criterion calculates the area under the ROC curve.
| Constructor Summary | |
|---|---|
AreaUnderCurve()
Clone constructor. |
|
AreaUnderCurve(AreaUnderCurve aucObject)
|
|
| Method Summary | |
|---|---|
void |
buildSingleAverage(Averagable performance)
This method should build the average of this and another averagable of the same type. |
void |
countExample(Example example)
Does nothing. |
void |
finishRendering()
Will be invoked directly after rendering and gives the object the chance to perform some clean-up. |
java.lang.String |
getDescription()
Returns a description of the performance criterion. |
double |
getExampleCount()
Returns the number of data points which was used to determine the criterion value. |
double |
getFitness()
Returns the fitness. |
double |
getMikroAverage()
Returns the (current) value of the averagable (the average itself). |
double |
getMikroVariance()
Returns the variance of the averagable. |
java.lang.String |
getName()
Returns the name of this averagable. |
int |
getRenderHeight(int preferredHeight)
This method return the pixel height the rendering needs |
int |
getRenderWidth(int preferredWidth)
This method returns the pixel width the rendering needs |
java.awt.Component |
getVisualizationComponent(IOContainer ioContainer)
This implementation returns a confusion matrix viewer based on a JTable. |
void |
prepareRendering()
Will be invoked before rendering and even before render width and height retrieval. |
void |
render(java.awt.Graphics graphics,
int width,
int height)
This method paints the visual representation onto the given graphics |
void |
startCounting(ExampleSet exampleSet,
boolean useExampleWeights)
Calculates the AUC. |
java.lang.String |
toString()
|
| Methods inherited from class com.rapidminer.operator.performance.MeasuredPerformance |
|---|
startCounting |
| Methods inherited from class com.rapidminer.operator.performance.PerformanceCriterion |
|---|
compareTo, getMaxFitness |
| Methods inherited from class com.rapidminer.tools.math.Averagable |
|---|
buildAverage, clone, cloneAveragable, formatPercent, getAverage, getAverageCount, getExtension, getFileDescription, getMakroAverage, getMakroStandardDeviation, getMakroVariance, getMikroStandardDeviation, getStandardDeviation, getVariance, setAverageCount |
| Methods inherited from class com.rapidminer.operator.ResultObjectAdapter |
|---|
addAction, getActions, getResultIcon, isSavable, log, logError, logNote, logWarning, save, toHTML, toResultString |
| Methods inherited from class com.rapidminer.operator.AbstractIOObject |
|---|
copy, getLog, getSource, initWriting, read, setLoggingHandler, setSource, write |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.IOObject |
|---|
copy, getLog, getSource, setLoggingHandler, setSource, write |
| Constructor Detail |
|---|
public AreaUnderCurve()
public AreaUnderCurve(AreaUnderCurve aucObject)
| Method Detail |
|---|
public void startCounting(ExampleSet exampleSet,
boolean useExampleWeights)
throws OperatorException
startCounting in class MeasuredPerformanceOperatorExceptionpublic void countExample(Example example)
startCounting(ExampleSet, boolean).
countExample in class MeasuredPerformancepublic double getExampleCount()
PerformanceCriterion
getExampleCount in class PerformanceCriterionpublic double getMikroVariance()
Averagable
getMikroVariance in class Averagablepublic double getMikroAverage()
AveragableAveragable.buildSingleAverage(Averagable) was used, this method must return the
micro average from both (or more) criteria. This is usually achieved by
correctly implementing Averagable.buildSingleAverage(Averagable).
getMikroAverage in class Averagablepublic double getFitness()
getFitness in class PerformanceCriterionpublic java.lang.String getName()
Averagable
getName in interface ResultObjectgetName in class Averagablepublic java.lang.String getDescription()
PerformanceCriterionPerformanceEvaluator operator.
getDescription in class PerformanceCriterionpublic void buildSingleAverage(Averagable performance)
AveragableAveragable.getMikroAverage() should return the
average of this and the given averagable. Hence, this method is used to build
the actual micro average value of two criteria. Please refer to
SimpleCriterion for a simple
implementation example.
buildSingleAverage in class Averagablepublic java.awt.Component getVisualizationComponent(IOContainer ioContainer)
getVisualizationComponent in interface ResultObjectgetVisualizationComponent in class Averagablepublic java.lang.String toString()
toString in interface ReadabletoString in class Averagablepublic void prepareRendering()
Renderable
prepareRendering in interface Renderablepublic void finishRendering()
Renderable
finishRendering in interface Renderablepublic int getRenderHeight(int preferredHeight)
Renderable
getRenderHeight in interface RenderablepreferredHeight - tells the renderable of the size it should deliver best
public int getRenderWidth(int preferredWidth)
Renderable
getRenderWidth in interface RenderablepreferredWidth - tells the renderable of the size it should deliver best
public void render(java.awt.Graphics graphics,
int width,
int height)
Renderable
render in interface Renderablegraphics - the graphics to render onto
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||