I was recently brushing up on basics of neural networks when the infamous concept of regularization…