Gaussian Kernel + k-Nearest Neighbor Weights

Share:

Description

gkn_weights combines Gaussian kernel weights with k-nearest neighbor weights

Usage

1
gkn_weights(X, phi = 0.5, k_row = 5, k_col = 5)

Arguments

X

The data matrix to be clustered. The rows are the features, and the columns are the samples.

phi

The nonnegative parameter that controls the scale of kernel weights

k_row

The number of row nearest neighbors

k_col

The number of column nearest neighbors