public class Range extends FeatureHistogramStatistic
The range (difference in values) between two quantiles
Author:
Owen Feehan
  • Constructor Details

    • Range

      public Range()
  • Method Details

    • calculateStatisticFrom

      protected double calculateStatisticFrom(Histogram histogram) throws FeatureCalculationException
      Description copied from class: FeatureHistogramStatistic
      Calculates the statistic from the histogram, that is subsequently returned as the feature-value.
      Specified by:
      calculateStatisticFrom in class FeatureHistogramStatistic
      Parameters:
      histogram - the histogram to calculate the statistic from.
      Returns:
      the calculated statistic.
      Throws:
      FeatureCalculationException - if the calculation cannot succeed.
    • getQuantileLow

      public double getQuantileLow()
    • setQuantileLow

      public void setQuantileLow(double quantileLow)
    • getQuantileHigh

      public double getQuantileHigh()
    • setQuantileHigh

      public void setQuantileHigh(double quantileHigh)