Giter Site home page Giter Site logo

ganjinzero / icd-msmn Goto Github PK

View Code? Open in Web Editor NEW
44.0 6.0 8.0 2.31 MB

Code Synonyms Do Matter: Multiple Synonyms Matching Network for Automatic ICD Coding [ACL 2022]

Home Page: https://arxiv.org/abs/2203.01515

Python 92.55% Jupyter Notebook 7.45%
icd-coding

icd-msmn's People

Contributors

ganjinzero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

icd-msmn's Issues

Missing method "clean" in load_umls.py ?

I can't find the method called clean in class UMLS and it reports an error when initializing the class UMLS.
In load_umls.py, clean_string = self.clean(string, clean_bracket=False)
Besides, in match.py, icd_dict[icd] = [desc_dict[icd]] + umls.icd2str(icd)
It calls the method icd2str, which is also missing in UMLS.

Where does preprocessing use match.py

I studied the code in preprocess folder. I could understand how description of the code and synonyms are combined. But I didn't find the result is used in the real training process. Because icd_dict{} generated in generate_data_new.ipynb isn't the one in match.py. Where is the result of match.py used? Or which file import match.py? Do I need to preprocess by myself according to the code in preprocess and then generate new data?

Thanks,
Best regards.

A mistake: line 118 in main.py in run

image

I met a mistake: line 118 in main.py, should i rewrite it like best_train_metric, _, threshold_ = eval_func() ?

PS: line 83 in main.py, the same mistake

Question about R-Drop

If one does not want to use R-Drop but just binary cross entorpy, then one could remove rdrop_alpha and set it to 0?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.