-
Notifications
You must be signed in to change notification settings - Fork 0
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
Changes for manuscript update. #1
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
940393d
update density-based clustering figures
3192365
fix reference in readme
8017659
update figures and text
JelmerBot dec2802
change eccentricity; add plots classes; fix hierarchy simplification;…
JelmerBot 185bc75
re-run compute benchmark
JelmerBot 2ccb8a5
update plots and notebooks
JelmerBot 85d093c
mend
JelmerBot 50765d2
update docs; add softmax temperature; fix approx graph distances; pre…
JelmerBot b1becb7
Explicitly install Cython
JelmerBot 71fa75d
support numpy 2
JelmerBot 744b9a6
Consider OS variance
JelmerBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
v0.1.3 | ||
This version matches the first major revision of our paper: | ||
- Notable changes to eccentricity definition and branch hierarchy | ||
simplification. Eccentricity is now directly defined by distance to | ||
cluster centroids. | ||
- Fixes to branch-membership centrality measure and the update labelling | ||
function. It no longer changes labels of non-noise points. | ||
- New and updated figures included in the paper. | ||
- Re-evaluated all benchmark notebooks. | ||
- Removed Cython as install dependency. | ||
v0.1.2 | ||
Update Github Actions | ||
Update Github Actions. | ||
v0.1.1 | ||
Fix typo in readme | ||
Fix typo in readme. | ||
v0.1.0 | ||
Initial version | ||
Initial version. |
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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,9 +70,6 @@ cpdef _extract_core_approximation_of_cluster( | |
np.minimum(core_parent, core_children, edges[count:, 0]) | ||
np.maximum(core_parent, core_children, edges[count:, 1]) | ||
|
||
# Extract unique edges that stay within the cluster | ||
edges = np.unique(edges[edges[:, 0] > -1.0, :], axis=0) | ||
|
||
# Fill mutual reachabilities | ||
edges[:count, 3] = cluster_spanning_tree[:, 2] | ||
# (astype copy more effiecient than manual iteration) | ||
|
@@ -81,6 +78,9 @@ cpdef _extract_core_approximation_of_cluster( | |
core_distances[edges[count:, 1].astype(np.intp)], | ||
edges[count:, 3] | ||
) | ||
|
||
# Extract unique edges that stay within the cluster | ||
edges = np.unique(edges[edges[:, 0] > -1.0, :], axis=0) | ||
Comment on lines
+81
to
+83
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixes mutual reachability values in the ApproximationGraph |
||
|
||
# Return output | ||
return edges | ||
|
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Simplify algorithm by making in-cluster eccentricity be the distance to centroid.