public class RatioThreshold extends FeatureHistogramStatistic
Constructor and Description |
---|
RatioThreshold() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateStatisticFrom(Histogram histogram)
Calculates the statistic from the histogram, that is subsequently returned as the
feature-value.
|
String |
describeParameters()
A human-readable description of the parameterization of the bean.
|
RelationToThreshold |
getThreshold() |
void |
setThreshold(RelationToThreshold threshold) |
calculate, getValueIfEmpty, isExceptionIfEmpty, setExceptionIfEmpty, setValueIfEmpty
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
protected double calculateStatisticFrom(Histogram histogram) throws FeatureCalculationException
FeatureHistogramStatistic
calculateStatisticFrom
in class FeatureHistogramStatistic
histogram
- the histogram to calculate the statistic from.FeatureCalculationException
- if the calculation cannot succeed.public String describeParameters()
Feature
describeParameters
in class Feature<FeatureInputHistogram>
public RelationToThreshold getThreshold()
public void setThreshold(RelationToThreshold threshold)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.