feat: ADR-074/075/076 — SNN + MinCut + CNN Spectrogram (ruvector advanced sensing)#352
Merged
feat: ADR-074/075/076 — SNN + MinCut + CNN Spectrogram (ruvector advanced sensing)#352
Conversation
128→64→8 SNN with STDP online learning — adapts to room in <30s without labels. Event-driven: 16-160x less compute than FC encoder. - snn-csi-processor.js: live UDP with ASCII visualization, EWMA - ADR-073 updated with SNN integration for multi-channel fusion - Fixed magic number parsing to use ADR-018 format (0xC5110001) Co-Authored-By: claude-flow <ruv@ruv.net>
Stoer-Wagner min-cut on subcarrier correlation graph replaces broken threshold-based person counting (was always 4, now correct). Validated: 24/24 windows correctly report 1 person on test data where old firmware reported 4. Pure JS, <5ms per window. - mincut-person-counter.js: live UDP + JSONL replay, overrides vitals - csi-graph-visualizer.js: ASCII spectrum + correlation heatmap - ADR-075: algorithm, comparison, migration path Co-Authored-By: claude-flow <ruv@ruv.net>
CSI-as-image: 64x20 subcarrier×time matrix → 224x224 → CNN → 128-dim embedding. Same-node similarity 0.95+, cross-node 0.6-0.8. - csi-spectrogram.js: WASM CNN embedding, ASCII visualization, Seed ingest - mesh-graph-transformer.js: GATv2 multi-head attention over ESP32 mesh, fuses multi-node features, generalizes to 3+ nodes Co-Authored-By: claude-flow <ruv@ruv.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three ruvector capabilities integrated into the WiFi sensing pipeline:
ADR-074: Spiking Neural Network (online learning)
ADR-075: MinCut Person Separation (fixes #348)
ADR-076: CNN Spectrogram + Graph Transformer
Files
docs/adr/ADR-074-spiking-neural-csi-sensing.mdscripts/snn-csi-processor.jsdocs/adr/ADR-075-mincut-person-separation.mdscripts/mincut-person-counter.jsscripts/csi-graph-visualizer.jsdocs/adr/ADR-076-csi-spectrogram-embeddings.mdscripts/csi-spectrogram.jsscripts/mesh-graph-transformer.jsTest plan
🤖 Generated with claude-flow