Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6d3ae72

Browse files
committed
break earlier
1 parent efdee4c commit 6d3ae72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/neural_network/multilayer_perceptron.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def _fit_sgd(self, X, y, activations, deltas, coef_grads, intercept_grads,
473473
if (self.learning_rate == 'constant'
474474
and cost_increase_count >= 2):
475475
self.learning_rate_ /= 5
476-
if self.learning_rate_ <= 1e-8:
476+
if self.learning_rate_ <= 1e-6:
477477
if self.verbose:
478478
print("Training did not improve for 2"
479479
" consecutive epochs and learning"

0 commit comments

Comments
 (0)