gram.gauss: gram.gauss

Description Usage Arguments Value References Examples

View source: R/utilities.R

Description

gram.gauss

Usage

1
gram.gauss(x,x.new,complexity)

Arguments

x

previous observations

x.new

new observations

complexity

tuning parameter in Gaussian kernel

Value

Gram matrix for the Gaussian kernel. This also can be used to project predictor on the testing set.

References

Li, B. (2018). Sufficient dimension reduction: Methods and applications with R. CRC Press.

Examples

1
2
3
old <- matrix(c(1,2,3,4),2,2)
new <- matrix(c(5,6,7,8),2,2)
result <- gram.gauss(old,new,1)

nsdr documentation built on June 3, 2021, 9:06 a.m.

Related to gram.gauss in nsdr...