Open RajKulk16 opened 1 year ago
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.
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.