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

high training cost #18

Open
hsohn3 opened this issue Apr 1, 2019 · 2 comments
Open

high training cost #18

hsohn3 opened this issue Apr 1, 2019 · 2 comments

Comments

@hsohn3
Copy link

hsohn3 commented Apr 1, 2019

Hi Edward,
While I was searching for a new research idea, I've found your model and it was interesting in that it can learn code- and visit-level representation from EHRs simultaneously.

Using your model, I'm trying to learn embeddings that can represent measurements other than medical codes. However, the training cost seems quite high (around 150~250) and it doesn't converge(or go below 1) just like other models. I've found that the others have the same range of cost, but I wonder what was the final cost at the end of training.

Is it natural for this model to have this kind of high cost at the end of training? or is something wrong with a setting? I've adjusted the parameters in the model, but cost 170 was the best I could get.

I would appreciate your help.

@mp2893
Copy link
Owner

mp2893 commented Apr 6, 2019

Hi,

Thanks for taking interest in med2vec.
To be honest, I don't remember what the loss values looked like, since it's been almost 3 years.
But when you say that you want to learn the embeddings for measurements, rather than medical codes, I'm not sure how you are training med2vec.
Med2vec has a skip-gram loss which is basically co-occurrence counting, but I'm not sure how you would do that with continuous measurements.
Maybe you could provide more info?

Best,
Ed

@hsohn3
Copy link
Author

hsohn3 commented Apr 6, 2019

Thank you for your comment.
I've sent you an email([email protected]) about more detailed information.

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

No branches or pull requests

2 participants