A guide to machine learning for biologists