huber.py
Copy
residuals
=
np.abs(model.predict(x)
-
y)