GithubHelp home page GithubHelp logo

Comments (2)

mp2893 avatar mp2893 commented on June 27, 2024

Hi Nicenoize,

Thanks for taking interest in our work.
First of all, if you'd uncommented line 66, and commented out line 67, then you should be seeing diagnosis codes such as "D_401.9". Otherwise you should be seeing codes such as "D_401".

Due to typos inherent to the raw data of MIMIC-III, there is a chance you might see both D_001 and D_01, or even D_1. This requires some extra data preprocessing.

I suggest you pick the model from earlier epochs and compare with the one from epoch 999. Theoretically, you want to choose the model from the epoch where the accuracy is close to 0.5, since that is when the discriminator is most confused (i.e. the generator makes the most convincing synthetic samples).

Best,
Ed

from medgan.

nicenoize avatar nicenoize commented on June 27, 2024

Hello Ed,
thank you for your quick response!

For the ICD9 Codes, changing line 68 to dxStr = 'D_' + convert_to_icd9(tokens[4]) did the job for me.

Choosing a model with accuracy closer to 0.5 led to significantly improved samples!

Thank you for your help!

from medgan.

Related Issues (20)

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.