Skip to content

Commit 0856062

Browse files
authored
MAINT Remove a redundant line in multilayer perceptron (scikit-learn#27497)
1 parent bafd46d commit 0856062

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)