Beginners guide to machine learning