@thi.ng/k-means 0.6.68 → 0.6.70

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-02-22T11:59:16Z
3
+ - **Last updated**: 2024-02-25T14:07:53Z
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
@@ -61,6 +61,9 @@ export declare const medians: CentroidStrategy;
61
61
  *
62
62
  * @example
63
63
  * ```ts
64
+ * import { kmeans, meansLatLon } from "@thi.ng/k-means";
65
+ * import { HAVERSINE_LATLON } from "@thi.ng/distance";
66
+ *
64
67
  * kmeans(3, [...], { strategy: meansLatLon, dist: HAVERSINE_LATLON })
65
68
  * ```
66
69
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/k-means",
3
- "version": "0.6.68",
3
+ "version": "0.6.70",
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.25",
39
- "@thi.ng/distance": "^2.4.53",
38
+ "@thi.ng/api": "^8.9.26",
39
+ "@thi.ng/distance": "^2.4.55",
40
40
  "@thi.ng/errors": "^2.4.18",
41
- "@thi.ng/random": "^3.6.32",
42
- "@thi.ng/vectors": "^7.10.11"
41
+ "@thi.ng/random": "^3.6.33",
42
+ "@thi.ng/vectors": "^7.10.13"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@microsoft/api-extractor": "^7.40.1",
@@ -82,5 +82,5 @@
82
82
  "status": "beta",
83
83
  "year": 2021
84
84
  },
85
- "gitHead": "16f2b92b5410bd35dcde6c2971c8e62783ebc472\n"
85
+ "gitHead": "190d68e7f7524631b333cfdbf32c6a23be27c166\n"
86
86
  }