es6-fuzz - v7.0.1
    Preparing search index...

    Class representing a Sigmoid.

    // long slope
    sigmoid = new Sigmoid(0, 100000);
    sigmoid2.fuzzify(10);

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Create a Sigmoid Function.

      Parameters

      • center: number = 0

        The center point of the sigmoid curve (where it outputs 0.5)

      • slope: number = 1

        Width of the transition: it appears in the denominator as 1 / (1 + exp(-(x - center) / slope)), so a smaller slope means a steeper transition and a larger slope a gentler one.

      Returns Sigmoid

    Methods