SherylHYX / pytorch_geometric_signed_directed

PyTorch Geometric Signed Directed is a signed/directed graph neural network extension library for PyTorch Geometric. The paper is accepted by LoG 2023.
https://pytorch-geometric-signed-directed.readthedocs.io/en/latest/
MIT License
117 stars 16 forks source link

Extract SDGNN and SiGAT Loss Function #44

Closed huangjunjie-cs closed 1 year ago

huangjunjie-cs commented 1 year ago
  1. Extract SDGNN and SiGAT Loss Function
  2. Remove mini batch
codecov[bot] commented 1 year ago

Codecov Report

Base: 99.49% // Head: 99.43% // Decreases project coverage by -0.05% :warning:

Coverage data is based on head (cc60821) compared to base (54e0f06). Patch coverage: 99.03% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #44 +/- ## ========================================== - Coverage 99.49% 99.43% -0.06% ========================================== Files 76 76 Lines 3740 3743 +3 ========================================== + Hits 3721 3722 +1 - Misses 19 21 +2 ``` | [Impacted Files](https://codecov.io/gh/SherylHYX/pytorch_geometric_signed_directed/pull/44?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He) | Coverage Δ | | |---|---|---| | [...ch\_geometric\_signed\_directed/nn/signed/SGCNConv.py](https://codecov.io/gh/SherylHYX/pytorch_geometric_signed_directed/pull/44/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He#diff-dG9yY2hfZ2VvbWV0cmljX3NpZ25lZF9kaXJlY3RlZC9ubi9zaWduZWQvU0dDTkNvbnYucHk=) | `98.14% <ø> (-1.86%)` | :arrow_down: | | [torch\_geometric\_signed\_directed/nn/signed/SiGAT.py](https://codecov.io/gh/SherylHYX/pytorch_geometric_signed_directed/pull/44/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He#diff-dG9yY2hfZ2VvbWV0cmljX3NpZ25lZF9kaXJlY3RlZC9ubi9zaWduZWQvU2lHQVQucHk=) | `99.16% <92.30%> (-0.84%)` | :arrow_down: | | [torch\_geometric\_signed\_directed/nn/signed/SDGNN.py](https://codecov.io/gh/SherylHYX/pytorch_geometric_signed_directed/pull/44/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He#diff-dG9yY2hfZ2VvbWV0cmljX3NpZ25lZF9kaXJlY3RlZC9ubi9zaWduZWQvU0RHTk4ucHk=) | `100.00% <100.00%> (ø)` | | | [...geometric\_signed\_directed/utils/signed/\_\_init\_\_.py](https://codecov.io/gh/SherylHYX/pytorch_geometric_signed_directed/pull/44/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He#diff-dG9yY2hfZ2VvbWV0cmljX3NpZ25lZF9kaXJlY3RlZC91dGlscy9zaWduZWQvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [...ric\_signed\_directed/utils/signed/link\_sign\_loss.py](https://codecov.io/gh/SherylHYX/pytorch_geometric_signed_directed/pull/44/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He#diff-dG9yY2hfZ2VvbWV0cmljX3NpZ25lZF9kaXJlY3RlZC91dGlscy9zaWduZWQvbGlua19zaWduX2xvc3MucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Yixuan+He)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.