-
Notifications
You must be signed in to change notification settings - Fork 208
[Doc] A fix to inconsistent ticks in Base module #2734
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
base: main
Are you sure you want to change the base?
[Doc] A fix to inconsistent ticks in Base module #2734
Conversation
This reverts commit 56704c2.
Thank you for contributing to
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the docs so make sure your changes render correctly. There are quite a few with only one `, which may not be as you intended.
aeon/base/_base.py
Outdated
- reset estimator to post-init - ``reset(keep)`` | ||
- clone stimator (copy) - ``clone(random_state)`` | ||
- inspect tags (class method) - ``get_class_tags()`` | ||
- inspect tags (one tag, class) - ``get_class_tag(tag_name, tag_value_default | ||
, raise_error)`` | ||
- inspect tags (all) - ``get_tags()`` | ||
- inspect tags (one tag) - ``get_tag(tag_name, tag_value_default | ||
, raise_error)`` | ||
- setting dynamic tags - ``set_tags(**tag_dict)`` | ||
- get fitted parameters - ``get_fitted_params(deep)`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the previous indentation please
aeon/base/_base.py
Outdated
@@ -17,23 +17,24 @@ | |||
|
|||
class BaseAeonEstimator(BaseEstimator, ABC): | |||
""" | |||
Base class for defining estimators in aeon. | |||
Base class for defining estimators in ``aeon``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious, do other packages i.e. scikit-learn do this for their package name?
aeon/base/_base.py
Outdated
|
||
All estimators have the attribute: | ||
|
||
- fitted state flag - is_fitted | ||
- fitted state flag - `is_fitted` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not code style?
aeon/base/_base.py
Outdated
@@ -433,13 +436,13 @@ def __sklearn_tags__(self): | |||
return sklearn_tags | |||
|
|||
def _validate_data(self, **kwargs): | |||
"""Sklearn data validation.""" | |||
"""``Sklearn`` data validation.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sklearn
if this is codestyle
This reverts commit d4f98bd644c17b49fee6d7388d2ac63d1ab59a5e.
Reference Issues/PRs
Fixes #809
What does this implement/fix? Explain your changes.
This PR fixes the inconsistent use of double tick quotes in docstring #809 In the base module i fixed all the misusage of tick quotes.
Does your contribution introduce a new dependency? If yes, which one?
No
Any other comments?
No
PR checklist
For all contributions
For new estimators and functions
__maintainer__
at the top of relevant files and want to be contacted regarding its maintenance. Unmaintained files may be removed. This is for the full file, and you should not add yourself if you are just making minor changes or do not want to help maintain its contents.For developers with write access