Role of feature scaling in machine learning