Skip to content

add merge and remove opps to CVIs - #92

Merged
AP6YC merged 6 commits into
developfrom
merge-remove-ops
Sep 10, 2026
Merged

AP6YC merged 6 commits into
developfrom
merge-remove-ops

Conversation

@NiklasMelton

@NiklasMelton NiklasMelton commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

This PR introduces merge and remove ops for all CVIs (excluding CONN). These operations are defined in https://arxiv.org/pdf/2008.09903
CONN fundamentally does not support these ops due to its reliance on FuzzyART in incremental mode.

This PR also fixes some bugs in cSIL and unifies the internal representations between batch and incremental versions, allowing users to switch from batch mode to incremental updates.

merge and remove ops are fully supported for both batch and incrementally initialized CVIs.

@NiklasMelton NiklasMelton linked an issue Sep 9, 2026 that may be closed by this pull request
@NiklasMelton
NiklasMelton requested a review from AP6YC September 9, 2026 19:16
@AP6YC AP6YC self-assigned this Sep 10, 2026
@AP6YC AP6YC added the enhancement New feature or request label Sep 10, 2026
Comment thread src/cvi/modules/_base.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll trust that the logic here is sound, but I see that the user API is straightforward enough for merge and remove.

Comment thread tests/test_operations.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm gonna also trust that this test harness has sufficient coverage of the logic and edge cases.

@AP6YC
AP6YC merged commit 7639959 into develop Sep 10, 2026
7 checks passed
@AP6YC
AP6YC deleted the merge-remove-ops branch September 10, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add functions for remove, merge, and split operations

2 participants