官术网_书友最值得收藏!

  • R Deep Learning Cookbook
  • Dr. PKS Prakash Achyutuni Sri Krishna Rao
  • 133字
  • 2021-07-02 20:49:10

How to do it...

Logistic regression serves as a building block for complex neural network models using sigmoid as an activation function. The logistic function (or sigmoid) can be represented as follows:

The preceding sigmoid function forms a continuous curve with a value bound between [0, 1], as illustrated in the following screenshot:

Sigmoid functional form

The formulation of a logistic regression model can be written as follows:

Here, W is the weight associated with features X= [x1, x2, ..., xm] and b is the model intercept, also known as the model bias. The whole objective is to optimize W for a given loss function such as cross entropy. Another view of the logistic regression model to attain Pr(y=1|X) is shown in the following figure:

Logistic regression architecture with the sigmoid activation function
主站蜘蛛池模板: 内丘县| 屯门区| 邢台县| 庆元县| 原平市| 洛浦县| 浏阳市| 玛纳斯县| 绵竹市| 满洲里市| 平江县| 武安市| 闽清县| 土默特左旗| 沾益县| 长沙市| 通山县| 聂荣县| 保山市| 舞钢市| 讷河市| 磐石市| 镇江市| 德安县| 江阴市| 龙井市| 抚松县| 和田县| 永清县| 哈密市| 泰和县| 宽甸| 蒙自县| 红桥区| 凤翔县| 靖安县| 昂仁县| 太湖县| 玛多县| 横峰县| 开江县|