-
Notifications
You must be signed in to change notification settings - Fork 28
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
custom clustering now takes position matrix instead of distance^2 matrix #87
Open
AdamOrmondroyd
wants to merge
48
commits into
PolyChord:custom_cluster
Choose a base branch
from
AdamOrmondroyd:ormorod-custom_cluster
base: custom_cluster
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 29 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
f1f52ed
neighbor spelling (assuming we're sticking to American spelling!)
AdamOrmondroyd 1c40b21
custom clustering now takes position matrix instead of distance^2 mat…
AdamOrmondroyd 634a4b8
corrected order of dimensions of position_matrix
AdamOrmondroyd d98cd08
renamed calculate_similarity_matrix() to calculate_position_matrix()
AdamOrmondroyd a04231a
renamed calculate_similarity_matrix() to calculate_position2_matrix()
AdamOrmondroyd d9571a3
Merge branch 'ormorod-custom_cluster' of github.com:Ormorod/PolyChord…
AdamOrmondroyd 9568985
corrected index in default_cluster
AdamOrmondroyd 92b3809
added new dimension to cluster input as position_matrix is not square…
AdamOrmondroyd db02cc2
changed cluster interfaces to add extra dimension for position_matrix
AdamOrmondroyd 876de66
Merge branch 'master' into ormorod-custom_cluster
williamjameshandley f5f8c93
Updated CI to work on pull request to all branches
williamjameshandley eeb83ac
changed cluster interfaces to add extra dimension for position_matrix
AdamOrmondroyd 4d68c9d
changed distance2_matrix to no longer be square
AdamOrmondroyd b6885cb
added extra dimension to cluster argument for non-square distance2_ma…
AdamOrmondroyd 4f638f2
Merge branch 'ormorod-custom_cluster' of github.com:Ormorod/PolyChord…
AdamOrmondroyd 7da5423
renamed m to nDims, n to nPoints, and position_matrix (and distance2_…
AdamOrmondroyd fa5c42d
changed neighbour to ~~correct~~ UK spelling
AdamOrmondroyd 5184835
forgot to change the interface in clustering itself
AdamOrmondroyd 3ed846c
another clustering interface using the wrong dimension of points
AdamOrmondroyd e4622f5
swapped indices over
AdamOrmondroyd 1b90073
Merge branch 'ormorod-custom_cluster' of github.com:Ormorod/PolyChord…
AdamOrmondroyd 23d8db8
Revert "swapped indices over"
AdamOrmondroyd 4a9bf0a
now uses c indexing in c and python, and fortran indexing in fortran
AdamOrmondroyd 2f0c339
Merge branch 'PolyChord:master' into master
AdamOrmondroyd f68dcb3
similarity matrix renamed to distance^2 in comments
AdamOrmondroyd da78633
wrap_cluster() adds one to the cluster list, as Python algos number c…
AdamOrmondroyd 512fca1
Merge branch 'ormorod-custom_cluster' of github.com:Ormorod/PolyChord…
AdamOrmondroyd be3467a
example cluster now returns -1
AdamOrmondroyd eb412c3
Merge branch 'master' into ormorod-custom_cluster
AdamOrmondroyd 9fbf7a3
Merge branch 'custom_cluster' of github.com:PolyChord/PolyChordLite i…
AdamOrmondroyd 14efda1
example to test custom clustering
AdamOrmondroyd 3029e60
equal weights of each Gaussian peak, corrected comments
AdamOrmondroyd 88572e3
remove mutual_nearest_neighbours function
AdamOrmondroyd b49fb80
replace sklearn dependence with compute_knn
AdamOrmondroyd f8dc320
compute_knn() computed the full nn ordering, then returned the first …
AdamOrmondroyd 4d95077
realised the for loop in the copied knn clustering is actually a whil…
AdamOrmondroyd 2d99c89
Removed unused num_clusters_old from native clustering
AdamOrmondroyd 1a561de
comment reminds that clustering algorithm should be 0-indexed
AdamOrmondroyd f67543d
updated run_pypolychord.ipynb with py2nb
AdamOrmondroyd 8954de3
correct docstring to clarify cluster function must number clusters fr…
AdamOrmondroyd ebf3b91
further correction to clustering in docstring
AdamOrmondroyd e1102fb
change cluster function example comments to docstring
AdamOrmondroyd 4d3adcc
remove unnecessary np.sqrt import
AdamOrmondroyd 70628a5
Correct root=root -> root=0 in make_resume_file (#92)
AdamOrmondroyd 6cf0fc4
PWD->CURDIR
williamjameshandley 3084a81
Updated PWD to CURDIR in setup.py
williamjameshandley 1854372
Update python3.6 CI (#96)
AdamOrmondroyd cfc77c4
Merge branch 'master' into ormorod-custom_cluster
AdamOrmondroyd 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ on: | |
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
|
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
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
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.
Could you merge PolyChord:master into Ormorod:ormorod-custom_cluster so that the diff is cleaner?
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.
It would also be good to add a python test of clustering if you have time.