New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/k-means

Package Overview
Dependencies
Maintainers
0
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/k-means - npm Package Compare versions

Comparing version 0.7.7 to 0.7.8

2

CHANGELOG.md
# Change Log
- **Last updated**: 2024-08-18T14:11:34Z
- **Last updated**: 2024-09-19T21:09:34Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -5,0 +5,0 @@

@@ -36,3 +36,3 @@ import type { IDistance } from "@thi.ng/distance";

*/
export declare const initKmeanspp: <T extends ReadonlyVec>(k: number, samples: T[], dist?: IDistance<ReadonlyVec>, rnd?: import("@thi.ng/random/system").SystemRandom) => number[];
export declare const initKmeanspp: <T extends ReadonlyVec>(k: number, samples: T[], dist?: IDistance<ReadonlyVec>, rnd?: import("@thi.ng/random").SystemRandom) => number[];
/**

@@ -39,0 +39,0 @@ * Default centroid strategy forming new centroids by averaging the position of

{
"name": "@thi.ng/k-means",
"version": "0.7.7",
"version": "0.7.8",
"description": "Configurable k-means & k-medians (with k-means++ initialization) for n-D vectors",

@@ -39,13 +39,13 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.11.9",
"@thi.ng/distance": "^2.4.87",
"@thi.ng/errors": "^2.5.15",
"@thi.ng/random": "^4.0.3",
"@thi.ng/vectors": "^7.12.1"
"@thi.ng/api": "^8.11.10",
"@thi.ng/distance": "^2.4.88",
"@thi.ng/errors": "^2.5.16",
"@thi.ng/random": "^4.0.4",
"@thi.ng/vectors": "^7.12.2"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.5",
"esbuild": "^0.23.0",
"typedoc": "^0.26.5",
"typescript": "^5.5.4"
"@microsoft/api-extractor": "^7.47.9",
"esbuild": "^0.23.1",
"typedoc": "^0.26.7",
"typescript": "^5.6.2"
},

@@ -89,3 +89,3 @@ "keywords": [

},
"gitHead": "8335e9571c2b9b13844ee4d8d24f99143c5f8816\n"
"gitHead": "b52baa3750ddd1256892df966ab7ac9b4806a9ef\n"
}
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