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

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
主站蜘蛛池模板: 合肥市| 永胜县| 孟州市| 诏安县| 长岭县| 安平县| 丹寨县| 安远县| 女性| 荥经县| 九台市| 永兴县| 曲麻莱县| 淅川县| 连南| 深圳市| 巩留县| 兴城市| 普安县| 伊通| 都安| 西青区| 鞍山市| 彭泽县| 枣阳市| 禹城市| 石渠县| 巧家县| 泗水县| 渑池县| 舞钢市| 宁国市| 沛县| 平阳县| 邯郸县| 泽普县| 吉隆县| 宜宾县| 南漳县| 和平区| 日照市|