Hat Matrix#

A hat matrix is an object used in kernel smoothing (KernelSmoother) and kernel regression (KernelRegression) algorithms.

Those algorithms estimate the desired values as a weighted mean of train data. The different Hat matrix types define how these weights are calculated.

See the links below for more information.

skfda.misc.hat_matrix.HatMatrix(*[, kernel])

Hat Matrix.

skfda.misc.hat_matrix.NadarayaWatsonHatMatrix(*)

Nadaraya-Watson method.

skfda.misc.hat_matrix.LocalLinearRegressionHatMatrix(*)

Local linear regression method.

skfda.misc.hat_matrix.KNeighborsHatMatrix(*)

K-nearest neighbour kernel method.