Skip to content

Commit 64e52d1

Browse files
authored
Correct errors in multilayer_perceptron_classifier_from_scratch.py
1 parent eccf386 commit 64e52d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎machine_learning/multilayer_perceptron_classifier_from_scratch.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, features: list[list[float]], labels: list[int]) -> None:
4242

4343
def get_train_test_data(
4444
self,
45-
) -> tuple[np.ndarray, np.ndarray, list[np.ndarray], list[np.ndarray]]:
45+
) -> tuple[np.ndarray, list[np.ndarray], np.ndarray, list[np.ndarray]]:
4646
"""
4747
Splits the data into training and testing sets.
4848
Here, we manually split the data.

0 commit comments

Comments
 (0)