Class MetricRenderUtils


  • public class MetricRenderUtils
    extends java.lang.Object
    Util class for anything related to MetricsRenderer
    Author:
    Adam Gibson
    • Constructor Detail

      • MetricRenderUtils

        public MetricRenderUtils()
    • Method Detail

      • normalizeValue

        public static double normalizeValue​(double input,
                                            ColumnDistribution columnDistribution)
        De normalize the given input based on the ColumnDistribution
        Parameters:
        input - the input to de normalize
        columnDistribution - the column distribution to de normalized based on
        Returns:
        the de normalized value
      • deNormalizeValue

        public static double deNormalizeValue​(double input,
                                              ColumnDistribution columnDistribution)
        De normalize the given input based on the ColumnDistribution
        Parameters:
        input - the input to de normalize
        columnDistribution - the column distribution to de normalized based on
        Returns:
        the de normalized value