@thi.ng/k-means 0.5.31 → 0.5.32
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 +11 -11
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -32,9 +32,9 @@ and/or version bumps of transitive dependencies.
|
|
|
32
32
|
|
|
33
33
|
#### ♻️ Refactoring
|
|
34
34
|
|
|
35
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
36
35
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
37
36
|
- add .js suffix for all relative imports
|
|
37
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
38
38
|
|
|
39
39
|
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/k-means@0.4.0) (2021-10-12)
|
|
40
40
|
|
|
@@ -55,16 +55,16 @@ and/or version bumps of transitive dependencies.
|
|
|
55
55
|
|
|
56
56
|
#### ♻️ Refactoring
|
|
57
57
|
|
|
58
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
59
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
60
|
+
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
61
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
58
62
|
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
59
63
|
- largely related to recent updates/restructuring of these packages:
|
|
60
64
|
- api
|
|
61
65
|
- defmulti
|
|
62
66
|
- errors
|
|
63
67
|
- logger
|
|
64
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
65
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
66
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
67
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
68
68
|
|
|
69
69
|
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/k-means@0.3.0) (2021-08-04)
|
|
70
70
|
|
|
@@ -97,15 +97,15 @@ and/or version bumps of transitive dependencies.
|
|
|
97
97
|
|
|
98
98
|
#### 🚀 Features
|
|
99
99
|
|
|
100
|
-
-
|
|
101
|
-
- add `KMeansOpts.initial` to provide initial centroids
|
|
102
|
-
- add initKmeanspp() impl
|
|
103
|
-
- update kmeans() to use improved init step (if needed)
|
|
100
|
+
- import as new pkg ([a32aaf6](https://github.com/thi-ng/umbrella/commit/a32aaf6))
|
|
104
101
|
- add k-medians support ([6bc450b](https://github.com/thi-ng/umbrella/commit/6bc450b))
|
|
105
102
|
- add CentroidStrategy, update KMeansOpts
|
|
106
103
|
- update kmeans() to use strategy impl
|
|
107
104
|
- extract means() & medians() strategies
|
|
108
|
-
-
|
|
105
|
+
- add kmeans++ initialization, update opts ([fcc2dcc](https://github.com/thi-ng/umbrella/commit/fcc2dcc))
|
|
106
|
+
- add `KMeansOpts.initial` to provide initial centroids
|
|
107
|
+
- add initKmeanspp() impl
|
|
108
|
+
- update kmeans() to use improved init step (if needed)
|
|
109
109
|
|
|
110
110
|
#### 🩹 Bug fixes
|
|
111
111
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/k-means",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.32",
|
|
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,18 +34,18 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.4.
|
|
38
|
-
"@thi.ng/distance": "^2.1.
|
|
39
|
-
"@thi.ng/errors": "^2.2.
|
|
40
|
-
"@thi.ng/random": "^3.3.
|
|
41
|
-
"@thi.ng/vectors": "^7.5.
|
|
37
|
+
"@thi.ng/api": "^8.4.6",
|
|
38
|
+
"@thi.ng/distance": "^2.1.32",
|
|
39
|
+
"@thi.ng/errors": "^2.2.4",
|
|
40
|
+
"@thi.ng/random": "^3.3.15",
|
|
41
|
+
"@thi.ng/vectors": "^7.5.24"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@microsoft/api-extractor": "^7.33.5",
|
|
45
|
-
"@thi.ng/testament": "^0.3.
|
|
45
|
+
"@thi.ng/testament": "^0.3.5",
|
|
46
46
|
"rimraf": "^3.0.2",
|
|
47
47
|
"tools": "^0.0.1",
|
|
48
|
-
"typedoc": "^0.23.
|
|
48
|
+
"typedoc": "^0.23.20",
|
|
49
49
|
"typescript": "^4.8.4"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"node": ">=12.7"
|
|
65
65
|
},
|
|
66
66
|
"files": [
|
|
67
|
-
"
|
|
68
|
-
"
|
|
67
|
+
"./*.js",
|
|
68
|
+
"./*.d.ts"
|
|
69
69
|
],
|
|
70
70
|
"exports": {
|
|
71
71
|
".": {
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"status": "beta",
|
|
83
83
|
"year": 2021
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
|
|
86
86
|
}
|