- Last updated: 2022-03-11T12:13:49Z
- 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.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 tests/pkgs (effd591)
- update imports in all pkgs (5fa2b6f)
- add .js suffix for all relative imports
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 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:
- update imports (138571a)
- update all test stubs (f2d6d53)
- update all tests in all pkgs (8b582bc)
- update all to use @thi.ng/testament
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)
- 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
- add k-medians support (6bc450b)
- add CentroidStrategy, update KMeansOpts
- update kmeans() to use strategy impl
- extract means() & medians() strategies
- import as new pkg (a32aaf6)
- use dist metric in initKmeanspp() (37bd6c6)
- update to use user-provided distance metric