Interface Scaler


  • public interface Scaler
    Defines the mapping of an input value to the range 0..1.
    Since:
    22 Jan 2015
    Author:
    Mark Taylor
    • Method Detail

      • scaleValue

        double scaleValue​(double val)
        Scales an input value to the interval 0..1. NaN values stay NaN.
        Parameters:
        val - input data value
        Returns:
        value in range 0..1 (inclusive), or NaN for NaN input