The Risk of Machine-Learning Bias (and How to Prevent It)