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

  • 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
主站蜘蛛池模板: 长治市| 荔波县| 枝江市| 读书| 沾益县| 卫辉市| 囊谦县| 莒南县| 上杭县| 石棉县| 福贡县| 江达县| 报价| 安国市| 肇州县| 昌乐县| 永川市| 盐池县| 泸溪县| 潮州市| 密山市| 台南县| 民丰县| 临夏市| 北辰区| 永清县| 扬中市| 中超| 宜兰市| 焦作市| 和林格尔县| 溧阳市| 获嘉县| 周宁县| 邛崃市| 灵宝市| 西吉县| 军事| 彰化市| 绵竹市| 舟山市|