RBF_K {KBoost}R Documentation

Function to calculate the RBF Kernel of a matrix X with width g.

Description

Function to calculate the RBF Kernel of a matrix X with width g.

Usage

RBF_K(x, g)

Arguments

x

an Nx1 numeric matrix with N observations.

g

a positive scalar with the width parameter.

Value

the matrix with the RBF kernel

Examples

x = rnorm(100,0,1)
k = RBF_K(x,40)


[Package KBoost version 1.1.0 Index]