Some examples of machine learning applied to finance