Conversation
- Sync tutorial_pyhealth_{data,trainer,medcode}.ipynb with the Colab
versions linked from docs/tutorials.rst. The repo copies of data and
trainer still used dataset.patients, which BaseDataset no longer has
(it is unique_patient_ids). The medcode notebook's ICD9CM->ICD10CM
cell relies on the icd-mappings backend added in the parent commits.
- docs/tutorials.rst: link each Colab tutorial to its source notebook,
turn every example filename into a link to the real file (fixing
wrong or renamed paths such as the EEG SparcNet and eICU scripts),
fix the broken readmission list-table, and blob/main -> blob/master.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or 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
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.
Re-lands #1256 on
master. #1256 was merged intomedcode/icd-mappingstwo minutes after that branch had already been squash-merged as #1257, so its changes never reachedmaster. This is the same commit cherry-picked ontomaster, with identical content and no conflicts.Changes
examples/tutorials/tutorial_pyhealth_medcode.ipynb: now matches the Colab version. ItsICD9CM → ICD10CMcell uses theicd-mappingsbackend from medcode: ICD-9 <-> ICD-10 translation and grouper vocabularies via icd-mappings #1257.tutorial_pyhealth_data.ipynb,tutorial_pyhealth_trainer.ipynb: synced with Colab, replacing the removeddataset.patientswithunique_patient_ids.docs/tutorials.rst:[Source]links to each tutorial notebook.blob/mainbecomesblob/master, and the file has no docutils warnings.Testing
!pip, withicd-mappings0.6.2; all pass. The data and trainer notebooks passed againstmasterin Sync tutorial notebooks with Colab and link example code in docs #1256, and nothing they depend on has changed since.🤖 Generated with Claude Code