- 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
推薦閱讀
- VMware View Security Essentials
- TypeScript Blueprints
- C語言程序設計案例教程(第2版)
- Practical UX Design
- Mastering Entity Framework
- 三維圖形化C++趣味編程
- Java面向對象程序開發及實戰
- Learning ArcGIS Pro
- Java EE 7 Development with NetBeans 8
- Android Native Development Kit Cookbook
- 西門子S7-200 SMART PLC編程從入門到實踐
- Visualforce Developer’s guide
- Java程序員面試筆試寶典(第2版)
- Kotlin開發教程(全2冊)
- 零代碼實戰:企業級應用搭建與案例詳解