preprocess to dataset mimic 3 for healthcare prediction reference: https://github.com/Optum/retain-keras