![](/img/trans.png)
[英]LogisticRegression: Unknown label type: 'continuous' using sklearn in python
[英]alpha in sklearn LogisticRegression python
sklearn LogisticRegression中帶有l1罰分的默認alpha是多少?
lmMod = LogisticRegression(penalty='l1')
根據文檔 ,
用於正則化的參數是調用輸入中的參數C
我代表正則化強度的倒數。 預設值等於1。
C:浮點型,默認值:1.0正則強度的倒數; 必須為正浮點數。 像在支持向量機中一樣,較小的值指定更強的正則化。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.