mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 13:13:41 +08:00
e995e6f2ed
- Adds a `map` method to `LabelArray` that maps a unary function over the categories of a LabelArray, shrinking the underyling codes if possible. - Adds a new `.relabel` method to string-dtype classifiers that maps a unary function over the unique elements of the underlying LabelArray. This is useful for things like cleaning noisy label data.