-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add LinkGraph to replace ObjectLink and LinkCollection #252
Merged
CunliangGeng
merged 14 commits into
dev
from
replace_ObjectLink_and_LinkCollection_with_LinkGraph
Jun 10, 2024
Merged
Add LinkGraph to replace ObjectLink and LinkCollection #252
CunliangGeng
merged 14 commits into
dev
from
replace_ObjectLink_and_LinkCollection_with_LinkGraph
Jun 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jun 6, 2024
Merged
CunliangGeng
force-pushed
the
merge_DataLinks_to_ObjectLink
branch
from
June 6, 2024 07:16
7f9f439
to
9711915
Compare
CunliangGeng
force-pushed
the
replace_ObjectLink_and_LinkCollection_with_LinkGraph
branch
from
June 6, 2024 07:16
640d787
to
e8a3a3f
Compare
CunliangGeng
force-pushed
the
merge_DataLinks_to_ObjectLink
branch
from
June 6, 2024 07:21
9711915
to
8dade37
Compare
CunliangGeng
force-pushed
the
replace_ObjectLink_and_LinkCollection_with_LinkGraph
branch
from
June 6, 2024 07:21
e8a3a3f
to
9d5d264
Compare
CunliangGeng
force-pushed
the
merge_DataLinks_to_ObjectLink
branch
from
June 6, 2024 07:24
8dade37
to
6674ba0
Compare
CunliangGeng
force-pushed
the
replace_ObjectLink_and_LinkCollection_with_LinkGraph
branch
from
June 6, 2024 07:24
9d5d264
to
48fafc8
Compare
CunliangGeng
force-pushed
the
merge_DataLinks_to_ObjectLink
branch
from
June 6, 2024 13:49
6674ba0
to
063ecdc
Compare
CunliangGeng
force-pushed
the
replace_ObjectLink_and_LinkCollection_with_LinkGraph
branch
from
June 6, 2024 13:49
48fafc8
to
62ad2f8
Compare
gcroci2
approved these changes
Jun 7, 2024
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.
Very nice additions :D
This was referenced Jun 7, 2024
Merge activity
|
CunliangGeng
force-pushed
the
merge_DataLinks_to_ObjectLink
branch
from
June 10, 2024 07:25
063ecdc
to
230162e
Compare
- Use LinkGraph to replace ObjectLink and LinkCollection - remove attribute `cutoff` and `standardised`. Now users have to pass them as parameters
These updates are just to make sure code can import. Further refactoring is needed to ensure the correct output.
CunliangGeng
force-pushed
the
replace_ObjectLink_and_LinkCollection_with_LinkGraph
branch
from
June 10, 2024 07:28
62ad2f8
to
91b2510
Compare
CunliangGeng
deleted the
replace_ObjectLink_and_LinkCollection_with_LinkGraph
branch
June 10, 2024 07:29
This was referenced Jun 10, 2024
Merged
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
LinkGraph
class is a wrapper ofnetworkx.Graph
, which treats links as edges between objects or nodes (e.g. GCF, spectrum) while the scoring data of the links is treated as the attributes of the edges in the graph. This graph data structure can perfectly replace the legacy ObjectLink and LinkCollection classes.