RBF: RBF kernel

Description Usage Arguments Value Examples

View source: R/kernFunct.R

Description

RBF kernel

Usage

1
RBF(data, h = NULL)

Arguments

data

A matrix or data.frame with real numbers

h

Gamma hyerparameter. If NULL, the euclidian distances are returned

Value

The RBF kernel matrix

Examples

1
2
example <- matrix(rnorm(12),nrow=4,ncol=3)
kmatrix <- RBF(data=example)

Yuliaxis/kernInt documentation built on Feb. 20, 2022, 12:38 a.m.