Weighted least-squares estimate of local model parameters.
\[\boldsymbol\theta = (\mathbf{X}_e^T\boldsymbol\Phi\mathbf{X}_e)^{-1}
\mathbf{X}_e^T\boldsymbol\Phi\mathbf{Y}\]
- Parameters:
- Xe
ndarray of shape (n_samples, n_params) Extended regressor matrix (last column of ones for the intercept).
- Y
ndarray of shape (n_samples, n_outputs)
- w
ndarray of shape (n_samples,) Non-negative weights (the diagonal of \(\boldsymbol\Phi\)).
- Returns:
- theta
ndarray of shape (n_params, n_outputs)