JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 67818
  • Score
    100M100P100Q153989F
  • License MIT

A factory for kernel functions

Package Exports

  • ml-kernel

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ml-kernel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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