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] get_fitted_params for nested sklearn components #3645

Merged
merged 7 commits into from
Oct 30, 2022

Conversation

fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Oct 24, 2022

This PR adds compatibility of the get_fitted_params interface point for sklearn components.

So far, this did not work, since sklearn components did not inherit from BaseObject and did not have the get_fitted_params interface.

This is solved by applying the method externally instead of relying it to be attached to the object if it inherits from the sklearn BaseEstimator.

@fkiraly fkiraly added enhancement Adding new functionality module:base-framework BaseObject, registry, base framework labels Oct 24, 2022
@fkiraly fkiraly changed the title [ENH] get_fitted_params for sklearn components [ENH] get_fitted_params for nested sklearn components Oct 24, 2022
@fkiraly fkiraly merged commit 5ae47df into main Oct 30, 2022
@fkiraly fkiraly deleted the getfittedparams-sklearn-components branch October 30, 2022 18:04
fkiraly added a commit that referenced this pull request Nov 3, 2022
…test parameters (#3632)

This PR further isolates `statsmodels` by replacing some `statsmodels` dependent estimators in test parameter settings by `sktime` native ones.

Relies on:
* #3639 which serves as a mock to isolate `statsmodels` from test cases that require parameter estimators.
* #3645 which is used to isolate `statsmodels` in the `FittedParamExtractor`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding new functionality module:base-framework BaseObject, registry, base framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant