{
  "_id": "ml-distance",
  "maintainers": [
    {
      "name": "stropitek",
      "email": "kostro.d@gmail.com"
    },
    {
      "name": "targos",
      "email": "targos+npm@protonmail.com"
    },
    {
      "name": "lpatiny",
      "email": "luc@patiny.com"
    },
    {
      "name": "mljs-bot",
      "email": "bot+npm-mljs@zakodium.com"
    },
    {
      "name": "cheminfo-bot",
      "email": "bot+npm-cheminfo@zakodium.com"
    },
    {
      "name": "maasencioh",
      "email": "maasencioh@gmail.com"
    },
    {
      "name": "jeffersonh44",
      "email": "jeffersonh44@gmail.com"
    },
    {
      "name": "andcastillo",
      "email": "andcastillo@gmail.com"
    }
  ],
  "keywords": [
    "distance",
    "similarity",
    "metric",
    "vector",
    "data",
    "mining",
    "datamining",
    "machine",
    "learning"
  ],
  "dist-tags": {
    "latest": "4.0.1"
  },
  "author": {
    "name": "Michaël Zasso"
  },
  "_rev": "34-c8489487a9c81cc6fd5235eed01f047a",
  "description": "Distance and similarity functions to compare vectors",
  "readme": "# ml-distance\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![npm download][download-image]][download-url]\n\nDistance functions to compare vectors.\n\n## Installation\n\n`$ npm i ml-distance`\n\n## Methods\n\n### Distances\n\n- `euclidean(p, q)`\n\nReturns the [euclidean distance](http://en.wikipedia.org/wiki/Euclidean_distance#n_dimensions) between vectors p and q\n\n$d(p,q)=\\sqrt{\\sum\\limits_{i=1}^{n}(p_i-q_i)^2}$\n\n- `manhattan(p, q)`\n\nReturns the [city block distance](http://en.wikipedia.org/wiki/Taxicab_geometry) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\left|p_i-q_i\\right|}$\n\n- `minkowski(p, q, d)`\n\nReturns the [Minkowski distance](http://en.wikipedia.org/wiki/Minkowski_distance) between vectors p and q for order d\n\n- `chebyshev(p, q)`\n\nReturns the [Chebyshev distance](http://en.wikipedia.org/wiki/Chebyshev_distance) between vectors p and q\n\n$d(p,q)=\\max\\limits_i(|p_i-q_i|)$\n\n- `sorensen(p, q)`\n\nReturns the [Sørensen distance](http://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient) between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{\\left|p_i-q_i\\right|}}{\\sum\\limits_{i=1}^{n}{p_i+q_i}}$\n\n- `gower(p, q)`\n\nReturns the [Gower distance](https://stat.ethz.ch/education/semesters/ss2012/ams/slides/v4.2.pdf) between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{\\left|p_i-q_i\\right|}}{n}$\n\n- `soergel(p, q)`\n\nReturns the [Soergel distance](http://www.orgchm.bas.bg/~vmonev/SimSearch.pdf) between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{\\left|p_i-q_i\\right|}}{max(p_i,q_i)}$\n\n- `kulczynski(p, q)`\n\nReturns the [Kulczynski distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{\\left|p_i-q_i\\right|}}{min(p_i,q_i)}$\n\n- `canberra(p, q)`\n\nReturns the [Canberra distance](http://en.wikipedia.org/wiki/Canberra_distance) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}\\frac{\\left|{p_i-q_i}\\right|}{p_i+q_i}$\n\n- `lorentzian(p, q)`\n\nReturns the [Lorentzian distance](https://stat.ethz.ch/education/semesters/ss2012/ams/slides/v4.2.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}\\ln(\\left|{p_i-q_i}\\right|+1)$\n\n- `intersection(p, q)`\n\nReturns the [Intersection distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=1-\\sum\\limits_{i=1}^{n}min(p_i,q_i)$\n\n- `waveHedges(p, q)`\n\nReturns the [Wave Hedges distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}\\left(1-\\frac{min(p_i,q_i)}{max(p_i,q_i)}\\right)$\n\n- `czekanowski(p, q)`\n\nReturns the [Czekanowski distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=1-\\frac{2\\sum\\limits_{i=1}^{n}{min(p_i,q_i)}}{\\sum\\limits_{i=1}^{n}{p_i+q_i}}$\n\n- `motyka(p, q)`\n\nReturns the [Motyka distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=1-\\frac{\\sum\\limits_{i=1}^{n}{min(p_i,q_i)}}{\\sum\\limits_{i=1}^{n}{p_i+q_i}}$\n\nNote: distance between 2 identical vectors is 0.5 !\n\n- `ruzicka(p, q)`\n\nReturns the [Ruzicka similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{max(p_i,q_i)}}{\\sum\\limits_{i=1}^{n}{min(p_i,q_i)}}$\n\n- `tanimoto(p, q, [bitVector])`\n\nReturns the [Tanimoto distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q, and accepts the bitVector use, see the test case for an example\n\n- `innerProduct(p, q)`\n\nReturns the [Inner Product similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$s(p,q)=\\sum\\limits_{i=1}^{n}{p_i\\cdot{q_i}}$\n\n- `harmonicMean(p, q)`\n\nReturns the [Harmonic mean similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=2\\sum\\limits_{i=1}^{n}\\frac{p_i\\cdot{q_i}}{p_i+q_i}$\n\n- `cosine(p, q)`\n\nReturns the [Cosine similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{p_i\\cdot{q_i}}}{\\sum\\limits_{i=1}^{n}{p_i^2}\\sum\\limits_{i=1}^{n}{q_i^2}}$\n\n- `kumarHassebrook(p, q)`\n\nReturns the [Kumar-Hassebrook similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{p_i\\cdot{q_i}}}{\\sum\\limits_{i=1}^{n}{p_i^2}+\\sum\\limits_{i=1}^{n}{q_i^2}-\\sum\\limits_{i=1}^{n}{p_i\\cdot{q_i}}}$\n\n- `jaccard(p, q)`\n\nReturns the [Jaccard distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=1-\\frac{\\sum\\limits_{i=1}^{n}{p_i\\cdot{q_i}}}{\\sum\\limits_{i=1}^{n}{p_i^2}+\\sum\\limits_{i=1}^{n}{q_i^2}-\\sum\\limits_{i=1}^{n}{p_i\\cdot{q_i}}}$\n\n- `dice(p,q)`\n\nReturns the [Dice distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=1-\\frac{\\sum\\limits_{i=1}^{n}{(p_i-q_i)^2}}{\\sum\\limits_{i=1}^{n}{p_i^2}+\\sum\\limits_{i=1}^{n}{q_i^2}}$\n\n- `fidelity(p, q)`\n\nReturns the [Fidelity similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\sqrt{p_i\\cdot{q_i}}}$\n\n- `bhattacharyya(p, q)`\n\nReturns the [Bhattacharyya distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=-\\ln\\left(\\sum\\limits_{i=1}^{n}{\\sqrt{p_i\\cdot{q_i}}}\\right)$\n\n- `hellinger(p, q)`\n\nReturns the [Hellinger distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=2\\cdot\\sqrt{1-\\sum\\limits_{i=1}^{n}{\\sqrt{p_i\\cdot{q_i}}}}$\n\n- `matusita(p, q)`\n\nReturns the [Matusita distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sqrt{2-2\\cdot\\sum\\limits_{i=1}^{n}{\\sqrt{p_i\\cdot{q_i}}}}$\n\n- `squaredChord(p, q)`\n\nReturns the [Squared-chord distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{(\\sqrt{p_i}-\\sqrt{q_i})^2}$\n\n- `squaredEuclidean(p, q)`\n\nReturns the [squared euclidean distance](http://en.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{(p_i-q_i)^2}$\n\n- `pearson(p, q)`\n\nReturns the [Pearson distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\frac{(p_i-q_i)^2}{q_i}}$\n\n- `neyman(p, q)`\n\nReturns the [Neyman distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\frac{(p_i-q_i)^2}{p_i}}$\n\n- `squared(p, q)`\n\nReturns the [Squared distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\frac{(p_i-q_i)^2}{p_i+q_i}}$\n\n- `probabilisticSymmetric(p, q)`\n\nReturns the [Probabilistic Symmetric distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=2\\cdot\\sum\\limits_{i=1}^{n}{\\frac{(p_i-q_i)^2}{p_i+q_i}}$\n\n- `divergence(p, q)`\n\nReturns the [Divergence distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=2\\cdot\\sum\\limits_{i=1}^{n}{\\frac{(p_i-q_i)^2}{(p_i+q_i)^2}}$\n\n- `clark(p, q)`\n\nReturns the [Clark distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sqrt{\\sum\\limits_{i=1}^{n}{\\left(\\frac{\\left|p_i-q_i\\right|}{(p_i+q_i)}\\right)^2}}$\n\n- `additiveSymmetric(p, q)`\n\nReturns the [Additive Symmetric distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\frac{(p_i-q_i)^2\\cdot(p_i+q_i)}{p_i\\cdot{q_i}}}$\n\n- `kullbackLeibler(p, q)`\n\nReturns the [Kullback-Leibler distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{p_i\\cdot\\ln\\frac{p_i}{q_i}}$\n\n- `jeffreys(p, q)`\n\nReturns the [Jeffreys distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\left((p_i-q_i)\\ln\\frac{p_i}{q_i}\\right)}$\n\n- `kdivergence(p, q)`\n\nReturns the [K divergence distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\left(p_i\\cdot\\ln\\frac{2p_i}{p_i+q_i}\\right)}$\n\n- `topsoe(p, q)`\n\nReturns the [Topsøe distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\left(p_i\\cdot\\ln\\frac{2p_i}{p_i+q_i}+q_i\\cdot\\ln\\frac{2q_i}{p_i+q_i}\\right)}$\n\n- `jensenShannon(p, q)`\n\nReturns the [Jensen-Shannon distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\frac{1}{2}\\left[\\sum\\limits_{i=1}^{n}{p_i\\cdot\\ln\\frac{2p_i}{p_i+q_i}}+\\sum\\limits_{i=1}^{n}{q_i\\cdot\\ln\\frac{2q_i}{p_i+q_i}}\\right]$\n\n- `jensenDifference(p, q)`\n\nReturns the [Jensen difference distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\left[\\frac{p_i\\ln{p_i}+q_i\\ln{q_i}}{2}-\\left(\\frac{p_i+q_i}{2}\\right)\\ln\\left(\\frac{p_i+q_i}{2}\\right)\\right]}$\n\n- `taneja(p, q)`\n\nReturns the [Taneja distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\left[\\frac{p_i+q_i}{2}\\ln\\left(\\frac{p_i+q_i}{2\\sqrt{p_i\\cdot{q_i}}}\\right)\\right]}$\n\n- `kumarJohnson(p, q)`\n\nReturns the [Kumar-Johnson distance](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n$d(p,q)=\\sum\\limits_{i=1}^{n}{\\frac{\\left(p_i^2-q_i^2\\right)^2}{2(p_i\\cdot{q_i})^{3/2}}}$\n\n- `avg(p, q)`\n\nReturns the average of city block and Chebyshev distances between vectors p and q\n\n$d(p,q)=\\frac{\\sum\\limits_{i=1}^{n}{\\left|p_i-q_i\\right|}+\\max\\limits_i(|p_i-q_i|)}{2}$\n\n### Similarities\n\n- `intersection(p, q)`\n\nReturns the [Intersection similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n- `czekanowski(p, q)`\n\nReturns the [Czekanowski similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n- `motyka(p, q)`\n\nReturns the [Motyka similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n- `kulczynski(p, q)`\n\nReturns the [Kulczynski similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n- `squaredChord(p, q)`\n\nReturns the [Squared-chord similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n- `jaccard(p, q)`\n\nReturns the [Jaccard similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n- `dice(p, q)`\n\nReturns the [Dice similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q\n\n- `tanimoto(p, q, [bitVector])`\n\nReturns the [Tanimoto similarity](http://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf) between vectors p and q, and accepts the bitVector use, see the test case for an example\n\n- `tree(a,b, from, to, [options])`\n\nRefer to [ml-tree-similarity](https://github.com/mljs/tree-similarity)\n\n## Contributing\n\nA new metric should normally be in its own file in the src/dist directory. There should be a corresponding test file in test/dist.  \nThe metric should be then added in the exports of src/index.js with a relatively small but understandable name (use camelCase).  \nIt should also be added to this README with either a link to the formula or an inline description.\n\n## Authors\n\n- [Michaël Zasso](https://github.com/targos)\n- [Miguel Angel Asencio Hurtado](https://github.com/maasencioh)\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-distance.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/ml-distance\n[travis-image]: https://img.shields.io/travis/mljs/distance/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/mljs/distance\n[download-image]: https://img.shields.io/npm/dm/ml-distance.svg?style=flat-square\n[download-url]: https://npmjs.org/package/ml-distance\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mljs/distance.git"
  },
  "users": {
    "dhrubins": true,
    "maasencioh": true,
    "eterna2": true
  },
  "bugs": {
    "url": "https://github.com/mljs/distance/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "ml-distance",
      "version": "1.0.0",
      "description": "Distance and similarity functions to compare vectors",
      "main": "src/index.js",
      "directories": {
        "lib": "src",
        "test": "test"
      },
      "scripts": {
        "test": "mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"
      },
      "repository": {
        "type": "git",
        "url": "https://github.com/mljs/distance"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "contributors": [
        {
          "name": "Miguel Angel Asencio Hurtado"
        },
        {
          "name": "Michaël Zasso"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "mocha-better-spec-reporter": "latest",
        "mocha": "latest",
        "should": "latest"
      },
      "gitHead": "5684b91489bdb866bbc99d4155e9864fa94200e4",
      "_id": "ml-distance@1.0.0",
      "_shasum": "bccad4c55ecdac667796a88fc1baf7ceb40b2e9d",
      "_from": ".",
      "_npmVersion": "2.0.0-beta.2",
      "_npmUser": {
        "name": "targos",
        "email": "targos@live.com"
      },
      "maintainers": [
        {
          "name": "targos",
          "email": "targos@live.com"
        }
      ],
      "dist": {
        "shasum": "bccad4c55ecdac667796a88fc1baf7ceb40b2e9d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-1.0.0.tgz",
        "integrity": "sha512-ssNp1RTv/UE67sYc6/mCRXf1Uxz4HPrF11lpbL2u8/KGVmp7BiaZgpuCXTk7UpoY0Gq5AWYjaB8G1uoaYlVWEw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIGEK/9o15n882HxZ7+15tmcvv+nWvZGafwlmeJQlNFY1AiEAhAoj+HBF8mVNG41KclCAeFxexe3D+oF4AOdqgk9ZFmM="
          }
        ]
      }
    },
    "1.0.1": {
      "name": "ml-distance",
      "version": "1.0.1",
      "description": "Distance and similarity functions to compare vectors",
      "main": "src/index.js",
      "directories": {
        "lib": "src",
        "test": "test"
      },
      "scripts": {
        "test": "mocha --require should --reporter mocha-better-spec-reporter --recursive"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": "",
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "browserify": "^8.1.3",
        "del": "^1.1.1",
        "gulp": "^3.8.11",
        "gulp-bump": "^0.1.11",
        "gulp-git": "^0.5.3",
        "gulp-header": "^1.2.2",
        "gulp-rename": "^1.2.0",
        "gulp-sourcemaps": "^1.3.0",
        "gulp-size": "^1.1.0",
        "gulp-uglify": "^1.1.0",
        "mocha": "latest",
        "mocha-better-spec-reporter": "latest",
        "should": "latest",
        "vinyl-buffer": "^1.0.0",
        "vinyl-source-stream": "^1.0.0",
        "yargs": "^1.3.2"
      },
      "gitHead": "02f780540a2e2dc57d284092e71d0ccc0344498a",
      "_id": "ml-distance@1.0.1",
      "_shasum": "5c2f1b0b5feb0df0837429aca8f1450ddd96d536",
      "_from": ".",
      "_npmVersion": "2.11.0",
      "_nodeVersion": "2.2.1",
      "_npmUser": {
        "name": "maasencioh",
        "email": "maasencioh@gmail.com"
      },
      "dist": {
        "shasum": "5c2f1b0b5feb0df0837429aca8f1450ddd96d536",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-1.0.1.tgz",
        "integrity": "sha512-4LWJ19qs8v5qHPnxV6r3/7StL1MHM6w3fSpGiVqElpn4dTnHbVuuamVST4IM5TqNmZj4GSn0uCpX7JWxTVG2uw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQC5khyexce271Ocrmz/crJVx9R2c/W9p82jLXEqkZBr8gIgbaYH7vRxhVGY6LKM8AVbivKk28OCJTYl36lmDAPy47o="
          }
        ]
      },
      "maintainers": [
        {
          "name": "targos",
          "email": "targos@live.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        }
      ]
    },
    "1.0.2": {
      "name": "ml-distance",
      "version": "1.0.2",
      "description": "Distance and similarity functions to compare vectors",
      "main": "src/index.js",
      "directories": {
        "lib": "src",
        "test": "test"
      },
      "scripts": {
        "test": "mocha --require should --reporter mocha-better-spec-reporter --recursive"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": "",
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "browserify": "^8.1.3",
        "del": "^1.1.1",
        "gulp": "^3.8.11",
        "gulp-bump": "^0.1.11",
        "gulp-git": "^0.5.3",
        "gulp-header": "^1.2.2",
        "gulp-rename": "^1.2.0",
        "gulp-sourcemaps": "^1.3.0",
        "gulp-size": "^1.1.0",
        "gulp-uglify": "^1.1.0",
        "mocha": "latest",
        "mocha-better-spec-reporter": "latest",
        "should": "latest",
        "vinyl-buffer": "^1.0.0",
        "vinyl-source-stream": "^1.0.0",
        "yargs": "^1.3.2"
      },
      "gitHead": "e440cb768fa87b0be23b0311f9cb176bac58ceab",
      "_id": "ml-distance@1.0.2",
      "_shasum": "8eb2dc9a5daf4e66c3213a1fac207de1c5e08b44",
      "_from": ".",
      "_npmVersion": "2.11.0",
      "_nodeVersion": "2.2.1",
      "_npmUser": {
        "name": "maasencioh",
        "email": "maasencioh@gmail.com"
      },
      "dist": {
        "shasum": "8eb2dc9a5daf4e66c3213a1fac207de1c5e08b44",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-1.0.2.tgz",
        "integrity": "sha512-roLmmragjaPj2ZPHLoA48CkhPAUXBXMk23HDd194Yaw/qxFwvfi0bK5oNxbXakkkgrB596Y8swM4K7urldBgfw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDZejMGIdG2Eyn5tYxXRVK35z3Rt1YiQ4vcF7teW53o2QIhAPi5Nl58G33wsRPuQkVPG5WVy3bCy++KFcGvtvYODK9c"
          }
        ]
      },
      "maintainers": [
        {
          "name": "targos",
          "email": "targos@live.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        }
      ]
    },
    "2.0.0": {
      "name": "ml-distance",
      "version": "2.0.0",
      "description": "Distance and similarity functions to compare vectors",
      "main": "src/index.js",
      "directories": {
        "lib": "src",
        "test": "test"
      },
      "scripts": {
        "test": "mocha --require should --reporter mocha-better-spec-reporter --recursive"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": {
        "name": "Michaël Zasso"
      },
      "contributors": [
        {
          "name": "Miguel Asencio"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "mocha": "^2.2.5",
        "mocha-better-spec-reporter": "^2.1.1",
        "should": "^7.0.2"
      },
      "dependencies": {
        "ml-euclidean-distance": "^1.0.0"
      },
      "gitHead": "b372341349da653a3396f9b5c15382ed1fbc6d25",
      "_id": "ml-distance@2.0.0",
      "_shasum": "c6a0725e95de4e640ec0314fe80c31c68ea7093d",
      "_from": ".",
      "_npmVersion": "2.11.0",
      "_nodeVersion": "2.2.1",
      "_npmUser": {
        "name": "maasencioh",
        "email": "maasencioh@gmail.com"
      },
      "dist": {
        "shasum": "c6a0725e95de4e640ec0314fe80c31c68ea7093d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-2.0.0.tgz",
        "integrity": "sha512-jZ8bWEg/7vriknE7ZmLbao5BarouXvhTPuhtiIOJviydegy2ktGf5YA93nKDVd4bE0lNJ8kdxhZZaABbuQ0EXA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIEcZ5EZ29PWg7hJz2VkC+up1pksf+qqHf39Co3PgsgWsAiEA3EyvnLYUpiFgXpE5XwCnWy7AApHy3CyUeKUMTt0Abbc="
          }
        ]
      },
      "maintainers": [
        {
          "name": "targos",
          "email": "targos@live.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        }
      ]
    },
    "2.0.1": {
      "name": "ml-distance",
      "version": "2.0.1",
      "description": "Distance and similarity functions to compare vectors",
      "main": "src/index.js",
      "directories": {
        "lib": "src",
        "test": "test"
      },
      "scripts": {
        "test": "mocha --require should --reporter mocha-better-spec-reporter --recursive"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": {
        "name": "Michaël Zasso"
      },
      "contributors": [
        {
          "name": "Miguel Asencio"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "mocha": "^2.2.5",
        "mocha-better-spec-reporter": "^2.1.1",
        "should": "^7.0.2"
      },
      "dependencies": {
        "ml-euclidean-distance": "^1.0.0",
        "ml-tree-similarity": "^0.0.0"
      },
      "gitHead": "9d497cdab3356f9f695642fe255ccaf0274fd176",
      "_id": "ml-distance@2.0.1",
      "_shasum": "0cb4ffcb66c365da501a05748a19460a0435c03c",
      "_from": ".",
      "_npmVersion": "2.11.0",
      "_nodeVersion": "2.2.1",
      "_npmUser": {
        "name": "maasencioh",
        "email": "maasencioh@gmail.com"
      },
      "dist": {
        "shasum": "0cb4ffcb66c365da501a05748a19460a0435c03c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-2.0.1.tgz",
        "integrity": "sha512-GqYjowe2NGzqjZQA+CR+RbQtVTUncmD+dOSZGiiSZoHWd9H/QGDKU71DPczTw+ja+lgWG3jIOOJGxk+eQKxCFA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDCKQssPkW6FFzL2ZA7ej+tYo92g/nUBK5HFY0nMIi+agIhANwMznmFA3/BF4fkgHePCoYNvqSWPy7yF8keQYK+yubt"
          }
        ]
      },
      "maintainers": [
        {
          "name": "targos",
          "email": "targos@live.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        }
      ]
    },
    "2.1.0": {
      "name": "ml-distance",
      "version": "2.1.0",
      "description": "Distance and similarity functions to compare vectors",
      "main": "src/index.js",
      "directories": {
        "lib": "src",
        "test": "test"
      },
      "scripts": {
        "test": "mocha --require should --reporter mocha-better-spec-reporter --recursive"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": {
        "name": "Michaël Zasso"
      },
      "contributors": [
        {
          "name": "Miguel Asencio"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "mocha": "^2.2.5",
        "mocha-better-spec-reporter": "^2.1.1",
        "should": "^7.0.2"
      },
      "dependencies": {
        "ml-euclidean-distance": "^1.0.0",
        "ml-stat": "^1.0.1",
        "ml-tree-similarity": "^0.0.0"
      },
      "gitHead": "6d9fd814065b7dadd2aa6b80604655dc6c6d377c",
      "_id": "ml-distance@2.1.0",
      "_shasum": "03ded734cf880ffffee9c888d63b32d78fc4b893",
      "_from": ".",
      "_npmVersion": "2.13.0",
      "_nodeVersion": "2.4.0",
      "_npmUser": {
        "name": "lpatiny",
        "email": "lpatiny@gmail.com"
      },
      "dist": {
        "shasum": "03ded734cf880ffffee9c888d63b32d78fc4b893",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-2.1.0.tgz",
        "integrity": "sha512-HD6PY1DU/2qPBRdtTLUJfWf8RSElPGvq8PKUhhH/PtIZu1nAf849/vUYYqTf2h+qV7d+Fu1EA/vP0IfUVRcOfA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIGNsYQT617Hc1x3323cmLh3c2uGiKGEb+8ow+g75CF2IAiEA8hBFirMsfzY/QWzmz3yrbyDUEvxQ2babNHcOVFbBDkc="
          }
        ]
      },
      "maintainers": [
        {
          "name": "targos",
          "email": "targos@live.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        },
        {
          "name": "cheminfo-bot",
          "email": "admin@cheminfo.org"
        },
        {
          "name": "lpatiny",
          "email": "lpatiny@gmail.com"
        }
      ]
    },
    "2.1.1": {
      "name": "ml-distance",
      "version": "2.1.1",
      "description": "Distance and similarity functions to compare vectors",
      "main": "src/index.js",
      "directories": {
        "lib": "src",
        "test": "test"
      },
      "scripts": {
        "test": "mocha --require should --reporter mocha-better-spec-reporter --recursive"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": {
        "name": "Michaël Zasso"
      },
      "contributors": [
        {
          "name": "Miguel Asencio"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "mocha": "^3.0.0",
        "mocha-better-spec-reporter": "^3.0.2",
        "should": "^10.0.0"
      },
      "dependencies": {
        "ml-distance-euclidean": "^1.0.0",
        "ml-stat": "^1.0.1",
        "ml-tree-similarity": "^0.0.0"
      },
      "gitHead": "b344cb49460cfa7a4ef3761a81f68b912b4955e0",
      "_id": "ml-distance@2.1.1",
      "_shasum": "f6cc1f2970819cb42e68c68de363309ba3bd079f",
      "_from": ".",
      "_npmVersion": "3.10.5",
      "_nodeVersion": "6.3.1",
      "_npmUser": {
        "name": "targos",
        "email": "targos@live.com"
      },
      "maintainers": [
        {
          "name": "targos",
          "email": "targos@live.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        },
        {
          "name": "cheminfo-bot",
          "email": "admin@cheminfo.org"
        },
        {
          "name": "lpatiny",
          "email": "lpatiny@gmail.com"
        }
      ],
      "dist": {
        "shasum": "f6cc1f2970819cb42e68c68de363309ba3bd079f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-2.1.1.tgz",
        "integrity": "sha512-fkJSN1u4gnosyCCz7nlYMc9lgPEfG1gpG5gvR3fwWs748F/FTok91R0hzWh5Mu8twnRfYqMAxl9J4PTZk1iLzg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIHfOgCluow5yFzz2yBrYeG3EXWCjewuD9S+iXRwbemxLAiEAywfVAD020amTZRRjxD1OFD0PLdZRgOZRcoWLHeQA2uQ="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "packages-16-east.internal.npmjs.com",
        "tmp": "tmp/ml-distance-2.1.1.tgz_1470206210232_0.28762899641878903"
      }
    },
    "3.0.0": {
      "name": "ml-distance",
      "version": "3.0.0",
      "description": "Distance and similarity functions to compare vectors",
      "main": "lib/index.js",
      "module": "src/index.js",
      "scripts": {
        "compile": "rollup -c",
        "eslint": "eslint src",
        "eslint-fix": "npm run eslint -- --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.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": {
        "name": "Michaël Zasso"
      },
      "contributors": [
        {
          "name": "Miguel Asencio"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "@babel/plugin-transform-modules-commonjs": "^7.4.4",
        "eslint": "^6.0.1",
        "eslint-config-cheminfo": "^1.20.1",
        "eslint-plugin-import": "^2.18.0",
        "eslint-plugin-jest": "^22.7.1",
        "jest": "^24.8.0",
        "rollup": "^1.16.3"
      },
      "dependencies": {
        "ml-array-mean": "^1.1.1",
        "ml-distance-euclidean": "^2.0.0",
        "ml-tree-similarity": "^1.0.0"
      },
      "gitHead": "22b7af1df536ea32b06f3e5ed3f7fa3523f67ee7",
      "_id": "ml-distance@3.0.0",
      "_nodeVersion": "12.5.0",
      "_npmVersion": "6.9.0",
      "dist": {
        "integrity": "sha512-sRDuFVgZp2jTRkI/Y3urDXNjFG+rkrZ70ic8gt8KxOp+eNHDaDJolM5AxPX9G2FQMuIk3AUBdlDU1yhhXcf4+A==",
        "shasum": "0e49c525480b21c28a3fbcdc4577f063341dfecf",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-3.0.0.tgz",
        "fileCount": 59,
        "unpackedSize": 37294,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdF+XLCRA9TVsSAnZWagAAdBwP/2pRO84DU28yhsuLSlUu\nSzON6j/kyC/jYqOgWThISSgSl2VyRqN8S9tSipBvv5gQEE/UvDHfMcEjgGDl\n1A2mSDImk1S0KZRF1QhkZKBAp8cx0olyRFX7OBCdYpBespKnoL8lXUub119S\nSLcfM/8T4HT8vwU6sHZKWDFWZgKCxgnJ7VSucVaWmkVRrGGZEsIGLmeZsDik\n6mqCslKnQBrF81tCDZD5C0vQxHhcc0ujA/UkTdAEC1lofOvp3zFGjJiwi19p\noFRxgelKU3ipVGtj7i2h4FuVOiXs/nDNO78iYBhBZ2JD6+vIAdMZm2YDeZMP\n5b4v4OT246Y5yEq2/YFRz5jVLECfE8ipkfEGRW+xUxhDy94p+SXfCXVuBIRn\ndugUlAtxgp20NWG3yesNS0yXUBAcOkAq3d3KXGbrE80drsYzurVQGY44YTXa\nfh00HoXsahk3mQqnCUuptc3rGPqv9xsvGWq1Hi0Oj9g0yqozkBiCDiXZL5/p\nA+jbSPoBXODRK4aLdsFw/ZXztcLhS7c99nFLl1rBmzHUn0MVV0w3Iiww24z8\nL7fJFNF2nzv7Pg+i6VICXFFxGXX3E8pBoPnWhAvyQqn0SONn4vLWSaPvnSfS\nA0sv4V3RI/8/6FZMI3GinXM/Vj6dcN05cMu5piv/qE8AkS0LSGiS8guypfLa\nilsO\r\n=ErqM\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIGYIxQSkarmbsCn6tdYG7yKzqfeRg1g3MbIrCMx2gL20AiEAp+W/SYpAebSqTslLzX5tTfYTMmp+i732pTmflKCGlJY="
          }
        ]
      },
      "maintainers": [
        {
          "email": "andcastillo@gmail.com",
          "name": "andcastillo"
        },
        {
          "email": "admin@cheminfo.org",
          "name": "cheminfo-bot"
        },
        {
          "email": "swrt_9950@hotmail.com",
          "name": "jeffersonh44"
        },
        {
          "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@live.com",
          "name": "targos"
        }
      ],
      "_npmUser": {
        "name": "targos",
        "email": "targos+npm@protonmail.com"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/ml-distance_3.0.0_1561847242938_0.2663498431382765"
      },
      "_hasShrinkwrap": false
    },
    "4.0.0": {
      "name": "ml-distance",
      "version": "4.0.0",
      "description": "Distance and similarity functions to compare vectors",
      "main": "lib/index.js",
      "module": "./lib-esm/index.js",
      "types": "./lib/index.d.ts",
      "scripts": {
        "check-types": "tsc --noEmit",
        "clean": "rimraf lib lib-esm",
        "eslint": "eslint src",
        "eslint-fix": "npm run eslint -- --fix",
        "prepack": "npm run tsc",
        "prettier": "prettier --check src",
        "prettier-write": "prettier --write src",
        "test": "npm run test-coverage && npm run eslint && npm run check-types",
        "test-only": "jest",
        "test-coverage": "jest --coverage",
        "tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm",
        "tsc-cjs": "tsc --project tsconfig.cjs.json",
        "tsc-esm": "tsc --project tsconfig.esm.json"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": {
        "name": "Michaël Zasso"
      },
      "contributors": [
        {
          "name": "Miguel Asencio"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "@babel/plugin-transform-modules-commonjs": "^7.20.7",
        "@babel/preset-typescript": "^7.18.6",
        "@types/jest": "^29.2.4",
        "cheminfo-types": "^1.4.0",
        "eslint": "^8.30.0",
        "eslint-config-cheminfo-typescript": "^11.2.2",
        "esm": "^3.2.25",
        "jest": "^29.3.1",
        "prettier": "^2.8.1",
        "rimraf": "^3.0.2",
        "typescript": "^4.9.4"
      },
      "dependencies": {
        "ml-array-mean": "^1.1.6",
        "ml-distance-euclidean": "^2.0.0",
        "ml-tree-similarity": "^1.0.0"
      },
      "gitHead": "cbfe008c34e8334ffb4823a367926ca63060494f",
      "_id": "ml-distance@4.0.0",
      "_nodeVersion": "16.18.1",
      "_npmVersion": "8.19.2",
      "dist": {
        "integrity": "sha512-zj7+UGZpHk3uL7n79XTfGNUjIGnhLn8xVvrxYvBHvXFxo3jq1q+/UjP311hZxnLVhbxbXCjUniThX8gozjacYA==",
        "shasum": "197c272abea03f13e1746e59a35be4491566bfdc",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-4.0.0.tgz",
        "fileCount": 480,
        "unpackedSize": 245886,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIANYV1oGTp+d6Gx1fhBphKpetEBQJZ1SknsDTdYPbYzHAiEAogdYyXD5RJSP9vY/zRDiB2VQiuRd4RKUg8edT3EHfkI="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuFWrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodfA/6A/XafK0q670a6cGRpw1Fo4Bd7o+onMBy98sZDgq8u4nnc8NC\r\njT3qR9lvFT86549wlRipU2jBOO7vntusGqK+F/XxI4uDSoaAQsFB304ugvnA\r\nQaUv8+F3rnPTwd81hMVYe2J7A7lEjz9VYhJlp8qMJl2zNk/Pt8/rlNHXK8/R\r\nmpIc4xAlnsY3iaj4YZgohHf5kP50vnu86JFLvGpvdi0s+5JDc/XcgwE2ar/1\r\nQv1NOmEAf27oMWOWmPwAkAVzuChmetcBb7dT+eKtDvvu8FO56yUUKhx404y/\r\nd7Tw18D9S2NEXIELiqHAltZUV0fFprUCN55KeBWWEOy07eKfKhFkLzfDjgST\r\nCgnfiS11drR1/rXIT0XnwJWiLAJ4zVnS4vIUDJx4t/F/X/eUfH+L7SaQ269d\r\nNq17660NAYGvTcvHni27Da+SHx1soq9WtBUd0Bv5CL2j2i/Dja4jpWEwAdQ6\r\neTrT/svuQRNOFyG/5OxeuALLHXySLv34TpuIZCDJYh/pn66C+hjnWLdFUlFf\r\nPbdCNv7q+7u8zAqeF0Dd5umWppru9f4+HoG0QPk69iyHxhY0Q9YnKj1xQBfU\r\nLfeO35D0c24vw01HM5eTsaUGZCieEACXQB3P82mcEAQKQvwMjWe/ATyY6uY/\r\nMHlFipJ+c40ipYCvSiEwIkHX5qwh9YN5NvA=\r\n=3rTy\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "mljs-bot",
        "email": "bot+npm-mljs@zakodium.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "stropitek",
          "email": "kostro.d@gmail.com"
        },
        {
          "name": "targos",
          "email": "targos+npm@protonmail.com"
        },
        {
          "name": "lpatiny",
          "email": "luc@patiny.com"
        },
        {
          "name": "mljs-bot",
          "email": "bot+npm-mljs@zakodium.com"
        },
        {
          "name": "cheminfo-bot",
          "email": "bot+npm-cheminfo@zakodium.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        },
        {
          "name": "jeffersonh44",
          "email": "jeffersonh44@gmail.com"
        },
        {
          "name": "andcastillo",
          "email": "andcastillo@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/ml-distance_4.0.0_1673024939053_0.2562466777411747"
      },
      "_hasShrinkwrap": false
    },
    "4.0.1": {
      "name": "ml-distance",
      "version": "4.0.1",
      "description": "Distance and similarity functions to compare vectors",
      "main": "lib/index.js",
      "module": "./lib-esm/index.js",
      "types": "./lib/index.d.ts",
      "scripts": {
        "check-types": "tsc --noEmit",
        "clean": "rimraf lib lib-esm",
        "eslint": "eslint src",
        "eslint-fix": "npm run eslint -- --fix",
        "prepack": "npm run tsc",
        "prettier": "prettier --check src",
        "prettier-write": "prettier --write src",
        "test": "npm run test-coverage && npm run eslint && npm run check-types",
        "test-only": "jest",
        "test-coverage": "jest --coverage",
        "tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm",
        "tsc-cjs": "tsc --project tsconfig.cjs.json",
        "tsc-esm": "tsc --project tsconfig.esm.json"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mljs/distance.git"
      },
      "keywords": [
        "distance",
        "similarity",
        "metric",
        "vector",
        "data",
        "mining",
        "datamining",
        "machine",
        "learning"
      ],
      "author": {
        "name": "Michaël Zasso"
      },
      "contributors": [
        {
          "name": "Miguel Asencio"
        }
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mljs/distance/issues"
      },
      "homepage": "https://github.com/mljs/distance",
      "devDependencies": {
        "@babel/plugin-transform-modules-commonjs": "^7.20.7",
        "@babel/preset-typescript": "^7.18.6",
        "@types/jest": "^29.2.4",
        "cheminfo-types": "^1.4.0",
        "eslint": "^8.30.0",
        "eslint-config-cheminfo-typescript": "^11.2.2",
        "esm": "^3.2.25",
        "jest": "^29.3.1",
        "prettier": "^2.8.1",
        "rimraf": "^3.0.2",
        "typescript": "^4.9.4"
      },
      "dependencies": {
        "ml-array-mean": "^1.1.6",
        "ml-distance-euclidean": "^2.0.0",
        "ml-tree-similarity": "^1.0.0"
      },
      "gitHead": "6c01cb063ae50859cabc80ca505002162a003b77",
      "_id": "ml-distance@4.0.1",
      "_nodeVersion": "16.20.0",
      "_npmVersion": "8.19.4",
      "dist": {
        "integrity": "sha512-feZ5ziXs01zhyFUUUeZV5hwc0f5JW0Sh0ckU1koZe/wdVkJdGxcP06KNQuF0WBTj8FttQUzcvQcpcrOp/XrlEw==",
        "shasum": "4741d17a1735888c5388823762271dfe604bd019",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/ml-distance/-/ml-distance-4.0.1.tgz",
        "fileCount": 480,
        "unpackedSize": 247350,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIF+ldMOv7rkIwt8r6glnsJMTDS9g9WZDd3v1BQHqImZxAiB6fvnxUYCtClq8sLG8Q+waLUypUlqDwNazO96VL1uFmA=="
          }
        ]
      },
      "_npmUser": {
        "name": "mljs-bot",
        "email": "bot+npm-mljs@zakodium.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "stropitek",
          "email": "kostro.d@gmail.com"
        },
        {
          "name": "targos",
          "email": "targos+npm@protonmail.com"
        },
        {
          "name": "lpatiny",
          "email": "luc@patiny.com"
        },
        {
          "name": "mljs-bot",
          "email": "bot+npm-mljs@zakodium.com"
        },
        {
          "name": "cheminfo-bot",
          "email": "bot+npm-cheminfo@zakodium.com"
        },
        {
          "name": "maasencioh",
          "email": "maasencioh@gmail.com"
        },
        {
          "name": "jeffersonh44",
          "email": "jeffersonh44@gmail.com"
        },
        {
          "name": "andcastillo",
          "email": "andcastillo@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/ml-distance_4.0.1_1685613413754_0.4809814322442656"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "ml-distance",
  "time": {
    "modified": "2026-07-15T20:13:23.170Z",
    "created": "2014-11-18T06:40:55.442Z",
    "1.0.0": "2014-11-18T06:40:55.442Z",
    "1.0.1": "2015-06-23T08:33:45.820Z",
    "1.0.2": "2015-06-23T11:52:34.300Z",
    "1.1.0": "2015-07-15T09:33:35.687Z",
    "2.0.0": "2015-07-15T09:38:15.399Z",
    "2.0.1": "2015-07-15T12:16:29.562Z",
    "2.1.0": "2015-08-20T12:07:49.441Z",
    "2.1.1": "2016-08-03T06:36:51.567Z",
    "3.0.0": "2019-06-29T22:27:23.047Z",
    "4.0.0": "2023-01-06T17:08:59.212Z",
    "4.0.1": "2023-06-01T09:56:54.011Z"
  },
  "readmeFilename": "README.md",
  "contributors": [
    {
      "name": "Miguel Asencio"
    }
  ],
  "homepage": "https://github.com/mljs/distance"
}