Spectrum (version 0.2)

rbfkernel_b: rbfkernel_b: fast self-tuning kernel

Description

rbfkernel_b: fast self-tuning kernel

Usage

rbfkernel_b(mat, K = 3, sigma = 1)

Arguments

mat

Matrix: matrix should have samples as columns and rows as features

K

Numerical value: the number of nearest neighbours to use when calculating local sigma

sigma

Numerical value: a global sigma, usually left to 1 which has no effect

Value

A kernel matrix

Examples

Run this code
# NOT RUN {
stsc_kern <- rbfkernel_b(blobs[,1:50])
# }

Run the code above in your browser using DataCamp Workspace