skmisc.loess.loess_inputs¶
- class skmisc.loess.loess_inputs(x, y, weights=None)¶
Initialization class for loess data inputs
- Parameters:
- x
ndarray
[n
,p
] n independent observations for p no. of variables
- y
ndarray
[n
] A (n,) ndarray of response observations
- weights
ndarray
[n
]or
None
Weights to be given to individual observations in the sum of squared residuals that forms the local fitting criterion. If not None, the weights should be non negative. If the different observations have non-equal variances, the weights should be inversely proportional to the variances. By default, an unweighted fit is carried out (all the weights are one).
- x