Backend guide
Every backend builds prototypes owned by individual labels. OverlapIndex then
uses a common scoring interface, so the public fit, score, and predict
methods stay the same. The backend changes how prototypes are constructed and
whether state can be updated incrementally.
Choosing a backend
Backend |
Update model |
Sparse |
Multi-label |
Best fit |
|---|---|---|---|---|
Offline/refit |
Yes |
Yes |
Default choice and large batch datasets |
|
Offline/refit |
Yes |
Yes |
Smaller datasets where full KMeans is affordable |
|
Offline/refit |
No |
Yes |
Shape- or support-sensitive geometry |
|
Incremental |
No |
No online multi-label path |
Streaming bounded features with Fuzzy ART prototypes |
|
Incremental |
No |
No online multi-label path |
Streaming data with radius-based prototypes |
Start with MiniBatchKMeans unless the use case provides a specific reason to choose another backend. Backend scores are not automatically interchangeable: prototype geometry and granularity affect the measured overlap. Compare models using the same backend and settings.