GKernel_weights: 'GKernel_weights' computes the Gaussian kernel weights, using...

View source: R/weights.R

GKernel_weightsR Documentation

GKernel_weights computes the Gaussian kernel weights, using the distance matrix as the input.

Description

GKernel_weights computes the Gaussian kernel weights, using the distance matrix as the input.

Usage

GKernel_weights(phi, distance)

Arguments

phi

The parameter in the Gaussian kernel

distance

The distance matrix, with dimension n*n, where n is the row count of the data matrix. The distance matrix can be generated by function distance_matrix from the data matrix.


JhZhang-1999/Rcvxclustr documentation built on Aug. 18, 2022, 9:25 a.m.