Awesome Open Source
Awesome Open Source

ml-kernel

NPM version build status npm download

A factory for kernel functions.

Installation

$ npm i ml-kernel

Usage

new Kernel(type, options)

This function can be called with a matrix of input vectors. and optional landmarks. If no landmark is provided, the input vectors will be used.

Available kernels:

kernel.compute(inputs, landmarks)

This function can be called with a matrix of input vectors and optional landmarks. If no landmark is provided, the input vectors will be used.
The function returns a kernel matrix of feature space vectors.

License

MIT


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,117,147
Kernel (21,769
Matrix (10,854
Vector (10,057