site:geeksforgeeks.org l1 and l2 regularization implementation - Search