Class StatFunctions

java.lang.Object
io.nosqlbench.scenarios.simframe.stabilization.StatFunctions

public class StatFunctions extends Object
  • Constructor Details

    • StatFunctions

      public StatFunctions()
  • Method Details

    • sigmoidE4HighPass

      public static double sigmoidE4HighPass(double input, double lowcut)
      A continuous sigmoid function which looks very close to a step function at the inflection points. This provides a navigable surface for optimizers while also acting like an all-or none filter. This function yields 0.0d or 1.0d over most of its domain, except between shelf-0.0025 and shelf, where it is a steep sigmoid. Specifically, at shelf, the value is 1.0; at shelf-0.0001, the value is 0.9999, dropping quickly on the lower side of shelf, leveling out at 0.0 at shelf-0.0025.
      Parameters:
      input - x
      lowcut - The point on the x axis at which all higher values should yield 1.0
    • sigmoidE4LowPass

      public static double sigmoidE4LowPass(double input, double highcut)
      Like sigmoidE4HighPass(double, double), but inverted with respect to the Y axis. This has the same roll-off charater where the high (1.0) shelf in included through the cutoff value.
      Parameters:
      input - x
      highcut - The point on the x axis at which all lower values should yield 1.0