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.
npm install --save node-matrix-profile
const mp = require('node-matrix-profile');
const result = mp.calculate({
window_size: 3,
timeseries_a: data
});
console.log(result);
- Only profile type
1NN_INDEX
is currently supported.
git clone git@github.com:DemianD/node-matrix-profile.git
npm install