逻辑回归用sigmoid
时间: 2023-10-27 19:25:37 浏览: 75
逻辑回归使用sigmoid函数的目的是将自变量的值映射到(0,1)的范围内,这个值可以被解释为属于某一类别的概率。sigmoid函数是一个连续、单调递增并且关于(0,0.5)中心对称的函数,这些性质使得它非常适合用于逻辑回归中。通过对sigmoid函数求导,可以得到关于自变量的梯度,进而可以用梯度下降等优化算法来估计逻辑回归模型的参数。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [机器学习-逻辑回归分析(Python)](https://download.csdn.net/download/weixin_38637272/15439025)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [逻辑回归为什么用sigmoid函数](https://blog.csdn.net/weixin_30609331/article/details/98459082)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [LR(逻辑回归) 为什么使用sigmoid函数](https://blog.csdn.net/qq_26598445/article/details/81291954)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文