Developer Notes
This page will record implementation decisions and compatibility constraints that are important to future SNF2 contributors.
Design decisions
make_affinitycomputes pairwise distances from sample-by-feature data and delegates the shared SNF kernel toaffinity_matrix.affinity_matrixaccepts precomputed distances rather than similarities, so callers remain responsible for choosing a scientifically appropriate similarity-to-distance transformation.
Compatibility notes
- Missing-value handling belongs in preprocessing or in the distance
calculation. SNF2 does not define a generic
nan_policyfor SciPy metrics.
Open questions
No entries yet.