Skip to content

Releases: ayrna/dlordinal

v2.6.0

19 Dec 07:25
d200cce

Choose a tag to compare

December 2025

dlordinal v2.6.0 includes the following updates:


New Features

  • CORN loss function implementation by (JacksonBurns) in (#131)
    Introduced the CORN loss function.

  • SORD and SLACE loss functions by (victormvy) in (#144)
    Added SORD and SLACE loss functions.

Improvements & Maintenance

  • Python 3.14 support by (victormvy) in (#145)
    Updated the package configuration and CI pipelines to officially support Python 3.14, ensuring compatibility with the latest Python releases and future-proofing the codebase.

  • Improved deprecation handling for soft labelling losses
    Deprecated losses, such as BetaCrossEntropyLoss, now correctly raise a DeprecationWarning instead of a FutureWarning. Additionally, the test suite has been updated to suppress these warnings for cleaner output during CI.


New Contributors

Full Changelog: v2.5.0...v2.6.0

v2.5.0

19 Nov 08:55
4acddc9

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.4...v2.5.0

v2.4.4

24 Jul 08:30
a901c19

Choose a tag to compare

What's Changed

Full Changelog: v2.4.3...v2.4.4

v2.4.3

27 Jun 10:30
b57cfbd

Choose a tag to compare

What's Changed

Full Changelog: v2.4.2...v2.4.3

v2.4.2

23 Jun 16:15
0f0864d

Choose a tag to compare

What's Changed

Full Changelog: v2.4.1...v2.4.2

v2.4.1

07 Apr 11:20
81631a6

Choose a tag to compare

  • Added version consistency check script.
  • Fixed version string in __init__.py.

v2.4.0

07 Apr 07:38
22763e1

Choose a tag to compare

April 2025

dlordinal v2.4.0 includes the following updates:


Loss Functions

  • Implemented the CDWCE loss function.
  • Fixed an issue in WKLoss that prevented it from working when y_true was one-hot encoded.
  • Resolved a device inconsistency in the WKLoss.forward method.
  • Added squared Earth Mover’s Distance (EMD) loss.
  • Extended WKLoss to support both logits and probabilities (previously supported only probabilities).

Soft Labelling

  • Added examples for geometric soft labels.
  • Refactored soft labelling losses:
    These have been reimplemented to support arbitrary loss functions, not just CrossEntropyLoss. Additionally, they have been renamed for clarity:
    • BetaCrossEntropyLossBetaLoss
    • BinomialCrossEntropyLossBinomialLoss
    • CustomTargetsCrossEntropyLossCustomTargetsLoss
    • ExponentialCrossEntropyLossExponentialLoss
    • GeneralTriangularCrossEntropyLossGeneralTriangularLoss
    • PoissonCrossEntropyLossPoissonLoss
    • TriangularCrossEntropyLossTriangularLoss

⚠️ The original soft labelling loss classes are now deprecated and scheduled for removal in v3.0.0.


Maintenance

  • Added GPU-enabled versions of all test cases.

v2.3.2

31 Jan 09:21
db5ca05

Choose a tag to compare

What's Changed

Full Changelog: v2.3.1...v2.3.2

v2.3.1

27 Jan 16:49

Choose a tag to compare

What's Changed

  • [BUG] Added support for any number of classes in get_binomial_soft_labels() by @victormvy in #93

Full Changelog: https://github.com/ayrna/dlordinal/blob/main/CHANGELOG.md

v2.3.0

16 Jan 15:32

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.1...v2.3.0