lr_clf.coef_
时间: 2023-08-06 14:02:43 浏览: 102
coef.c
回答: lr_clf.coef_是用来查看逻辑回归模型的权重的。在这个例子中,逻辑回归模型拟合了一个二维数据集,所以权重是一个二维矩阵。具体的权重数值可以通过打印lr_clf.coef_来查看。
#### 引用[.reference_title]
- *1* *3* [机器学习算法(一): 基于逻辑回归的分类预测](https://blog.csdn.net/handsomeandge/article/details/111565397)[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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [机器学习算法(一):基于逻辑回归的分类预测](https://blog.csdn.net/qq_46235858/article/details/112993733)[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^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文