@thi.ng/k-means 0.7.7 → 0.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-08-18T14:11:34Z
3
+ - **Last updated**: 2024-09-19T21:09:34Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/kmeans.d.ts CHANGED
@@ -33,7 +33,7 @@ export declare const kmeans: <T extends ReadonlyVec>(k: number, samples: T[], op
33
33
  * @param dist -
34
34
  * @param rnd -
35
35
  */
36
- export declare const initKmeanspp: <T extends ReadonlyVec>(k: number, samples: T[], dist?: IDistance<ReadonlyVec>, rnd?: import("@thi.ng/random/system").SystemRandom) => number[];
36
+ export declare const initKmeanspp: <T extends ReadonlyVec>(k: number, samples: T[], dist?: IDistance<ReadonlyVec>, rnd?: import("@thi.ng/random").SystemRandom) => number[];
37
37
  /**
38
38
  * Default centroid strategy forming new centroids by averaging the position of
39
39
  * participating samples.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/k-means",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Configurable k-means & k-medians (with k-means++ initialization) for n-D vectors",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,17 +36,17 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.9",
40
- "@thi.ng/distance": "^2.4.87",
41
- "@thi.ng/errors": "^2.5.15",
42
- "@thi.ng/random": "^4.0.3",
43
- "@thi.ng/vectors": "^7.12.1"
39
+ "@thi.ng/api": "^8.11.10",
40
+ "@thi.ng/distance": "^2.4.88",
41
+ "@thi.ng/errors": "^2.5.16",
42
+ "@thi.ng/random": "^4.0.4",
43
+ "@thi.ng/vectors": "^7.12.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.47.5",
47
- "esbuild": "^0.23.0",
48
- "typedoc": "^0.26.5",
49
- "typescript": "^5.5.4"
46
+ "@microsoft/api-extractor": "^7.47.9",
47
+ "esbuild": "^0.23.1",
48
+ "typedoc": "^0.26.7",
49
+ "typescript": "^5.6.2"
50
50
  },
51
51
  "keywords": [
52
52
  "cluster",
@@ -85,5 +85,5 @@
85
85
  "year": 2021,
86
86
  "screenshot": "examples/kmeans-viz.jpg"
87
87
  },
88
- "gitHead": "8335e9571c2b9b13844ee4d8d24f99143c5f8816\n"
88
+ "gitHead": "b52baa3750ddd1256892df966ab7ac9b4806a9ef\n"
89
89
  }