-
Notifications
You must be signed in to change notification settings - Fork 0
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
Define the dead and alive patient cohorts for medGAN #2
Comments
I used ivan's model which generated a sparse matrix with 42549 features, I used todense methods for feeding the model into the medgan File "train.py", line 96, in <module>
saveMaxKeep=args.save_max_keep)
File "/data/users/yanyao/myproj/synpuf/omop/app/1000-1000-death-SynthEHR/model.py", line 391, in train
batchIdx = np.random.choice(idx, size=batchSize, replace=False)
File "mtrand.pyx", line 948, in numpy.random.mtrand.RandomState.choice
ValueError: Cannot take a larger sample than population when 'replace=False'
"nohup.out" 3065L, 5097612C |
nohup python train.py --data_file './death.npy' --n_pretrain_epoch 1000 --n_epoch 1000& synthetic death.npy |
only use condition: |
create two feature sets for the dead and alive patient cohorts
The text was updated successfully, but these errors were encountered: