Here you can find the source of sigmod(double x)
public static double sigmod(double x)
//package com.java2s; //License from project: Apache License public class Main { public static double sigmod(double x) { return 1.0 / (1.0 + Math.exp(-x)); }/* w ww. java 2s .c om*/ }