This function estimates Gaussian kernel computation for klfda, which maps the original data space to non-linear and higher dimensions. See the deatils of kmatrixGauss from lfda.

kmatrixGauss(x, sigma = 1)

Arguments

x

Input data matrix or dataframe

sigma

The Gaussian kernel parameter

Details

Return a n*n matrix

Value

Return a n*n matrix

References

Tang, Y., & Li, W. (2019). lfda: Local Fisher Discriminant Analysis inR. Journal of Open Source Software, 4(39), 1572.