skmisc.loess.loess_inputs

class skmisc.loess.loess_inputs(x, y, weights=None)

Initialization class for loess data inputs

Parameters:
xndarray[n, p]

n independent observations for p no. of variables

yndarray[n]

A (n,) ndarray of response observations

weightsndarray[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).

n

int - Number of independent observations

p

int - Number of variables

x

ndarray - Independent observations, shape (n, p)

y

ndarray - Response observations, shape (n,)