Skip to content

[ENH] Improve verbose for HC2#3382

Open
TonyBagnall wants to merge 5 commits intomainfrom
ajb/verbose
Open

[ENH] Improve verbose for HC2#3382
TonyBagnall wants to merge 5 commits intomainfrom
ajb/verbose

Conversation

@TonyBagnall
Copy link
Copy Markdown
Contributor

@TonyBagnall TonyBagnall commented Apr 10, 2026

Reference Issues/PRs

Part of #2815

What does this implement/fix? Explain your changes.

This PR is primarily to add better verbose print information to HC2, and its components. Decided to not go fully logging as yet.

Changes

  1. Added a log function, with levels we can use later
  2. Added a _fit_component method to tidy it up

To do:
make alpha weight a parameter
put initialisation in a function
store a local copy of parameters if passed in init

level 1 verbose

image

level 2 will print out classifier

@TonyBagnall TonyBagnall added the classification Classification package label Apr 10, 2026
@aeon-actions-bot aeon-actions-bot bot added the enhancement New feature, improvement request or other non-bug code enhancement label Apr 10, 2026
@aeon-actions-bot
Copy link
Copy Markdown
Contributor

Thank you for contributing to aeon

I have added the following labels to this PR based on the title: [ enhancement ].
I would have added the following labels to this PR based on the changes made: [ classification ], however some package labels are already present.

The Checks tab will show the status of our automated tests. You can click on individual test runs in the tab or "Details" in the panel below to see more information if there is a failure.

If our pre-commit code quality check fails, any trivial fixes will automatically be pushed to your PR unless it is a draft.

Don't hesitate to ask questions on the aeon Discord channel if you have any.

PR CI actions

These checkboxes will add labels to enable/disable CI functionality for this PR. This may not take effect immediately, and a new commit may be required to run the new configuration.

  • Run pre-commit checks for all files
  • Run mypy typecheck tests
  • Run all pytest tests and configurations
  • Run all notebook example tests
  • Run numba-disabled codecov tests
  • Stop automatic pre-commit fixes (always disabled for drafts)
  • Disable numba cache loading
  • Regenerate expected results for testing
  • Push an empty commit to re-run CI checks

@TonyBagnall TonyBagnall changed the title [ENH] Enhance HC2: improve verbose, add a parameter for alpha weights [ENH] Improve verbose for HC2 Apr 10, 2026
@TonyBagnall TonyBagnall marked this pull request as ready for review April 10, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

classification Classification package enhancement New feature, improvement request or other non-bug code enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant