private static class CalcQualityMeasures.RecallCalc extends MTBOperator
Modifier and Type | Field and Description |
---|---|
private Integer |
fn
False negatives.
|
private Double |
recall
Recall value.
|
private Integer |
tp
True positives.
|
Modifier | Constructor and Description |
---|---|
protected |
RecallCalc()
Default constructor.
|
protected |
RecallCalc(Integer TP,
Integer FN)
Constructor with inputs.
|
Modifier and Type | Method and Description |
---|---|
protected Double |
getRecall()
Returns calculated recall.
|
protected void |
operate() |
readResolve
addOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getDocumentation, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="truePositives", required=true, direction=IN, description="True positive count.") private Integer tp
@Parameter(label="falseNegatives", required=true, direction=IN, description="False negative count.") private Integer fn
@Parameter(label="recallValue", required=true, direction=OUT, description="Calculated recall value.") private Double recall
protected RecallCalc() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.protected RecallCalc(Integer TP, Integer FN) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
TP
- True positive count.FN
- False negative count.de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.protected void operate()
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
protected Double getRecall()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.