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

Refactor sub modules #78

Merged
merged 22 commits into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add typing to __all__ and __authors__
  • Loading branch information
RNKuhns committed Nov 30, 2022
commit e04331ab09dc819afdbbe821cbb5f0d2b891df63
8 changes: 4 additions & 4 deletions skbase/base/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@ class name: BaseEstimator
fitted state flag - is_fitted (property)
fitted state check - check_is_fitted (raises error if not is_fitted)
"""

__author__ = ["mloning", "RNKuhns", "fkiraly"]
__all__ = ["BaseEstimator", "BaseObject"]

import inspect
import warnings
from collections import defaultdict
from copy import deepcopy
from typing import List

from sklearn import clone
from sklearn.base import BaseEstimator as _BaseEstimator

from skbase._exceptions import NotFittedError

__author__: List[str] = ["mloning", "RNKuhns", "fkiraly"]
__all__: List[str] = ["BaseEstimator", "BaseObject"]


class BaseObject(_BaseEstimator):
"""Base class for parametric objects with sktime style tag interface.
Expand Down
4 changes: 2 additions & 2 deletions skbase/lookup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# https://github.com/sktime/sktime/blob/main/LICENSE
from typing import List

from skbase.lookup._lookup import all_objects, get_package_metadata

__all__: List[str] = ["all_objects", "get_package_metadata"]
__author__: List[str] = [
"fkiraly",
Expand All @@ -27,5 +29,3 @@
"xloem",
"rnkuhns",
]

from skbase.lookup._lookup import all_objects, get_package_metadata