sigmod函数

#include <cmath> //math.h
double sigmod(double x) {
    return 1/(1+exp(-x));
}
posted @ 2019-04-22 11:25  JohnRed  阅读(234)  评论(0编辑  收藏  举报