kernel.matrix: Kernel matrix

Description Usage Arguments Details Value Author(s) See Also

View source: R/kernelMatrix.R

Description

These functions transform a n x q matrix into a n x n kernel matrix.

Usage

1
kernel.matrix(Z, whichkernel, rho = NULL, gamma = NULL, d = NULL)

Arguments

Z

a n x q matrix

whichkernel

kernel function

gamma, rho, d

kernel hyperparameters (see details)

Details

Given a n x p matrix, this function returns a n x n matrix where each cell represents the similarity between two samples defined by two p-dimensional vectors x and y,

Value

A n x n matrix.

Author(s)

Catherine Schramm, Aurelie Labbe, Celia Greenwood

See Also

kernel.gaussian, kernel.linear, kernel.polynomial, kernel.equality, kernel.sigmoid, kernel.inverse.quadratic.


KSPM documentation built on Aug. 10, 2020, 5:07 p.m.