The least squares estimator weighting function for the IRLS algorithm.
The psi function scaled by the input z
z (array_like) – 1d array
weights – weights(z) = np.ones(z.shape)
ndarray
LeastSquares.weights