├── .gitignore ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── datasets ├── __init__.py └── dataset.py ├── environment.yml ├── main.py ├── models ├── __init__.py ├── codeemb.py ├── descemb.py ├── ehr_model.py ├── rnn.py └── word2vec.py ├── modules ├── __init__.py ├── identity_layer.py └── subword_input_layer.py ├── preprocess ├── create_cohort.py ├── dataframe_gen.py ├── numpy_convert.py ├── prcs.py ├── preprocess_main.py └── preprocess_utils.py ├── run_example ├── mlm_pretrain.sh ├── pooled_learning.sh ├── preprocess_run.sh ├── sinlge_domain_learning.sh └── transfer_learning.sh ├── start_wsl_env.bat ├── trainers ├── __init__.py ├── trainer.py └── word2vec_trainer.py └── utils └── trainer_utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/README.md -------------------------------------------------------------------------------- /datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/datasets/__init__.py -------------------------------------------------------------------------------- /datasets/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/datasets/dataset.py -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/environment.yml -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/main.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/codeemb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/models/codeemb.py -------------------------------------------------------------------------------- /models/descemb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/models/descemb.py -------------------------------------------------------------------------------- /models/ehr_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/models/ehr_model.py -------------------------------------------------------------------------------- /models/rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/models/rnn.py -------------------------------------------------------------------------------- /models/word2vec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/models/word2vec.py -------------------------------------------------------------------------------- /modules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/modules/__init__.py -------------------------------------------------------------------------------- /modules/identity_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/modules/identity_layer.py -------------------------------------------------------------------------------- /modules/subword_input_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/modules/subword_input_layer.py -------------------------------------------------------------------------------- /preprocess/create_cohort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/preprocess/create_cohort.py -------------------------------------------------------------------------------- /preprocess/dataframe_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/preprocess/dataframe_gen.py -------------------------------------------------------------------------------- /preprocess/numpy_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/preprocess/numpy_convert.py -------------------------------------------------------------------------------- /preprocess/prcs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/preprocess/prcs.py -------------------------------------------------------------------------------- /preprocess/preprocess_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/preprocess/preprocess_main.py -------------------------------------------------------------------------------- /preprocess/preprocess_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/preprocess/preprocess_utils.py -------------------------------------------------------------------------------- /run_example/mlm_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/run_example/mlm_pretrain.sh -------------------------------------------------------------------------------- /run_example/pooled_learning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/run_example/pooled_learning.sh -------------------------------------------------------------------------------- /run_example/preprocess_run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/run_example/preprocess_run.sh -------------------------------------------------------------------------------- /run_example/sinlge_domain_learning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/run_example/sinlge_domain_learning.sh -------------------------------------------------------------------------------- /run_example/transfer_learning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/run_example/transfer_learning.sh -------------------------------------------------------------------------------- /start_wsl_env.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/start_wsl_env.bat -------------------------------------------------------------------------------- /trainers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/trainers/__init__.py -------------------------------------------------------------------------------- /trainers/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/trainers/trainer.py -------------------------------------------------------------------------------- /trainers/word2vec_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/trainers/word2vec_trainer.py -------------------------------------------------------------------------------- /utils/trainer_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoon9405/DescEmb/HEAD/utils/trainer_utils.py --------------------------------------------------------------------------------