Spectrum (version 0.2)

CNN_kernel_mine_b: CNN_kernel_mine_b: fast adaptive density aware kernel

Description

CNN_kernel_mine_b: fast adaptive density aware kernel

Usage

CNN_kernel_mine_b(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

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

Run the code above in your browser using DataCamp Workspace