8000 MAINT Remove a redundant line in multilayer perceptron (#27497) · REDVM/scikit-learn@eea057c · GitHub
[go: up one dir, main page]

< 8000 a href="#start-of-content" data-skip-target-assigned="false" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content

Commit eea057c

Browse files
chkoarREDVM
authored andcommitted
MAINT Remove a redundant line in multilayer perceptron (scikit-learn#27497)
1 parent 7e1f97d commit eea057c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sklearn/neural_network/_multilayer_perceptron.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,6 @@ def _fit_stochastic(
701701
# restore best weights
702702
self.coefs_ = self._best_coefs
703703
self.intercepts_ = self._best_intercepts
704-
self.validation_scores_ = self.validation_scores_
705704

706705
def _update_no_improvement_count(self, early_stopping, X_val, y_val):
707706
if early_stopping:

0 commit comments

Comments
 (0)
0