Mitigating Bias in Machine Learning for Medicine