From 5f2e17ce57c64d38df928b1c49c063debd81a212 Mon Sep 17 00:00:00 2001 From: Francesco Bruzzesi <42817048+FBruzzesi@users.noreply.github.com> Date: Thu, 7 Sep 2023 22:59:08 +0200 Subject: [PATCH] fixing typos (#22) * fixing typos --- docs/contribute.md | 3 +-- timebasedcv/timebasedsplit.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/contribute.md b/docs/contribute.md index c534792..697f433 100644 --- a/docs/contribute.md +++ b/docs/contribute.md @@ -36,8 +36,7 @@ isort --profile black -l 90 timebasedcv tests black --target-version py38 --line-length 90 timebasedcv tests ``` - -As part of the checks on pull requests, it is checked whether the code follows those standards. To ensure that the standard is met, it is recommanded to install [pre-commit hooks](https://pre-commit.com/): +As part of the checks on pull requests, it is checked whether the code follows those standards. To ensure that the standard is met, it is recommended to install [pre-commit hooks](https://pre-commit.com/): ```bash python -m pip install pre-commit diff --git a/timebasedcv/timebasedsplit.py b/timebasedcv/timebasedsplit.py index 3f9e3de..e99a50a 100644 --- a/timebasedcv/timebasedsplit.py +++ b/timebasedcv/timebasedsplit.py @@ -256,7 +256,7 @@ def split(self: Self, *args: PS.args, **kwargs: PS.kwargs): class TimeBasedSplit(_CoreTimeBasedSplit): """ - Class that generates splits based on time values, indepedently from the number of + Class that generates splits based on time values, independently from the number of samples in each split. Arguments: @@ -517,7 +517,7 @@ def __init__( class TimeBasedCVSplitter(TimeBasedSplit): """ The TimeBasedCVSplitter class conforms with scikit-learn CV Splitters API - and generates splits based on time values, indepedently from the number + and generates splits based on time values, independently from the number of samples in each split. In order to achive such behaviour we include the arguments of