Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of supported kernels for KernelRidge estimator [closed]

I'm using the KernelRidge estimator, which apparently supports various kernels. I've read the documentation:

Apparently one can define own kernel functions. Somehow I have the impression, that there are some predefined kernels. Unfortunately, I can't them? Do you know if there are some? And if yes, could you point me to a location which describes them and their parameters?

like image 999
ndrizza Avatar asked Mar 16 '16 16:03

ndrizza


People also ask

What is KRR in machine learning?

Kernel ridge regression (KRR) [M2012] combines Ridge regression and classification (linear least squares with l2-norm regularization) with the kernel trick. It thus learns a linear function in the space induced by the respective kernel and the data.

What is Kernel Ridge?

Kernel ridge regression models are nonparametric regression models that are capable of modeling linear and nonlinear relationships between predictor variables and outcomes. Results can be highly sensitive to choices of model hyperparameters.

Who invented kernel ridge regression?

One of the few examples of metric learning algorithms focused specifically on regres- sion tasks is Metric Learning for Kernel Regression (MLKR) developed by Weinberger and Tesauro [45].


2 Answers

Following kernels are supported: RBF, laplacian, polynomial, exponential, chi2 and sigmoid kernels. I drew conclusion from observing the "gamma parameter" description of KernelRidge documentation.

The mathematical formulation of these kernels can be found at this link as mentioned earlier by @ndrizza.

I am also trying to figure out the string arguments for kernel, based on information from SVR page, I think they are something like linear, poly, rbf, and sigmoid. SVR page.

like image 183
sha256feng Avatar answered Dec 11 '22 17:12

sha256feng


I found a good resource.

Here is a list of some kernels:

http://scikit-learn.org/stable/modules/classes.html#module-sklearn.metrics.pairwise

Here are some further details about the kernels:

http://scikit-learn.org/stable/modules/metrics.html#metrics

like image 34
ndrizza Avatar answered Dec 11 '22 19:12

ndrizza