Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradient blows up in SGD #8

Open
stoltzmaniac opened this issue Mar 26, 2020 · 0 comments
Open

Gradient blows up in SGD #8

stoltzmaniac opened this issue Mar 26, 2020 · 0 comments
Assignees

Comments

@stoltzmaniac
Copy link
Owner

When data is not normalized in LinearRegression.fit_stochastic_gradient_descent()

https://github.com/stoltzmaniac/Basic-ML-OOP/blob/master/01-Regression/Linear-Regression/Part-02/models/regression.py

The gradient blows up. Not only will it not converge, it will overflow. However, when normalized or standardized, it works just fine...

@stoltzmaniac stoltzmaniac self-assigned this Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant