ageron / ageron/handson-ml

chapter 4: SGDRegressor(tol=-np.infty) is not accepted by the module

未關閉
#684 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
25.6k
分支
12.7k
PR 合併指標
PR 指標待擷取

描述

hi Aurelien,
i've read the code of In[46], chapter4, but when i copied the code to jupyter and then it turned out to be an error like:
"InvalidParameterError: The 'tol' parameter of SGDRegressor must be a float in the range [0.0, inf) or None. Got -inf instead.
"
i've already knew the SGDRegressor has a default value of 1e-03, but would you like to explain the error and what's your purpose of -np.infty?
thank you very much for your patience.
Francisco

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。