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

[ENH] Remove duplicate check estimator #1545

Merged
merged 4 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
172 changes: 0 additions & 172 deletions aeon/utils/estimator_checks.py

This file was deleted.

7 changes: 2 additions & 5 deletions aeon/utils/tests/test_check_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from aeon.testing.estimator_checks import check_estimator
from aeon.testing.mock_estimators import MockClassifier, MockSegmenter
from aeon.transformations.exponent import ExponentTransformer

EXAMPLE_CLASSES = [MockClassifier, MockSegmenter]

Expand Down Expand Up @@ -40,15 +39,13 @@ def test_check_estimator_subset_tests():
"test_set_params",
"test_clone",
"test_repr",
"test_capability_inverse_tag_is_correct",
"test_remember_data_tag_is_correct",
]
tests_to_exclude = ["test_repr", "test_remember_data_tag_is_correct"]
tests_to_exclude = ["test_repr", "test_clone"]

expected_tests = set(tests_to_run).difference(tests_to_exclude)

results = check_estimator(
ExponentTransformer,
MockClassifier,
verbose=False,
tests_to_run=tests_to_run,
tests_to_exclude=tests_to_exclude,
Expand Down