Machine learning in physics: a short guide