Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 36b4c99

Browse filesBrowse files
CI Stablize build with random_state (#25701)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
1 parent 34fd458 commit 36b4c99
Copy full SHA for 36b4c99

File tree

1 file changed

+6
-1
lines changed
Filter options

1 file changed

+6
-1
lines changed

‎sklearn/neural_network/tests/test_mlp.py

Copy file name to clipboardExpand all lines: sklearn/neural_network/tests/test_mlp.py
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,12 @@ def test_mlp_warm_start_no_convergence(MLPEstimator, solver):
937937
https://github.com/scikit-learn/scikit-learn/issues/24764
938938
"""
939939
model = MLPEstimator(
940-
solver=solver, warm_start=True, early_stopping=False, max_iter=10
940+
solver=solver,
941+
warm_start=True,
942+
early_stopping=False,
943+
max_iter=10,
944+
n_iter_no_change=np.inf,
945+
random_state=0,
941946
)
942947

943948
with pytest.warns(ConvergenceWarning):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.