Home > @josh-brown/vector > Kernel
A function which takes a Matrix of data (and optionally another Matrix of data on which the kernel was trained) and returns a new Matrix which will be used to train a machine learning model.
Generally intended for use with a SupportVectorMachineClassifier.
Signature:
export type Kernel = (data: Matrix, trainingData?: Matrix) => Matrix;References: Matrix