- Last updated: 2024-11-10T17:11:51Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
0.7.10 (2024-10-05)
- add explicit type casts (TS5.6.2) (dcbdd60)
0.7.0 (2024-07-25)
- update
KMeansOpts.initial
(f70073d)- support custom init functions
- add KMeansInit type alias
- update handling in
kmeans()
0.6.89 (2024-06-21)
- enforce uniform naming convention of internal functions (56992b2)
0.6.85 (2024-04-20)
- update type usage (5966258)
0.6.43 (2023-11-09)
- update all tests (packages A-S) (e3085e4)
0.6.0 (2023-02-10)
- filter result clusters, minor optimizations (78169e6)
- use u32 array for internal cluster assignments
- remove attempt to start new cluster if one became unused
- update buildClusters to filter out empty
0.5.0 (2021-11-17)
- Using workspaces for local tools (bf7a404)
Improving the overall build ergonomics
- introduced a tools workspaces
- imported it in all needed packages/examples
- inclusive project root
- testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.
0.4.1 (2021-10-13)
- update imports in all pkgs (5fa2b6f)
- add .js suffix for all relative imports
- update imports in all tests/pkgs (effd591)
0.4.0 (2021-10-12)
- major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
- BREAKING CHANGE: discontinue CommonJS & UMD versions
- only ESM modules will be published from now on
- CJS obsolete due to ESM support in recent versions of node:
- i.e. launch NodeJS via:
node --experimental-specifier-resolution=node --experimental-repl-await
- in the node REPL use
await import(...)
instead ofrequire()
- UMD obsolete due to widespread browser support for ESM Also:
- normalize/restructure/reorg all package.json files
- cleanup all build scripts, remove obsolete
- switch from mocha to @thi.ng/testament for all tests
- update all tests in all pkgs (8b582bc)
- update all to use @thi.ng/testament
- update all test stubs (f2d6d53)
- update imports (138571a)
- update deps & imports in various pkgs (e1cf29e)
- largely related to recent updates/restructuring of these packages:
- api
- defmulti
- errors
- logger
- largely related to recent updates/restructuring of these packages:
0.3.0 (2021-08-04)
- auto-correct
k
if needed (d3c3ffa)- update initKmeanspp() & kmeans() to auto-adjust (reduce)
k
if needed - add potential failsafe to bail early in initKmeanspp()
- update initKmeanspp() & kmeans() to auto-adjust (reduce)
0.2.5 (2021-08-04)
- update initKmeanspp() (dd0d965)
- use
dist
for argmin() calls - use
rnd
for weightedRandom()
- use
0.2.0 (2021-04-20)
- add meansLatLon centroid strategy, docstrings (269c11c)
- update initKmeanspp() (193c054)
- ensure unique centroids
0.1.0 (2021-04-19)
- import as new pkg (a32aaf6)
- add k-medians support (6bc450b)
- add CentroidStrategy, update KMeansOpts
- update kmeans() to use strategy impl
- extract means() & medians() strategies
- add kmeans++ initialization, update opts (fcc2dcc)
- add
KMeansOpts.initial
to provide initial centroids - add initKmeanspp() impl
- update kmeans() to use improved init step (if needed)
- add
- use dist metric in initKmeanspp() (37bd6c6)
- update to use user-provided distance metric