-
Notifications
You must be signed in to change notification settings - Fork 16
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
444 add clustering methods for npi data #883
base: main
Are you sure you want to change the base?
Conversation
# NOTE: if changing method, pay attention to linkage methods; | ||
# 'centroid', 'median', and 'ward' are correctly defined only if | ||
# Euclidean pairwise metric is used in distance matrix that we used as input. |
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.
Does this "still" hold? For ward, I don't see this at all directly, for the others, (only) the meaning changes
all_subcodes = [x for x in npis.NPI_code if len(x) <=8] | ||
if not npi_codes_considered: | ||
npi_codes_considered = [ | ||
x for x in npis[dd.EngEng['npiCode']] if len(x.split('_')) == 2] |
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.
len == 3?
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.
I think 2 is the right option here
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #883 +/- ##
=======================================
Coverage 96.34% 96.34%
=======================================
Files 129 129
Lines 10056 10056
=======================================
Hits 9688 9688
Misses 368 368 ☔ View full report in Codecov by Sentry. |
…hub.com/SciCompMod/memilio into 444-add-clustering-methods-for-npi-data
Changes and Information
Please briefly list the changes made, additional Information and what the Reviewer should look out for:
Merge Request - Guideline Checklist
Please check our git workflow. Use the draft feature if the Pull Request is not yet ready to review.
Checks by code author
Checks by code reviewer(s)
Closes #444