https://onlinebme.com/validation-parameters-in-regression-and-classification/