Role of optimiser in machine learning