Skip to content

Commit 6cc15f6

Browse files
mivertowskiclaude
andcommitted
feat(ml): add 4 innovation kernels - streaming anomaly and explainability (98 total)
Add 4 new ML kernels for real-time anomaly detection and model explainability: Streaming Anomaly Detection: - StreamingIsolationForest: Online anomaly detection with sliding window, incremental forest updates, and configurable rebuild intervals. - AdaptiveThreshold: Self-adjusting thresholds with Welford's online statistics, concept drift detection, and optional ground truth feedback. Explainability: - SHAPValues: Kernel SHAP approximation for model-agnostic feature explanations. Supports both sampling and weighted regression methods. - FeatureImportance: Permutation-based importance with multiple metrics (accuracy, MSE, MAE, R2) and ranking output. All 50 ML tests pass. Kernel count: 8 → 12 in ML crate, 98 total. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ace3f16 commit 6cc15f6

5 files changed

Lines changed: 1880 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Most kernels support both modes. Choose based on your latency requirements.
2626
| Domain | Crate | Kernels |
2727
|--------|-------|---------|
2828
| Graph Analytics | `rustkernel-graph` | 26 |
29-
| Statistical ML | `rustkernel-ml` | 8 |
29+
| Statistical ML | `rustkernel-ml` | 12 |
3030
| Compliance | `rustkernel-compliance` | 11 |
3131
| Temporal Analysis | `rustkernel-temporal` | 7 |
3232
| Risk Analytics | `rustkernel-risk` | 5 |
@@ -94,7 +94,7 @@ crates/
9494

9595
## Status
9696

97-
The port is functionally complete. All 94 kernels have been implemented with both BatchKernel and RingKernelHandler traits. K2K (kernel-to-kernel) messaging is in place for cross-kernel coordination patterns.
97+
The port is functionally complete. All 98 kernels have been implemented with both BatchKernel and RingKernelHandler traits. K2K (kernel-to-kernel) messaging is in place for cross-kernel coordination patterns.
9898

9999
Test coverage exists for all domains. Some edge cases in the behavioral analytics causal graph module remain flaky.
100100

0 commit comments

Comments
 (0)