{"_id":"ml-distance-matrix","_rev":"16-27d9bb8e9137b70b967d33fada3a8410","name":"ml-distance-matrix","description":"Compute a distance/similarity matrix","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"ml-distance-matrix","version":"1.0.0","description":"Compute a distance/similarity matrix","main":"./src/index.js","files":["src"],"scripts":{"eslint":"eslint src test","eslint-fix":"npm run eslint -- --fix","test":"npm run test-mocha && npm run eslint","test-cov":"istanbul cover node_modules/.bin/_mocha -- --require should --reporter dot --recursive","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- --require should --reporter dot --recursive","test-mocha":"mocha --require should --reporter mocha-better-spec-reporter"},"repository":{"type":"git","url":"git+https://github.com/mljs/distance-matrix.git"},"keywords":["machine","learning","data","mining","datamining"],"author":{"name":"Daniel Kostro","email":"kostro.d@gmail.com","url":"https://github.com/Daniel Kostro"},"license":"MIT","bugs":{"url":"https://github.com/mljs/distance-matrix/issues"},"homepage":"https://github.com/mljs/distance-matrix#readme","devDependencies":{"eslint":"^3.12.2","eslint-config-cheminfo":"^1.6.0","eslint-plugin-no-only-tests":"^1.1.0","istanbul":"^0.4.5","mocha":"^3.2.0","mocha-better-spec-reporter":"^3.1.0","should":"^11.1.2"},"gitHead":"0b670069c706237bd0c7d66eca92fa008e1adc3c","_id":"ml-distance-matrix@1.0.0","_shasum":"1d1ea4712b070c35407ba666ba8a38bc342ce7eb","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"stropitek","email":"kostro.d@gmail.com"},"dist":{"shasum":"1d1ea4712b070c35407ba666ba8a38bc342ce7eb","tarball":"https://registry.npmjs.org/ml-distance-matrix/-/ml-distance-matrix-1.0.0.tgz","integrity":"sha512-xAr8kliW08/ohCHo+4z0TR8NbLzp+nBhxYg8i+2ILi366Js7rwJr7NcALLWfN4cA2DBjoqMicIWTrMQmHFeR3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtbV1qrNUqH8euJccRlkqixhfCX7VRQALZzaumGAD8kAiAQ9EvFKPvtqc6F8/gCb5dRM/yTSaw7ojQaUb28Ngip7Q=="}]},"maintainers":[{"name":"stropitek","email":"kostro.d@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ml-distance-matrix-1.0.0.tgz_1486731237313_0.5433627138845623"},"directories":{}},"2.0.0":{"name":"ml-distance-matrix","version":"2.0.0","description":"Compute a distance/similarity matrix","main":"distance-matrix.js","module":"src/index.js","types":"distance-matrix.d.ts","sideEffects":false,"scripts":{"compile":"rollup -c","eslint":"eslint src","eslint-fix":"eslint src --fix","prepublishOnly":"npm run compile","test":"npm run test-coverage && npm run eslint","test-only":"jest","test-coverage":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/mljs/distance-matrix.git"},"keywords":["machine","learning","data","mining","datamining","distance","matrix"],"author":{"name":"Daniel Kostro","email":"kostro.d@gmail.com","url":"https://github.com/Daniel Kostro"},"license":"MIT","bugs":{"url":"https://github.com/mljs/distance-matrix/issues"},"homepage":"https://github.com/mljs/distance-matrix#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.5.0","eslint":"^6.0.1","eslint-config-cheminfo":"^1.20.1","eslint-plugin-import":"^2.18.0","eslint-plugin-jest":"^22.7.2","jest":"^24.8.0","rollup":"^1.16.7"},"gitHead":"f886a85f029cb191875cfb8673e99cf4a30b2eaa","_id":"ml-distance-matrix@2.0.0","_nodeVersion":"12.6.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-W+7cUiL5ukLAfRHyShz9mZANC9/NUGhazVylsTeVvG3DRJFjVnNE79AgCHhIS0zSf9wHFgkedmS/deGZDIwZQw==","shasum":"cee8274b93241e0f1c918e03785a011bacc20f9f","tarball":"https://registry.npmjs.org/ml-distance-matrix/-/ml-distance-matrix-2.0.0.tgz","fileCount":7,"unpackedSize":6249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKdc0CRA9TVsSAnZWagAAmAcP/2HPmXgWdzGuMbkixRDJ\ncvJGCRtn3gRz2JpNuEGdWSUk/MPFO72VHvYrgsmaBi5mwE8PWOKSe7Uc3Vqg\nz6dwtSwIpOAcp0MJLoKm0A2D4Gl/MAHzJL+cLQeUjb/sJZiNLMYCQrNBnFZ5\nLQWSeMF73AIDuVxpBMnE/81Zs5YQuphEtYkj7+bCbP5hqTHSdrsUgaqAE8gW\nbrI4CnlTdVDnXXoFS6QZxBTX6XmvDgg9qd31ZlsqLX67evqffy1HAAuqzV/v\n1/xfrFjbGNYfrKmgzrSIuadakHu79sbr52ftV0IPLHpyQIlVGDDM7gFEbHTa\nu0z40qD7z0qcKXI+B62M96nig8/w7JJCCPG2oeYiInLR6G4fpSqjtjwiuTW5\nAm38fuL4Jq4ozMAVoAZ76HrADYM7r6gP98brjQoPowaE02HDIhGONLoXNMAJ\nju/Oj69etFwPCJ9Sgu5qVWCHQHMaHj/zI6JzvjmT+L46fFp3nZ9xCF0zUstn\no45+OXJh/zWYommW3v5Dv6TQw5mDDgvAPQEpVMOto4ZE+R8BcnHOH2tuAYij\nkqYjsxfIaOtSgdEjKrG0myD/2RxY5TUNVDeJgcSKOb47cANm/GoxAeNC5Q5r\nHFE5RYPA3J3b2dBzTLwzq/nQy4P57/I4yzn8ZlwnCsiko8K5HuZFSjaiLNGh\nplu2\r\n=HILc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj9fGgZjncCAZd6Qnhi/GZk29Lioh6O71o5N4a/Q3YXwIgWYq0p8LMnRNTAB/H8fxWGOZAKEWrIoUxiixXONmyADo="}]},"maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-distance-matrix_2.0.0_1563023155785_0.7763917799927518"},"_hasShrinkwrap":false},"2.0.1":{"name":"ml-distance-matrix","version":"2.0.1","description":"Compute a distance/similarity matrix","main":"distance-matrix.js","module":"src/index.js","types":"distance-matrix.d.ts","sideEffects":false,"scripts":{"compile":"rollup -c","eslint":"eslint src","eslint-fix":"eslint src --fix","prepublishOnly":"npm run compile","test":"npm run test-coverage && npm run eslint","test-only":"jest","test-coverage":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/mljs/distance-matrix.git"},"keywords":["machine","learning","data","mining","datamining","distance","matrix"],"author":{"name":"Daniel Kostro","email":"kostro.d@gmail.com","url":"https://github.com/Daniel Kostro"},"license":"MIT","bugs":{"url":"https://github.com/mljs/distance-matrix/issues"},"homepage":"https://github.com/mljs/distance-matrix#readme","devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.9.0","eslint":"^6.8.0","eslint-config-cheminfo":"^3.0.0","eslint-plugin-import":"^2.20.2","eslint-plugin-jest":"^23.8.2","eslint-plugin-prettier":"^3.1.2","jest":"^25.2.7","prettier":"^2.0.4","rollup":"^2.3.4"},"gitHead":"0e64721817a99b7bc682f55837df66c82fe4a945","_id":"ml-distance-matrix@2.0.1","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-6wt3bvK8WzAjyuBt9+wnyGanphrAZyqJGwiEEfuknfu8IQBtHYWpyLhjtQ8R7rjiPyXlF9eP7GcI5L7OA1NLEQ==","shasum":"851b2da690171494ce5b25773d5ee3fa53376fc4","tarball":"https://registry.npmjs.org/ml-distance-matrix/-/ml-distance-matrix-2.0.1.tgz","fileCount":7,"unpackedSize":6555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejXZhCRA9TVsSAnZWagAAJyUQAIN571RDDVkeYXK0sLao\nB5t54sDSGJctn7hEoOgWfZ8FNGlyGZuwh/J0QfU2G+8fCVDxG58kMnr2DMQR\nUS/kxGbK3bUxrD1ePtqIoMzAsgCHMzYg16bdp2qpSLAwnqBE14Rlii58jaB+\nXwb4o9EzSiZVKA5WGZz0opFxpAtvh5xFAOOuKMXM9FHU+xdV89dhl4dJhFpm\nD6LO2MzOFndntS+XWdizfLZb8/Hm6nd4gCKaw6XS9hXLej/f1HKx4IPGq8pt\nd3gSzTYgdpTqmyZn3ZGzGMGBcgbK9kD5sku1CFgPd/69nn02iy1ipVJTRCLF\nJ3JctvL9T4OkBsqPZNEvjowXHK83vuGQQvwIRPVI1Pnkf2lTl/kfcZ5wVh1o\nDoBpcYcR7XVdTTZSbg2Pl/5LP2d20oIljpy1f9LHio/W8bTAGT1VJgWoumYs\nuakdTKI5myOfyBEQE2vqSaqLYNL7Z48Azb/Ua8bKT8RAhRibA2wlNx3i44Hg\nODggqIQsGwA9jFvcxy5zIKXNMRfadQiPaR0cZNsBUw7jPFIDLgqA5Ji4TxrE\nxRcApSsTmZPf9wFYGnrQ+INTgSV95YmknYOvH17Qb0rTeIqcDBNjjeQU7/U8\nUFQe9NGTQG1Xq2jiKhgeVfN9hjVDLmsg5+GkNKIIg98c7Fs5leF8nuXFM2yA\nfk7x\r\n=Ka/w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGKKcGwzHEFAbeSAEo6YAOhAGO5wF0GNxxi8EapTJgygIgal5kV2kiFyeHXw4Nlw0xmwUIyIyj2ok64YXbmDcOw3k="}]},"maintainers":[{"email":"andcastillo@gmail.com","name":"andcastillo"},{"email":"jeffersonh44@gmail.com","name":"jeffersonh44"},{"email":"julien.wist@correounivalle.edu.co","name":"jwist"},{"email":"lpatiny@gmail.com","name":"lpatiny"},{"email":"maasencioh@gmail.com","name":"maasencioh"},{"email":"admin@cheminfo.org","name":"ml-bot"},{"email":"kostro.d@gmail.com","name":"stropitek"},{"email":"targos+npm@protonmail.com","name":"targos"}],"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-distance-matrix_2.0.1_1586329184698_0.24460729684136684"},"_hasShrinkwrap":false}},"readme":"# distance-matrix\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![npm download][download-image]][download-url]\n\nCompute a distance/similarity matrix.\n\n## Installation\n\n`npm i ml-distance-matrix`\n\n## [API Documentation](https://mljs.github.io/distance-matrix/)\n\n## Example\n\n```js\nconst distanceMatrix = require('ml-distance-matrix');\nconst { euclidean } = require('ml-distance-euclidean');\n\n// Computes euclidan distance for each pair of possible vectors\nconst matrix = distanceMatrix([[8, -1, 2], [-4, 0, 3], [-3, -1, 6]], euclidean);\n```\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-distance-matrix.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/ml-distance-matrix\n[travis-image]: https://img.shields.io/travis/mljs/distance-matrix/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/mljs/distance-matrix\n[codecov-image]: https://img.shields.io/codecov/c/github/mljs/distance-matrix.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/mljs/distance-matrix\n[download-image]: https://img.shields.io/npm/dm/ml-distance-matrix.svg?style=flat-square\n[download-url]: https://npmjs.org/package/ml-distance-matrix\n","maintainers":[{"email":"bot+npm-mljs@zakodium.com","name":"mljs-bot"},{"email":"kostro.d@gmail.com","name":"stropitek"},{"email":"targos+npm@protonmail.com","name":"targos"},{"email":"lpatiny@gmail.com","name":"lpatiny"},{"email":"maasencioh@gmail.com","name":"maasencioh"},{"email":"jeffersonh44@gmail.com","name":"jeffersonh44"},{"email":"andcastillo@gmail.com","name":"andcastillo"},{"email":"admin@cheminfo.org","name":"ml-bot"}],"time":{"modified":"2022-06-19T23:43:03.935Z","created":"2017-02-10T12:53:59.231Z","1.0.0":"2017-02-10T12:53:59.231Z","2.0.0":"2019-07-13T13:05:55.895Z","2.0.1":"2020-04-08T06:59:44.799Z"},"homepage":"https://github.com/mljs/distance-matrix#readme","keywords":["machine","learning","data","mining","datamining","distance","matrix"],"repository":{"type":"git","url":"git+https://github.com/mljs/distance-matrix.git"},"author":{"name":"Daniel Kostro","email":"kostro.d@gmail.com","url":"https://github.com/Daniel Kostro"},"bugs":{"url":"https://github.com/mljs/distance-matrix/issues"},"license":"MIT","readmeFilename":"README.md"}