Skip to content

Commit

Permalink
fixing typos (#22)
Browse files Browse the repository at this point in the history
* fixing typos
  • Loading branch information
FBruzzesi authored Sep 7, 2023
1 parent 7628f16 commit 5f2e17c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions timebasedcv/timebasedsplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5f2e17c

Please sign in to comment.