Skip to content

Commit

Permalink
[DOC] merge docstring of NotFittedError with sktime (#371)
Browse files Browse the repository at this point in the history
Merges docstring of `NotFittedError` with `sktime` docstring, in
preparation of refactor unification.
  • Loading branch information
fkiraly authored Oct 7, 2024
1 parent c71dfe8 commit 39c5b4f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions skbase/_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ def __init__(self, fixture_name="", err=None):
class NotFittedError(ValueError, AttributeError):
"""Exception class to raise if estimator is used before fitting.
This class inherits from both ValueError and AttributeError to help with
This class inherits from both ``ValueError`` and ``AttributeError`` to help with
exception handling.
References
----------
[1] scikit-learn's NotFittedError
[2] sktime's NotFittedError
.. [1] Based on scikit-learn's NotFittedError
"""

0 comments on commit 39c5b4f

Please sign in to comment.