Skip to content

Commit 8d63f1b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 26e5871 commit 8d63f1b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

machine_learning/dimensionality_reduction.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,7 @@ def test_principal_component_analysis() -> None:
417417
"""Test function for Principal Component Analysis."""
418418
features = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
419419
dimensions = 2
420-
expected_output = np.array(
421-
[[6.92820323, 8.66025404, 10.39230485], [3.0, 3.0, 3.0]]
422-
)
420+
expected_output = np.array([[6.92820323, 8.66025404, 10.39230485], [3.0, 3.0, 3.0]])
423421

424422
output = principal_component_analysis(features, dimensions)
425423
if not np.allclose(expected_output, output):

0 commit comments

Comments
 (0)