ageron / ageron/handson-ml

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

Aberta
#684 1 comentário 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Jupyter Notebook
Estrelas
25.6k
Forks
12.7k
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.