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

Inherit from BaseEstimator #14

Merged
merged 12 commits into from
Sep 16, 2024
Merged

Inherit from BaseEstimator #14

merged 12 commits into from
Sep 16, 2024

Conversation

Tveten
Copy link
Collaborator

@Tveten Tveten commented Sep 4, 2024

It is leaner than BaseTransformer, and more flexible and stable.
Use inner type DataFrame such that .index and .column always exists, despite input being Series or ndarray
Not needed for detectors really. And predict and transform do the same thing, but differs in output format, so transform should have the same signature as predict
sktime 0.33 fixes sktime/sktime#7067. Allows BaseDetector to inherit from BaseEstimator
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.30%. Comparing base (6eb37b9) to head (1e01d21).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   96.28%   96.30%   +0.02%     
==========================================
  Files          34       34              
  Lines        1453     1462       +9     
==========================================
+ Hits         1399     1408       +9     
  Misses         54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

To improve test coverage.
@Tveten Tveten merged commit b6e51ee into main Sep 16, 2024
6 checks passed
@Tveten Tveten deleted the inherit_from_base_estimator branch September 16, 2024 13:16
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.

1 participant