mmcdermott / comprehensive_MTL_EHR

Source code for a comprehensive analysis of MTL over EHR timeseries data.
34 stars 6 forks source link

Import Errors in v2_push #2

Closed mmcdermott closed 3 years ago

mmcdermott commented 3 years ago

Blocking #1. Reported by @hunterlang

"For example, https://github.com/mmcdermott/comprehensive_MTL_EHR/blob/611d8335843f65faf4b0816cf6678264398ce46a/latent_patient_trajectories/representation_learner/dataset.py#L14

dataset.py imports reformat_notes from data_utils, but I don’t see that function defined there (and this gave an import error running Scripts/run_model.py)

The other one I found was evaluator.py importing SelfAttentionTimeSeries from adapted_model, which also doesn’t seem to be defined. Once I fixed those two, I was able to at least run Scripts/run_model.py. "