ruv_neural_decoder/lib.rs
1//! rUv Neural Decoder -- Cognitive state classification and BCI decoding
2//! from neural topology embeddings.
3//!
4//! This crate provides multiple decoding strategies for classifying cognitive
5//! states from brain graph embeddings and topology metrics:
6//!
7//! - **KNN Decoder**: K-nearest neighbor classification using stored labeled embeddings
8//! - **Threshold Decoder**: Rule-based classification from topology metric ranges
9//! - **Transition Decoder**: State transition detection from topology dynamics
10//! - **Clinical Scorer**: Biomarker detection via deviation from healthy baselines
11//! - **Pipeline**: End-to-end ensemble decoder combining all strategies
12
13pub mod clinical;
14pub mod knn_decoder;
15pub mod pipeline;
16pub mod threshold_decoder;
17pub mod transition_decoder;
18
19pub use clinical::ClinicalScorer;
20pub use knn_decoder::KnnDecoder;
21pub use pipeline::{DecoderOutput, DecoderPipeline};
22pub use threshold_decoder::{ThresholdDecoder, TopologyThreshold};
23pub use transition_decoder::{StateTransition, TransitionDecoder, TransitionPattern};