Add binary_sparsemax_loss and projection_unit_cube
Open
enhancement
good first issue
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 76
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
We should add `binary_sparsemax_loss`, the binary classification counterpart of `multiclass_sparsemax_loss`, see section 4.4 of https://arxiv.org/abs/1901.02324. This loss is also known modified Huber loss. The associated mapping is the projection on the unit cube so let's add `projection_unit_cube`, which is easy to implement using `projection_box`. Once done, they need to be added to the documentation.
Contributor guide
Assessment
This issue has not been assessed yet.