.. _regression-module: Regression ========== Module with classes to perform regression of functional data. Linear regression ----------------- A linear regression model is one in which the response variable can be expressed as a linear combination of the covariates (which could be multivariate or functional). The following linear models are available in scikit-fda: .. autosummary:: :toctree: autosummary skfda.ml.regression.LinearRegression skfda.ml.regression.HistoricalLinearRegression Nearest Neighbors ----------------- This module contains `nearest neighbors `_ estimators to perform regression. In the examples :ref:`sphx_glr_auto_examples_plot_neighbors_scalar_regression.py` and :ref:`sphx_glr_auto_examples_plot_neighbors_functional_regression.py` it is explained the basic usage of these estimators. .. autosummary:: :toctree: autosummary skfda.ml.regression.KNeighborsRegressor skfda.ml.regression.RadiusNeighborsRegressor Kernel regression ----------------- This module includes the implementation of Kernel Regression for FData with a scalar as a response variable. It is a non-parametric technique that uses :class:`~skfda.misc.hat_matrix.HatMatrix` object. .. autosummary:: :toctree: autosummary skfda.ml.regression.KernelRegression FPCA regression ----------------- This module includes the implementation of FPCA (Functional Principal Component Analysis) regression for FData with scalar response. FPCA regression consists of two steps. Firstly, the principal component basis is created. Then a linear regression is fitted using the coefficients of the functions in said basis. .. autosummary:: :toctree: autosummary skfda.ml.regression.FPCARegression FPLS regression ----------------- This module includes the implementation of FPLS (Functional Partial Least Squares) regression. This implementation accepts either functional or multivariate data as the regressor and the response. FPLS regression consists on performing the FPLS dimensionality reduction algorithm but using a regression deflation strategy. .. autosummary:: :toctree: autosummary skfda.ml.regression.FPLSRegression