kerPIQ {KEPTED} | R Documentation |
Product-type Inverse-Quadratic (PIQ) kernel computation
Description
Computing the values of Product-type Inverse-Quadratic (PIQ) kernel functions.
Usage
kerPIQ(gamma, z1, z2)
Arguments
gamma |
A number, the bandwidth parameter in the PIQ kernel. |
z1 |
A vector, the first input of the PIQ kernel. |
z2 |
A vector, the second input of the PIQ kernel. |
Details
The Product-type Inverse-Quadratic (PIQ) kernel is defined as k(z1,z2)=Prod_j(1/(1+gamma*(z1_j-z2_j)^2)).
Value
A number, the value of the PIQ kernel function.
Examples
gamma=0.02
z1=c(3,1,3)
z2=c(8,1,9)
kerPIQ(gamma,z1,z2)
[Package KEPTED version 0.2.0 Index]