-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Example] Label Propagation and Correct&Smooth #2852
Conversation
To trigger regression tests:
|
self.alpha = alpha | ||
|
||
@torch.no_grad() | ||
def forward(self, g, labels, mask=None, post_step=lambda y: y.clamp_(0., 1.)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A1 and A2 can be different. For example, for MLP, A1 is DAD, A2 is DA: https://github.com/CUAI/CorrectAndSmooth/blob/b910314a59270984f5e249462ee3faa815fc9a0c/run_experiments.py#L140
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Combining Label Propagation and Simple Models Out-performs Graph Neural Networks
Learning from Labeled and Unlabeled Data with Label Propagation
@mufeili
Checklist
Please feel free to remove inapplicable items for your PR.
or have been fixed to be compatible with this change
Changes