WLS.
whiten
Whitener for WLS model, multiplies each column by sqrt(self.weights).
x : array_like
Data to be whitened.
array_like
The whitened values sqrt(weights)*X.