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
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: mit
|
| 4 |
+
task_categories:
|
| 5 |
+
- text-classification
|
| 6 |
+
tags:
|
| 7 |
+
- clinical-trials
|
| 8 |
+
- five-node-cascade
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1K<n<10K
|
| 11 |
+
pretty_name: Clarus Clinical Five Node Shock Cascade Boundary v0.2
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# What this repo does
|
| 15 |
+
|
| 16 |
+
This dataset evaluates whether machine learning models can detect shock cascade boundary transitions using both system state and system trajectory.
|
| 17 |
+
|
| 18 |
+
Earlier Clarus datasets in the v0.1 series tested whether models could classify system state alone.
|
| 19 |
+
|
| 20 |
+
Clarus v0.2 datasets add a trajectory signal so models must determine not only where the system is, but where it is moving inside state space.
|
| 21 |
+
|
| 22 |
+
This benchmark therefore tests whether models can read trajectory inside state space and detect approaching instability even when the current state still appears locally stable.
|
| 23 |
+
|
| 24 |
+
# Five-node core
|
| 25 |
+
|
| 26 |
+
shock_pressure
|
| 27 |
+
physiological_buffer
|
| 28 |
+
intervention_delay
|
| 29 |
+
organ_coupling
|
| 30 |
+
hemodynamic_reserve
|
| 31 |
+
|
| 32 |
+
These five interacting variables represent a richer shock-state model for boundary-sensitive collapse detection.
|
| 33 |
+
|
| 34 |
+
All variables are normalized between 0 and 1.
|
| 35 |
+
|
| 36 |
+
Together they define the current position of the system inside the stability manifold.
|
| 37 |
+
|
| 38 |
+
# Trajectory Layer
|
| 39 |
+
|
| 40 |
+
This dataset includes a trajectory variable called drift_gradient.
|
| 41 |
+
|
| 42 |
+
drift_gradient measures the directional alignment between the system’s motion vector and the instability gradient of the system’s potential field.
|
| 43 |
+
|
| 44 |
+
Positive values indicate motion toward cascade.
|
| 45 |
+
Negative values indicate motion toward recovery.
|
| 46 |
+
|
| 47 |
+
This converts the dataset from a static boundary classifier into a trajectory-aware cascade boundary detection benchmark.
|
| 48 |
+
|
| 49 |
+
The core test is whether models can read trajectory inside state space rather than relying only on static variable levels.
|
| 50 |
+
|
| 51 |
+
# Drift definition
|
| 52 |
+
|
| 53 |
+
Let the system state be represented by vector x(t).
|
| 54 |
+
|
| 55 |
+
The previous system state is x(t−1).
|
| 56 |
+
|
| 57 |
+
System motion
|
| 58 |
+
|
| 59 |
+
Δx = x(t) − x(t−1)
|
| 60 |
+
|
| 61 |
+
Instability gradient
|
| 62 |
+
|
| 63 |
+
g = ∇Φ(x)
|
| 64 |
+
|
| 65 |
+
Drift alignment
|
| 66 |
+
|
| 67 |
+
drift_gradient = (Δx · g) / (||Δx|| ||g||)
|
| 68 |
+
|
| 69 |
+
Interpretation
|
| 70 |
+
|
| 71 |
+
+1 system moving directly toward cascade
|
| 72 |
+
0 neutral movement
|
| 73 |
+
−1 system moving toward recovery
|
| 74 |
+
|
| 75 |
+
Operational meaning
|
| 76 |
+
|
| 77 |
+
A positive drift_gradient such as +0.65 means the physiological trajectory is strongly aligned toward the shock boundary even if the current state appears only moderately stressed.
|
| 78 |
+
|
| 79 |
+
This is the false stability detection problem encoded by v0.2 datasets.
|
| 80 |
+
|
| 81 |
+
# Prediction target
|
| 82 |
+
|
| 83 |
+
label_shock_boundary_transition
|
| 84 |
+
|
| 85 |
+
The label identifies whether the system is undergoing a shock cascade boundary transition.
|
| 86 |
+
|
| 87 |
+
High drift toward cascade can trigger a positive label even when state variables remain within nominal range.
|
| 88 |
+
|
| 89 |
+
This lets the dataset test whether models can identify instability from state plus trajectory, not state alone.
|
| 90 |
+
|
| 91 |
+
# Binary simplification note
|
| 92 |
+
|
| 93 |
+
Shock boundary progression is continuous in clinical reality.
|
| 94 |
+
|
| 95 |
+
For benchmarking purposes the outcome is simplified to binary classification:
|
| 96 |
+
|
| 97 |
+
0 stable regime
|
| 98 |
+
1 shock boundary transition
|
| 99 |
+
|
| 100 |
+
This makes the benchmark suitable for evaluating early warning performance.
|
| 101 |
+
|
| 102 |
+
# Row structure
|
| 103 |
+
|
| 104 |
+
scenario_id
|
| 105 |
+
shock_pressure
|
| 106 |
+
physiological_buffer
|
| 107 |
+
intervention_delay
|
| 108 |
+
organ_coupling
|
| 109 |
+
hemodynamic_reserve
|
| 110 |
+
drift_gradient
|
| 111 |
+
label_shock_boundary_transition
|
| 112 |
+
|
| 113 |
+
State variables range between 0 and 1.
|
| 114 |
+
|
| 115 |
+
drift_gradient ranges between -1 and +1.
|
| 116 |
+
|
| 117 |
+
# Files
|
| 118 |
+
|
| 119 |
+
data/train.csv
|
| 120 |
+
data/tester.csv
|
| 121 |
+
scorer.py
|
| 122 |
+
README.md
|
| 123 |
+
|
| 124 |
+
# Evaluation
|
| 125 |
+
|
| 126 |
+
Binary classification metrics
|
| 127 |
+
|
| 128 |
+
accuracy
|
| 129 |
+
precision
|
| 130 |
+
recall_cascade_detection
|
| 131 |
+
false_safe_rate
|
| 132 |
+
f1
|
| 133 |
+
confusion_matrix
|
| 134 |
+
|
| 135 |
+
Primary metric
|
| 136 |
+
|
| 137 |
+
recall_cascade_detection
|
| 138 |
+
|
| 139 |
+
This prioritizes whether a model can detect cascade onset before visible deterioration.
|
| 140 |
+
|
| 141 |
+
false_safe_rate tracks the proportion of true cascade cases incorrectly predicted as safe.
|
| 142 |
+
|
| 143 |
+
# License
|
| 144 |
+
|
| 145 |
+
MIT
|
| 146 |
+
|
| 147 |
+
# Structural Note
|
| 148 |
+
|
| 149 |
+
Clarus datasets explore instability dynamics in coupled systems.
|
| 150 |
+
|
| 151 |
+
The v0.2 series adds trajectory awareness to test whether models can detect movement toward failure boundaries rather than only classify static state snapshots.
|
| 152 |
+
|
| 153 |
+
# Production Deployment
|
| 154 |
+
|
| 155 |
+
These datasets support experimentation and benchmarking for early instability detection across domains including:
|
| 156 |
+
|
| 157 |
+
clinical deterioration
|
| 158 |
+
infrastructure instability
|
| 159 |
+
financial contagion
|
| 160 |
+
AI multi-agent systems
|
| 161 |
+
supply chain collapse
|
| 162 |
+
|
| 163 |
+
# Enterprise & Research Collaboration
|
| 164 |
+
|
| 165 |
+
Organizations interested in trajectory-aware cascade detection, false stability benchmarking, or operational early warning systems may contact the Clarus project for collaboration.
|