Args: X (np.ndarray): Training data of shape[n_samples, n_features] y (np.ndarray): Target values of shape[n_samples, 1] gradient (function): Function to compute the gradient Gradient is a function of (X, y, weights) hessien (function): Function to co
(X, y, gradient, hessian, alpha=0.01, iterations=10000,
initial_weights=None)