google / google/jaxopt

Add binary_sparsemax_loss and projection_unit_cube

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.