Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model selection api rendering #571

Merged
merged 5 commits into from
Sep 20, 2023

Conversation

FBruzzesi
Copy link
Collaborator

@FBruzzesi FBruzzesi commented Jul 18, 2023

Description

The goal of this PR is to fix the "broken" rendering of some section of the model selection api documentation.
It addresses issue #568

Type of change

Documentation from docstrings

Additional remarks

Notice that all changes in the code, that are not docstrings, are due to pre-commit hooks (black formatting).

timegapsplit.ipynb
crossvalidation.ipynb
Copy link
Collaborator Author

@FBruzzesi FBruzzesi Jul 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While rendering I found that the page was no longer rendering due to the mismatch between the notebook name and the pointer in the docs index.

I took the liberty to change it in the index.

@@ -17,36 +17,42 @@ class TimeGapSplit:
"""
Provides train/test indices to split time series data samples.
This cross-validation object is a variation of TimeSeriesSplit with the following differences:

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall I tried to keep the consistent behaviour of not refering to self in the docstring

@FBruzzesi FBruzzesi marked this pull request as ready for review July 18, 2023 19:55
@MBrouns MBrouns merged commit 69a77d7 into koaning:main Sep 20, 2023
7 checks passed
@FBruzzesi FBruzzesi deleted the docs/issue-568-model-selection-api branch October 30, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants