Visual trace of data moving from raw CSV files / biosensors through validation, 5-model arbitration, C99 export, and dual-plane runtime.
Ingests continuous physiological vitals from batch CSV records or physical serial streams ($HR,SPO2...).
Purges alarm columns to eliminate target leakage, repairs corrupt degree symbols, synthesizes Risk_Severity, and normalizes via StandardScaler.
Evaluates the 6D vector across 5 parallel estimators (RF, MLP, LogReg, SVM, KNN), arbitrating posteriors with -42.6% variance reduction.
Transpiles Scikit-Learn AST directly into standalone zero-malloc C99 headers with INT8 quantization, reducing SRAM by -76.4%.
Deterministic execution on ESP32-S3 (< 20 µs) and In-Browser TinyML client (0.0 KB egress) with fallback cloud REST orchestration.
Formal mathematical equations governing soft-voting posterior arbitration, standard scaling, and INT8 quantization.
Standardizes all continuous vitals to zero mean and unit variance based on active population statistics, preventing gradient explosion in MLP and distance skew in KNN.
Deterministic discrete interaction indicator (0, 1, or 2) injected prior to estimator evaluation to capture acute cardiovascular shock risk without tree depth expansion.
Quantizes continuous 32-bit floating point weights into signed 8-bit integers, compressing ensemble SRAM footprint from 34.8 KB down to 8.2 KB (-76.4%).
Converts uncalibrated SVM hyperplane decision distances f(X) into authentic probability distributions using maximum likelihood logistic regression fitting.
| Estimator Architecture | FP32 Memory | INT8 Quantized | Savings | Microcontroller Targets |
|---|---|---|---|---|
| Random Forest (30 Trees, D=5) | 16,384 bytes | 4,096 bytes | -75.0% | ESP32, RP2040, Cortex-M4 |
| Small-NN (MLP 16x8 ReLU) | 7,168 bytes | 1,792 bytes | -75.0% | ESP32, RP2040, Cortex-M4 |
| Linear Support Vector Machine | 3,584 bytes | 896 bytes | -75.0% | ESP32, RP2040, Cortex-M4 |
| Logistic Regression (L2) | 3,072 bytes | 768 bytes | -75.0% | ESP32, RP2040, Cortex-M4 |
| k-Nearest Neighbors (k=5) | 4,400 bytes | 600 bytes | -86.4% | ESP32, RP2040, Cortex-M4 |
Transpiler emits strictly static lookup tables and stack-allocated arrays. Zero invocations of malloc(), free(), or calloc() guarantees zero heap fragmentation and immune to out-of-memory kernel panics.
Recursion is completely unrolled into deterministic iterative loops. Maximum call-stack depth is strictly bounded at compile-time to less than 512 bytes, ensuring safe co-existence with FreeRTOS task stacks.