First homework of the course Mathematics for Machine Learning, which belongs to Master's Dregree in Applied Maths from the National University of Colombia. It is about least square problem applied to linear and non-linear models in the study of bitcoin time series and its relation with commodity prices, also it's presented an interesting application in point set registration problem.