btheodorou99 / HALO_Inpatient

21 stars 7 forks source link

add labels before converting visit codes to index #11

Closed sebbarb closed 6 months ago

sebbarb commented 6 months ago

Hi, amazing work and thank you for sharing your code. Just flagging that I believe that in build_dataset.py you should create labels (lines 80-88) before converting visit codes to indices (lines 48-60) since the hcup_ccs_2015_definitions_benchmark file contains the actual codes and not the indices. At present no labels are created.

btheodorou commented 6 months ago

Thank you very much for catching that. I've made that switch now