Skip to content

Commit 7ed93e2

Browse files
committed
Fixed doctest for PCA pt.2
1 parent f2d3293 commit 7ed93e2

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-
[-2.99984328, -2.99984328, -2.99984328]])
105+
[ 3. , 3. , 3. ]])
106106
"""
107107

108108
# Check if the features have been loaded

0 commit comments

Comments
 (0)