An example of machine learning algorithms