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

Batch size not mentioned in Mini-Batch GD #9

Open
RajKulk16 opened this issue Apr 26, 2023 · 0 comments
Open

Batch size not mentioned in Mini-Batch GD #9

RajKulk16 opened this issue Apr 26, 2023 · 0 comments

Comments

@RajKulk16
Copy link

For Mini-batch GD, the coef_der = -2 * (value) according to the code.

** It should be coef_der = -2/self.batch_size * (value) **

n=1 in SGD and n = X_train.shape[1] in Batch. So, it should be n = self.batch_size in Mini-batch GD.

@RajKulk16 RajKulk16 changed the title Batch size not mention in Mini-Batch GD Batch size not mentioned in Mini-Batch GD Apr 26, 2023
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