@thi.ng/k-means 0.6.55 → 0.6.57

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**: 2023-12-31T09:44:24Z
3
+ - **Last updated**: 2024-01-26T18:03:04Z
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/README.md CHANGED
@@ -149,4 +149,4 @@ If this project contributes to an academic publication, please cite it as:
149
149
 
150
150
  ## License
151
151
 
152
- © 2021 - 2023 Karsten Schmidt // Apache License 2.0
152
+ © 2021 - 2024 Karsten Schmidt // Apache License 2.0
package/kmeans.d.ts CHANGED
@@ -23,7 +23,6 @@ export declare const kmeans: <T extends ReadonlyVec>(k: number, samples: T[], op
23
23
  * fulfilled (e.g. due to lower number of samples and/or distance metric).
24
24
  * Throws an error if `samples` are empty.
25
25
  *
26
- * @remarks
27
26
  * References:
28
27
  * - https://en.wikipedia.org/wiki/K-means%2B%2B
29
28
  * - http://ilpubs.stanford.edu:8090/778/1/2006-13.pdf
@@ -58,7 +57,7 @@ export declare const medians: CentroidStrategy;
58
57
  * @remarks
59
58
  * When using this strategy, you should also use the
60
59
  * [`HAVERSINE_LATLON`](https://docs.thi.ng/umbrella/distance/variables/HAVERSINE_LATLON.html)
61
- * distance metric for {@link KMeansOpts.distance}.
60
+ * distance metric for {@link KMeansOpts.dist}.
62
61
  *
63
62
  * @example
64
63
  * ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/k-means",
3
- "version": "0.6.55",
3
+ "version": "0.6.57",
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",
@@ -35,11 +35,11 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.16",
39
- "@thi.ng/distance": "^2.4.40",
40
- "@thi.ng/errors": "^2.4.10",
41
- "@thi.ng/random": "^3.6.23",
42
- "@thi.ng/vectors": "^7.8.15"
38
+ "@thi.ng/api": "^8.9.18",
39
+ "@thi.ng/distance": "^2.4.42",
40
+ "@thi.ng/errors": "^2.4.11",
41
+ "@thi.ng/random": "^3.6.25",
42
+ "@thi.ng/vectors": "^7.10.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@microsoft/api-extractor": "^7.39.0",
@@ -82,5 +82,5 @@
82
82
  "status": "beta",
83
83
  "year": 2021
84
84
  },
85
- "gitHead": "b3db173682e1148cf08a6bd907b8d90b47b7c066\n"
85
+ "gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
86
86
  }