DemianD / node-matrix-profile

node-matrix-profile provides a binding to use SCAMP in your Node.js applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-matrix-profile

node-matrix-profile provides a binding to use SCAMP in your Node.js applications. Note that JavaScript values are converted to C/C++ values and vice-versa, which cause a decrease in runtime.

Install

npm install --save node-matrix-profile

How to use

const mp = require('node-matrix-profile');

const result = mp.calculate({
  window_size: 3,
  timeseries_a: data
});

console.log(result);

Limitations

  • Only profile type 1NN_INDEX is currently supported.

Development

git clone git@github.com:DemianD/node-matrix-profile.git
npm install

About

node-matrix-profile provides a binding to use SCAMP in your Node.js applications


Languages

Language:C++ 96.8%Language:Python 3.2%