Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using distance or similarity metric for each prototype should be configurable #56

Open
gpitteri opened this issue Oct 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gpitteri
Copy link

In the current implementation the prototype layer of the network returns only the distances between each prototype and the latent space patches.
In the original ProtoPNet the distances are then modified into similarities. We can add this feature.

A configurable parameter set by the user will then decide if the network uses the distances or the similarities values.

@gpitteri gpitteri added the enhancement New feature or request label Oct 26, 2023
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

No branches or pull requests

1 participant