Skip to content

DOC Fix typos #31207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sklearn/manifold/tests/test_mds.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_smacof():


def test_nonmetric_lower_normalized_stress():
# Testing that nonmetric MDS results in lower normalized stess compared
# Testing that nonmetric MDS results in lower normalized stress compared
# compared to metric MDS (non-regression test for issue 27028)
sim = np.array([[0, 5, 3, 4], [5, 0, 2, 2], [3, 2, 0, 1], [4, 2, 1, 0]])
Z = np.array([[-0.266, -0.539], [0.451, 0.252], [0.016, -0.238], [-0.200, 0.524]])
Expand Down
2 changes: 1 addition & 1 deletion sklearn/neural_network/tests/test_mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ def test_mlp_vs_poisson_glm_equivalent(global_random_seed):
assert_allclose(mlp.predict(X), glm.predict(X), rtol=1e-4)

# The same does not work with the squared error because the output activation is
# the idendity instead of the exponential.
# the identity instead of the exponential.
mlp = MLPRegressor(
loss="squared_error",
hidden_layer_sizes=(1,),
Expand Down