Comments (2)
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.
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)
- Other fields in data generation HOT 5
- Synthetic Image HOT 7
- Generating different features HOT 13
- Error with numpy 1.16.3 HOT 4
- Variable Misnomer outlayer of Generator
- Input / Output dimensions differ HOT 2
- Restoring of trained model HOT 2
- outputs-0.data-00000-of-00001: DATA_LOSS: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator? HOT 1
- Trained Model HOT 1
- MedGAN on PyTorch? HOT 1
- Training Losses and optimal parameters
- Why the google records project has been archived? what if i Still want to contribute?
- REGARDING DATA SOURCE
- How to use code on own dataset
- How to interpret the samples? HOT 11
- A few questions HOT 4
- keep_prob always 1.0? HOT 1
- All generatorDims must be equal to embeddingDim? HOT 1
- Dimensions of input data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medgan.