Skip to content

Commit f2d3293

Browse files
committed
Fixed doctest for PCA
1 parent 38a4019 commit f2d3293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: machine_learning/dimensionality_reduction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def principal_component_analysis(features: np.ndarray, dimensions: int) -> np.nd
102102
>>> dimensions = 2
103103
>>> principal_component_analysis(features, dimensions)
104104
array([[ 6.92820323, 8.66025404, 10.39230485],
105-
[ 3. , 3. , 3. ]])
105+
[-2.99984328, -2.99984328, -2.99984328]])
106106
"""
107107

108108
# Check if the features have been loaded

0 commit comments

Comments
 (0)