mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-06 01:57:50 +08:00
5b9d5fecfb
- 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.