Skip to content

Commit 5e60cf2

Browse files
Khansa435cclauss
andauthored
Update machine_learning/t_stochastic_neighbour_embedding.py
Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent 7e39675 commit 5e60cf2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

machine_learning/t_stochastic_neighbour_embedding.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ def collect_dataset() -> tuple[ndarray, ndarray]:
1212
Returns:
1313
tuple[ndarray, ndarray]: Feature matrix and target labels.
1414
15-
>>> features, targets = collect_dataset()
16-
>>> features.shape
17-
(150, 4)
18-
>>> targets.shape
19-
(150,)
15+
>>> features, targets = collect_dataset()
16+
>>> features.shape
17+
(150, 4)
18+
>>> targets.shape
19+
(150,)
2020
"""
2121
iris_dataset = load_iris()
2222
return np.array(iris_dataset.data), np.array(iris_dataset.target)

0 commit comments

Comments
 (0)