Sigmoid function

import { sigmoid } from '@kitsuyui/mymath'
sigmoid(0) // => 0.5
  • Parameters

    • x: number

      input value to the function

    Returns number

    the output of the sigmoid function