lof

0.1.2 • Public • Published

Local Outlier Factor (lof)

Local Outlier Factor

Install

$ npm install lof

Usage

const lof = require('lof');
const dataset = [[3, 4], [5, 3], [2, 2], [5, 4]];
console.log(lof(2, dataset, 0));
// 0.9500365780630926

API

  • lof(k, dataset, index, normalize = true, toMercator = false)

Package Sidebar

Install

npm i lof

Weekly Downloads

3

Version

0.1.2

License

MIT

Unpacked Size

40 kB

Total Files

12

Last publish

Collaborators

  • alexysbike