Skip to content

Conversation

@fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Aug 24, 2025

Adds integration for another learning task in sktime - time series classification.

  • SktimeClassificationExperiment experiment
  • TSCOptCV TSC tuning algorithm that takes any hyperactive tuner

Since time series classification uses ordinary sklearn metrics, the experiments.integration contents are refactored, moving utilities concerned with sklearn metrics into a separate, private file _skl_metrics.

@fkiraly fkiraly added the enhancement New feature or request label Aug 24, 2025
@fkiraly fkiraly added this to the v5.0 milestone Aug 24, 2025
>>>
>>> y = load_airline()
>>>
>>> sktime_exp = SktimeForecastingExperiment(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the example so that it uses the classification.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, both the examples in the experiment, and the tuner

best_params = optimizer.solve()

self.best_params_ = best_params
self.best_forecaster_ = estimator.set_params(**best_params)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be the best_classifier_?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed it to best_estimator_, since we might want to use the code later for regression and clustering

Copy link
Collaborator

@SimonBlanke SimonBlanke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please answer the questions in the code.

@fkiraly fkiraly requested a review from SimonBlanke August 29, 2025 09:56
@fkiraly
Copy link
Collaborator Author

fkiraly commented Aug 29, 2025

should be fixed now!

@SimonBlanke SimonBlanke merged commit aa0c473 into hyperactive-project:main Aug 29, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants