Role of hypothesis testing in machine learning