Releases: wearepal/ranzen
New decorator for Enums
A new decorator was added (@enum_name_str
) which patches the __str__
and __repr__
functions to be prettier.
RandomMixUp factory methods
Converted factory class for RandomMixUp into class methods.
Cross-group mixup.
Added optional group_labels
argument to RandomMixUp._transform
, based on which mixup pairs are selected in a cross-group fashion.
Fixing past wrongs
Endow targets with default value of None in signatures of RandomMixup.__call__
and RandomMixup.transform
.
MixUp
Added implementation of MixUp that can handle different sampling distributions and inputs only.
Replaced mypy with pyright for type-checking and extended type-checking to kit.
v0.3.8
Added unified (capable of handling both binary and multinomial cases) cross-entropy loss module.
v0.3.7
Endowed batch-samplers with the ability to switch between epoch- and iteration-based sampling.
v0.3.6
- Updated prop_random_split to allow it to take single floats for
props
argument."
v0.3.5
- Make parsable importable from
kit
- Rename typing.py to decorators.py to better reflect its contents.