Skip to content
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

medcat refreshed use draft #16

Merged
merged 3 commits into from
Dec 14, 2023
Merged

medcat refreshed use draft #16

merged 3 commits into from
Dec 14, 2023

Conversation

eroell
Copy link
Collaborator

@eroell eroell commented Dec 12, 2023

Accompanying notebook update to this PR.
Fixes theislab/ehrapy#591.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

review-notebook-app bot commented Dec 12, 2023

View / edit / reply to this conversation on ReviewNB

Zethson commented on 2023-12-12T12:37:40Z
----------------------------------------------------------------

Line #3.    from medcat.cat import CAT

Originally I thought of it as a dependency of ehrapy, but it's probably much better to keep them separated


Copy link

review-notebook-app bot commented Dec 12, 2023

View / edit / reply to this conversation on ReviewNB

Zethson commented on 2023-12-12T12:37:41Z
----------------------------------------------------------------

Line #2.    cat = CAT.load_model_pack("./medcat_data/medmen_wstatus_2021_oct.zip")

Is it clear how people are getting it? I forgot whether there's a download function or something somewhere?


eroell commented on 2023-12-12T15:29:08Z
----------------------------------------------------------------

Yes, the 3rd cell downloads the data from the Web, into the directory ./medcata_data/ where the model is loaded from here

Copy link

review-notebook-app bot commented Dec 12, 2023

View / edit / reply to this conversation on ReviewNB

Zethson commented on 2023-12-12T12:37:42Z
----------------------------------------------------------------

I'd catch this Exception even if that's the whole idea. It just looks ugly and broken when rendered


Copy link
Collaborator Author

eroell commented Dec 12, 2023

Yes, the 3rd cell downloads the data from the Web, into the directory ./medcata_data/ where the model is loaded from here


View entire conversation on ReviewNB

@Zethson Zethson marked this pull request as ready for review December 14, 2023 16:30
@Zethson Zethson merged commit 95cfc66 into theislab:main Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot access medcat model
2 participants