From e627f2d3b4c498841c3891d0c43b24e542491220 Mon Sep 17 00:00:00 2001 From: Heitor Murilo Gomes Date: Fri, 24 May 2024 17:04:06 +1200 Subject: [PATCH] fix: corrected docstring for stream_from_file --- src/capymoa/stream/_stream.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/capymoa/stream/_stream.py b/src/capymoa/stream/_stream.py index 3511b6e1..c5353284 100644 --- a/src/capymoa/stream/_stream.py +++ b/src/capymoa/stream/_stream.py @@ -413,9 +413,6 @@ def restart(self): self.current_instance_index = 0 -# TODO (20/10/2023): Add logic to interpret nominal values (strings) in the class label. -# TODO: implement class_index logic when reading from a CSV. -# TODO: path_to_csv_or_arff should be a positional argument because it is required. def stream_from_file( path_to_csv_or_arff: str, dataset_name: str = "NoName", @@ -438,7 +435,7 @@ def stream_from_file( :param path_to_csv_or_arff: A file path to a CSV or ARFF file. :param dataset_name: A descriptive name given to the dataset, defaults to "NoName" - ::param class_index: The index of the column containing the class label. By default, the algorithm assumes that the + :param class_index: The index of the column containing the class label. By default, the algorithm assumes that the class label is located in the column specified by this index. However, if the class label is located in a different column, you can specify its index using this parameter. :param target_type: When working with a CSV file, this parameter