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

About the monotonicity of the predict layer in the coral network #30

Open
Tony-958 opened this issue Dec 13, 2020 · 2 comments
Open

About the monotonicity of the predict layer in the coral network #30

Tony-958 opened this issue Dec 13, 2020 · 2 comments

Comments

@Tony-958
Copy link

Hi,
Sorry to bother. I had a problem when understanding the monotonicity of the coral network's predict layer. Here's the only statement I found modifying the bias layer adding to the fc result:
self.linear_1_bias = nn.Parameter(torch.zeros(self.num_classes-1).float())
Is it enough to restrict the monotonicity ? Or is there any other statement restricting the monotonicity of the biases?

@rasbt
Copy link
Member

rasbt commented Dec 14, 2020

I would call it "guaranteeing" monotonicity :). Yeah, it's the bias and the weight sharing together with the loss function. Regarding the changes compared to a regular network, maybe this overview helps? https://github.com/Raschka-research-group/coral-cnn/blob/master/github-images/differences-at-a-glance.pdf

@Tony-958
Copy link
Author

Yeah, that helps. Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants