Using machine learning to estimate risk of cardiovascular death