CNN_kernel {Spectrum}R Documentation

CNN_kernel: fast adaptive density-aware kernel

Description

CNN_kernel: fast adaptive density-aware kernel

Usage

CNN_kernel(mat, NN = 3, NN2 = 7)

Arguments

mat

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

NN

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

NN2

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

Value

A kernel matrix

Examples

CNN_kern <- CNN_kernel(blobs[,1:50])

[Package Spectrum version 1.1 Index]