- 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
推薦閱讀
- 大話PLC(輕松動漫版)
- 自制編譯器
- 工程軟件開發技術基礎
- C語言程序設計基礎與實驗指導
- ASP.NET Core Essentials
- Vue.js 3.x從入門到精通(視頻教學版)
- 實用防銹油配方與制備200例
- 從程序員到架構師:大數據量、緩存、高并發、微服務、多團隊協同等核心場景實戰
- Mastering OpenCV 4
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- Unity 2D Game Development Cookbook
- Spring Boot+Vue全棧開發實戰
- OpenMP核心技術指南
- 計算機應用基礎項目化教程
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)