gamma_estimation: Kernel parameter estimation
Description
Kernel parameter estimation by averaging the distances to the closest neighbors.
Usage
gamma_estimation(X, size, kernel_type)
Arguments
X
A Filebacked Big Matrix \(n \times N\).
kernel_type
Kernel function type. Available types are c("Gaussian", "Laplacian").
Value
The estimated kernel parameter.