@thi.ng/k-means 0.6.5 → 0.6.6

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-03-02T18:09:03Z
3
+ - **Last updated**: 2023-03-09T13:01:59Z
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
@@ -103,7 +103,7 @@ const clusters = kmeans(
103
103
  cities.map((x) => x.latlon),
104
104
  {
105
105
  // custom centroid calc for geo locations
106
- // https://docs.thi.ng/umbrella/k-means/modules.html#meansLatLon
106
+ // https://docs.thi.ng/umbrella/k-means/functions/meansLatLon.html
107
107
  strategy: meansLatLon,
108
108
  // custom distance function for geo location (default: DIST_SQ)
109
109
  dist: HAVERSINE_LATLON
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/k-means",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
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,14 +35,14 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@thi.ng/api": "^8.7.3",
38
- "@thi.ng/distance": "^2.2.6",
38
+ "@thi.ng/distance": "^2.2.7",
39
39
  "@thi.ng/errors": "^2.2.12",
40
40
  "@thi.ng/random": "^3.3.26",
41
- "@thi.ng/vectors": "^7.6.6"
41
+ "@thi.ng/vectors": "^7.6.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@microsoft/api-extractor": "^7.34.2",
45
- "@thi.ng/testament": "^0.3.11",
45
+ "@thi.ng/testament": "^0.3.12",
46
46
  "rimraf": "^4.1.2",
47
47
  "tools": "^0.0.1",
48
48
  "typedoc": "^0.23.24",
@@ -82,5 +82,5 @@
82
82
  "status": "beta",
83
83
  "year": 2021
84
84
  },
85
- "gitHead": "8342900eedc77bb09edb8c544804578b71f8acc6\n"
85
+ "gitHead": "8ab2cbfe2f59b7ef672b6e1cf2a43368f8437ddf\n"
86
86
  }