Skip to content

[ENH] New experimental module: imbalance in collection transformers #2498

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

Merged
merged 29 commits into from
Jul 29, 2025

Conversation

TonyBagnall
Copy link
Contributor

@TonyBagnall TonyBagnall commented Jan 14, 2025

ongoing, part of #2412

  1. Ports in SMOTE/ADASYN and makes them collection transformers.
  2. Test of equivalence to imblearn

@TonyBagnall TonyBagnall added the transformations Transformations package label Jan 14, 2025
@aeon-actions-bot aeon-actions-bot bot added the enhancement New feature, improvement request or other non-bug code enhancement label Jan 14, 2025
@aeon-actions-bot
Copy link
Contributor

Thank you for contributing to aeon

I have added the following labels to this PR based on the title: [ $\color{#FEF1BE}{\textsf{enhancement}}$ ].
I would have added the following labels to this PR based on the changes made: [ $\color{#41A8F6}{\textsf{transformations}}$ ], 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 Slack 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
  • Push an empty commit to re-run CI checks

LinGinQiu and others added 6 commits January 23, 2025 15:00
…ion transformers (#2501)

* smote & adasyn in aeon.transformation.imbalance

* smote & adasyn in aeon.transformation.imbalance

* smote & adasyn in aeon.transformation.imbalance

* smote & adasyn in aeon.transformation.imbalance
@TonyBagnall TonyBagnall changed the title [ENH] first draft of the imbalance module in collection transformers [ENH] New exeimbalance module in collection transformers Jan 24, 2025
@TonyBagnall TonyBagnall changed the title [ENH] New exeimbalance module in collection transformers [ENH] New experimental module: imbalance in collection transformers Jan 24, 2025
@TonyBagnall TonyBagnall marked this pull request as ready for review February 3, 2025 17:25
@TonyBagnall TonyBagnall merged commit 128bd2c into main Jul 29, 2025
19 checks passed
@TonyBagnall TonyBagnall deleted the imbalance branch July 29, 2025 12:04
chrisholder pushed a commit that referenced this pull request Jul 30, 2025
…2498)

* first draft

* [ENH] wrapper for smote and adasyn of the imbalance module in collection transformers (#2501)

* smote & adasyn in aeon.transformation.imbalance

* smote & adasyn in aeon.transformation.imbalance

* smote & adasyn in aeon.transformation.imbalance

* smote & adasyn in aeon.transformation.imbalance

* make experimental

* inherit from SMOTE

* test equivalence to imblearn

* move tests

* format

* import

* add test parameters

* Ported OHIT (#2573)

* Automatic `pre-commit` fixes

* docstrings

* remove import

* remove incorrect test parameters

* docstrings

* examples

* examples

* refactor variable name

* format comments and reference

* typos

---------

Co-authored-by: Chuanhang Qiu <80885865+LinGinQiu@users.noreply.github.com>
Co-authored-by: MatthewMiddlehurst <25731235+MatthewMiddlehurst@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, improvement request or other non-bug code enhancement transformations Transformations package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants