Skip to content

Add neighbors_method and eigen_method params to bindings#120

Merged
lisitsyn merged 3 commits intomainfrom
add-neighbors-eigen-method-params
Feb 12, 2026
Merged

Add neighbors_method and eigen_method params to bindings#120
lisitsyn merged 3 commits intomainfrom
add-neighbors-eigen-method-params

Conversation

@lisitsyn
Copy link
Owner

@lisitsyn lisitsyn commented Feb 12, 2026

Summary

  • Add neighbors_method parameter to Python and R bindings to control neighbor search strategy (brute, vptree, covertree)
  • Add eigen_method parameter to Python and R bindings to control eigendecomposition method (dense, randomized, arpack)
  • Both parameters are optional and default to library defaults when not specified

Test plan

  • Build and test Python bindings with neighbors_method and eigen_method arguments
  • Build and test R package with neighbors_method and eigen_method arguments
  • Verify error messages for invalid method names

🤖 Generated with Claude Code

lisitsyn and others added 3 commits February 12, 2026 13:12
…ndings

Allow users to control neighbor search strategy (brute, vptree, covertree)
and eigendecomposition method (dense, randomized, arpack) from both Python
and R interfaces.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…params

The auto-generated RcppExports.R and RcppExports.cpp were not regenerated
after adding the new parameters, causing "unused arguments" error at
package load time.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add R tests for brute/vptree neighbors and dense/randomized eigen methods,
plus error cases for unknown values. Add matching Python tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lisitsyn lisitsyn merged commit a114f01 into main Feb 12, 2026
15 checks passed
@lisitsyn lisitsyn deleted the add-neighbors-eigen-method-params branch February 15, 2026 11:45
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