Repository navigation
Conversation
added 4 commits
November 11, 2026 10:28
Port of the CPU path of faiss/contrib/e_means (arXiv:2611.09501) behind algorithm: 'emeans'. Lloyd remains the default. Adds tests and bench/run.js.
- packages/emeans: zero-dependency npm package (v0.1.0) with types, tests, license - kmpp 0.2.0 depends on emeans for algorithm: 'emeans' - fix iterations off-by-one and default assignments length - tests: 100% line coverage via c8; GitHub Actions replaces Travis
- emeans 0.1.1: ESM entry, exports map, richer README with benchmark and attribution - GitHub Actions: Pages deploy from docs/, tag-triggered npm release via OIDC trusted publishing with provenance - CI: npm pack dry-run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
algorithm: 'emeans'(mini-batch e-means, https://e-means.github.io/, arXiv:2611.09501); Lloyd stays the default.emeanspackage (packages/emeans, published as 0.1.0; 0.1.1 here adds ESM entry, exports map, README).iterationsreportedmaxIterations + 1when capped; defaultassignmentsarray had lengthkinstead ofn.bench/run.jsbenchmark.docs/, tag-triggered npm release via OIDC trusted publishing. Travis removed.Notes
emeans; do not publish it untilemeans@0.1.1is released.