Skip to content

enforce geometric constraint k >= E+1 in optimal parameter search - #81

Merged
SpatLyu merged 4 commits into
stscl:mainfrom
SpatLyu:dev
Sep 22, 2026
Merged

SpatLyu merged 4 commits into
stscl:mainfrom
SpatLyu:dev

Conversation

@SpatLyu

@SpatLyu SpatLyu commented Sep 22, 2026

Copy link
Copy Markdown
Member

The Simplex Projection relies on constructing an $E$-dimensional simplex to interpolate future states. This geometric operation fundamentally requires $k \ge E+1$ nearest neighbors. Previously, the ops function lacked strict validation for this constraint, which could result in undefined behavior when users specified a $k$ value smaller than the embedding dimension $E$.

@SpatLyu SpatLyu self-assigned this Sep 22, 2026
@SpatLyu
SpatLyu merged commit 5970ae4 into stscl:main Sep 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant