private static class CalcQualityMeasures.PrecisionCalc extends MTBOperator
Modifier and Type | Field and Description |
---|---|
private Integer |
fp
False negatives.
|
private Double |
precision
Precision value.
|
private Integer |
tp
True positives.
|
Modifier | Constructor and Description |
---|---|
protected |
PrecisionCalc()
Default constructor.
|
protected |
PrecisionCalc(Integer TP,
Integer FP)
Constructor with inputs.
|
Modifier and Type | Method and Description |
---|---|
protected Double |
getPrecision()
Returns calculated precision.
|
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="falsePositives", required=true, direction=IN, description="False positive count.") private Integer fp
@Parameter(label="precisionValue", required=true, direction=OUT, description="Calculated precision value.") private Double precision
protected PrecisionCalc() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.protected PrecisionCalc(Integer TP, Integer FP) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
TP
- True positive count.FP
- False positive 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 getPrecision()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.