Skip to content

Comments

[ENH] Add exclude_diagonal kwarg to IntraGroupSimilarityLoss#6

Merged
ulupo merged 1 commit intoBitbol-Lab:mainfrom
ulupo:add_exclude_diagonal_kwarg_IntraGroupSimilarityLoss
May 14, 2024
Merged

[ENH] Add exclude_diagonal kwarg to IntraGroupSimilarityLoss#6
ulupo merged 1 commit intoBitbol-Lab:mainfrom
ulupo:add_exclude_diagonal_kwarg_IntraGroupSimilarityLoss

Conversation

@ulupo
Copy link
Collaborator

@ulupo ulupo commented May 14, 2024

Fixes #5

  • Add exclude_diagonal kwarg to the constructor and default it to True to keep compatibility.
  • Improve docstrings for IntraGroupSimilarityLoss and InterGroupSimilarityLoss

- Add `exclude_diagonal` kwarg to the constructor and default it to `True` to keep compatibility.
- Improve docstrings for IntraGroupSimilarityLoss and InterGroupSimilarityLoss
@ulupo ulupo changed the title Fix #5 [ENH] Add `exclude_diagonal kwarg to IntraGroupSimilarityLoss May 14, 2024
@ulupo ulupo changed the title [ENH] Add `exclude_diagonal kwarg to IntraGroupSimilarityLoss [ENH] Add exclude_diagonal kwarg to IntraGroupSimilarityLoss May 14, 2024
@ulupo ulupo merged commit 6170564 into Bitbol-Lab:main May 14, 2024
@ulupo ulupo deleted the add_exclude_diagonal_kwarg_IntraGroupSimilarityLoss branch May 14, 2024 10:33
@ulupo ulupo added this to the 0.1.1 milestone May 15, 2024
@ulupo ulupo added the enhancement New feature or request label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH] Add possibility to include diagonals in IntraGroupSimilarityLoss computations

1 participant