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