Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ml-distance

Package Overview
Dependencies
Maintainers
8
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-distance - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

src/similarities.ts

21

lib-esm/similarities.d.ts

@@ -0,12 +1,13 @@

import * as tree from 'ml-tree-similarity';
export { tree };
export { default as cosine } from "./similarities/cosine";
export { default as czekanowski } from "./similarities/czekanowski";
export { default as dice } from "./similarities/dice";
export { default as intersection } from "./similarities/intersection";
export { default as kulczynski } from "./similarities/kulczynski";
export { default as motyka } from "./similarities/motyka";
export { default as pearson } from "./similarities/pearson";
export { default as squaredChord } from "./similarities/squaredChord";
export { default as tanimoto } from "./similarities/tanimoto";
export { default as kumarHassebrook } from "./similarities/kumarHassebrook";
export { default as cosine } from './similarities/cosine';
export { default as czekanowski } from './similarities/czekanowski';
export { default as dice } from './similarities/dice';
export { default as intersection } from './similarities/intersection';
export { default as kulczynski } from './similarities/kulczynski';
export { default as motyka } from './similarities/motyka';
export { default as pearson } from './similarities/pearson';
export { default as squaredChord } from './similarities/squaredChord';
export { default as tanimoto } from './similarities/tanimoto';
export { default as kumarHassebrook } from './similarities/kumarHassebrook';
//# sourceMappingURL=similarities.d.ts.map

@@ -0,1 +1,2 @@

// @ts-expect-error ml-tree-similarity is not typed
import * as tree from 'ml-tree-similarity';

@@ -2,0 +3,0 @@ export { tree };

@@ -0,12 +1,13 @@

import * as tree from 'ml-tree-similarity';
export { tree };
export { default as cosine } from "./similarities/cosine";
export { default as czekanowski } from "./similarities/czekanowski";
export { default as dice } from "./similarities/dice";
export { default as intersection } from "./similarities/intersection";
export { default as kulczynski } from "./similarities/kulczynski";
export { default as motyka } from "./similarities/motyka";
export { default as pearson } from "./similarities/pearson";
export { default as squaredChord } from "./similarities/squaredChord";
export { default as tanimoto } from "./similarities/tanimoto";
export { default as kumarHassebrook } from "./similarities/kumarHassebrook";
export { default as cosine } from './similarities/cosine';
export { default as czekanowski } from './similarities/czekanowski';
export { default as dice } from './similarities/dice';
export { default as intersection } from './similarities/intersection';
export { default as kulczynski } from './similarities/kulczynski';
export { default as motyka } from './similarities/motyka';
export { default as pearson } from './similarities/pearson';
export { default as squaredChord } from './similarities/squaredChord';
export { default as tanimoto } from './similarities/tanimoto';
export { default as kumarHassebrook } from './similarities/kumarHassebrook';
//# sourceMappingURL=similarities.d.ts.map

@@ -30,2 +30,3 @@ "use strict";

exports.kumarHassebrook = exports.tanimoto = exports.squaredChord = exports.pearson = exports.motyka = exports.kulczynski = exports.intersection = exports.dice = exports.czekanowski = exports.cosine = exports.tree = void 0;
// @ts-expect-error ml-tree-similarity is not typed
const tree = __importStar(require("ml-tree-similarity"));

@@ -32,0 +33,0 @@ exports.tree = tree;

{
"name": "ml-distance",
"version": "4.0.0",
"version": "4.0.1",
"description": "Distance and similarity functions to compare vectors",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc