logisticFunc function

double logisticFunc(
  1. double x
)

Implementation

double logisticFunc(double x) {
  return 1 / (1 + math.exp(-x));
}