@thi.ng/k-means 0.5.12 → 0.5.13

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**: 2022-05-07T11:33:36Z
3
+ - **Last updated**: 2022-06-09T16:14:01Z
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
@@ -12,7 +12,7 @@ import type { CentroidStrategy, Cluster, KMeansOpts } from "./api.js";
12
12
  * @param samples -
13
13
  * @param opts -
14
14
  */
15
- export declare const kmeans: <T extends ReadonlyVec>(k: number, samples: T[], opts?: Partial<KMeansOpts> | undefined) => Cluster[];
15
+ export declare const kmeans: <T extends ReadonlyVec>(k: number, samples: T[], opts?: Partial<KMeansOpts>) => Cluster[];
16
16
  /**
17
17
  * k-means++ initialization / selection of initial cluster centroids. Default
18
18
  * centroid initialization method for {@link kmeans}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/k-means",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
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",
@@ -34,19 +34,19 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.6",
38
- "@thi.ng/distance": "^2.1.12",
39
- "@thi.ng/errors": "^2.1.6",
40
- "@thi.ng/random": "^3.3.0",
41
- "@thi.ng/vectors": "^7.5.4"
37
+ "@thi.ng/api": "^8.3.7",
38
+ "@thi.ng/distance": "^2.1.13",
39
+ "@thi.ng/errors": "^2.1.7",
40
+ "@thi.ng/random": "^3.3.1",
41
+ "@thi.ng/vectors": "^7.5.5"
42
42
  },
43
43
  "devDependencies": {
44
- "@microsoft/api-extractor": "^7.23.1",
45
- "@thi.ng/testament": "^0.2.7",
44
+ "@microsoft/api-extractor": "^7.25.0",
45
+ "@thi.ng/testament": "^0.2.8",
46
46
  "rimraf": "^3.0.2",
47
47
  "tools": "^0.0.1",
48
- "typedoc": "^0.22.15",
49
- "typescript": "^4.6.4"
48
+ "typedoc": "^0.22.17",
49
+ "typescript": "^4.7.3"
50
50
  },
51
51
  "keywords": [
52
52
  "cluster",
@@ -82,5 +82,5 @@
82
82
  "status": "beta",
83
83
  "year": 2021
84
84
  },
85
- "gitHead": "e23901b8582af71d8a29e0ce4929f15ac509f9e5\n"
85
+ "gitHead": "9e516d30a1a537e027a6b3d78bf9121bc5831d31\n"
86
86
  }