Home > @josh-brown/vector > GaussianKernel
Creates a gaussian Kernel for use in a SupportVectorMachineClassifier. The gaussian kernel converts a data Matrix into a similarity Matrix where the value of entry (i,j) expresses the similarity of rows i and j in the original data set.
Signature:
export declare function GaussianKernel(sigmaSquared: number): Kernel;|
Parameter |
Type |
Description |
|---|---|---|
|
sigmaSquared |
number |
The variance of the gaussian distribution used in the kernel |
Returns: