A brief introduction to machine learning