Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'within_published_range'}) and 1 missing columns ({'ratio_model_to_published'}).

This happened while the csv dataset builder was generating data using

hf://datasets/thehekimoghlu/Thalamus/results/C_validation.csv (at revision 49c45de6f6562d347aebc95876686cbb35e7d5af), ['hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/B_tissue_fate_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/C_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/D_prr_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/D_time_course_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/G_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/J_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/K_disparity_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/M_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S21_B_tissue_fate_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S22_C_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S25_D_time_course_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S39_D_prr_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S51_G_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S63_J_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S68_K_disparity_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S80_M_validation.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              quantity: string
              model: double
              published: double
              pub_lo: double
              pub_hi: double
              used_in_calibration: bool
              src: int64
              within_published_range: bool
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1225
              to
              {'quantity': Value('string'), 'model': Value('float64'), 'published': Value('float64'), 'pub_lo': Value('float64'), 'pub_hi': Value('float64'), 'used_in_calibration': Value('bool'), 'src': Value('int64'), 'ratio_model_to_published': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'within_published_range'}) and 1 missing columns ({'ratio_model_to_published'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/thehekimoghlu/Thalamus/results/C_validation.csv (at revision 49c45de6f6562d347aebc95876686cbb35e7d5af), ['hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/B_tissue_fate_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/C_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/D_prr_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/D_time_course_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/G_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/J_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/K_disparity_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/results/M_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S21_B_tissue_fate_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S22_C_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S25_D_time_course_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S39_D_prr_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S51_G_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S63_J_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S68_K_disparity_validation.csv', 'hf://datasets/thehekimoghlu/Thalamus@49c45de6f6562d347aebc95876686cbb35e7d5af/supplementary/Table_S80_M_validation.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

quantity
string
model
float64
published
float64
pub_lo
null
pub_hi
null
used_in_calibration
bool
src
int64
ratio_model_to_published
float64
median IGR (mL/h)
8.103058
8.1
null
null
true
211
1.000377
IGR 25th percentile (mL/h)
4.41632
0.5
null
null
false
211
8.832639
IGR 75th percentile (mL/h)
14.650226
15.4
null
null
false
211
0.951313
slow progressors (%)
29.7
63.5
null
null
false
211
0.467717
intermediate progressors (%)
30.1
12.4
null
null
false
211
2.427419
fast progressors (%)
40.2
24.1
null
null
false
211
1.66805
collateral-growth correlation r
-0.479682
-0.456
null
null
true
213
1.051935
median time to 95% of final infarct (h)
16.75
10
null
null
false
203
1.675
median final infarct volume (mL)
44.701249
54
null
null
false
203
0.827801
IGR in slower 40% of cohort (mL/h)
3.78998
2
null
null
false
213
1.89499
IGR in faster 40% of cohort (mL/h)
16.679933
11.3
null
null
false
213
1.4761
final volume, faster vs slower group (mL)
3.245208
8.953125
null
null
false
213
0.362467
extracellular K+ plateau, core (mM)
60
60
null
null
true
214
null
intracellular Na+, core (mM)
40
40
null
null
true
214
null
minimum tissue pH, core
6.5
6.5
null
null
true
216
null
time to 50% irreversible injury, core (h)
10
10
null
null
true
203
null
infl peak time (h)
24
24
null
null
true
236
null
mmp peak time (h)
18
18
null
null
true
228
null
bbb peak time (h)
36.266667
36
null
null
true
228
null
wat peak time (h)
59.733333
60
null
null
true
239
null
crp peak time (h)
133.233333
132
null
null
true
233
null
wbc peak time (h)
12
12
null
null
true
233
null
first SD latency, core (min)
1.5
1.5
null
null
true
214
null
first SD latency at zero flow vs slice OGD (min)
1.3
5.1
null
null
false
215
null
SD events in the first 6 h, core
13
6
null
null
false
207
null
Ca2+ rise by 8 min at 15% flow (fold)
1.82
1.82
null
null
true
226
null
minimum ATP at 45% flow (mM, expected near baseline)
2
2
null
null
false
218
null
arterial oxygen content implied by the verified PET triple (mL O2/mL)
0.168919
0.18
null
null
false
205
null
oxygen-limited penumbral ceiling (mL/100 g/min)
22.983529
22
null
null
false
209
null
oxidative reserve inferred from the pump-failure threshold (x resting demand)
2.872941
2.5
null
null
true
204
null
irreversible injury at 100% flow (fraction, expected 0)
0
0
null
null
false
218
null
recovery proportion (slope)
null
0.7
null
null
null
401
null
R^2 of the proportional fit
null
null
null
null
null
403
null
variance ratio k
null
null
null
null
null
403
null
cor(initial impairment, observed change)
null
null
null
null
null
403
null
non-fitter fraction (%)
null
null
null
null
null
402
null
FM gain, weeks 0-2
6.684158
6.886
null
null
true
408
null
FM gain, weeks 2-4
3.870527
3.844
null
null
true
408
null
FM gain, weeks 4-6
2.595602
2.584
null
null
true
408
null
fraction of recovery by 4 months (%)
86.318188
90
null
null
false
408
null
detectable-change threshold implied by the mild plateau (FM points)
1.346082
2.083808
null
null
false
409
null
plateau week, mild third (at the implied threshold)
4.691729
6.5
null
null
false
409
null
plateau week, severe third (at the implied threshold)
20.591479
15
null
null
false
409
null
per-week gradient, subacute (%)
5.2
5.2
null
null
true
409
null
per-week gradient, early chronic (%)
2.694321
2.7
null
null
true
409
null
per-week gradient, late chronic (%)
1.399058
1.4
null
null
true
409
null
overall expansion frequency (%)
19.9875
20
null
null
true
611
null
expansion if first CT <3 h (%)
23.272398
40.8
null
null
false
613
null
expansion if first CT 3-24 h (%)
17.388384
20.2
null
null
false
613
null
mortality, volume>=30 mL and GCS<9 (%)
90.321742
91
null
null
true
605
null
mortality, volume<30 mL and GCS>=9 (%)
19.19523
19
null
null
true
605
null
overall 1-month case fatality (%)
40.060774
35.5
null
null
false
603
null
mortality reduction from a 47.9 mL evacuation (percentage points)
15.628784
8.7
null
null
false
633
null
effective depolarisation front speed (mm/min)
2.846279
2.5
null
null
false
207
1.138512
depolarisations in the first 6 h (events)
5
6
null
null
false
207
0.833333
anoxic-depolarisation latency (min)
1.500833
1.5
null
null
true
214
1.000556
repolarisation time, perfused (min)
1.5
1.5
null
null
true
214
1
depolarisation duration in the core (min)
1.390723
25
null
null
false
214
0.055629
median final infarct volume (mL)
56.884115
54
null
null
false
203
1.05341
mean final infarct volume, MCA territory (mL)
64.397002
32.2
null
null
false
729
1.999907
median growth rate over the first 3 h (mL/h)
11.98476
8.1
null
null
false
211
1.4796
early growth rate, slower 40% (mL/h)
4.913678
6.7
null
null
false
730
0.733385
early growth rate, faster 40% (mL/h)
13.527155
23.9
null
null
false
730
0.56599
late growth rate, slower 40% (mL/h)
0.276463
0.3
null
null
false
730
0.921544
late growth rate, faster 40% (mL/h)
0.702981
2
null
null
false
730
0.351491
share of final infarct already infarcted at 3 h imaging (%)
71.16592
70
null
null
false
732
1.016656
share of final infarct arising in surviving penumbra at 3 h (%)
0.44686
18
null
null
false
732
0.024826
median core volume at 3 h (mL)
35.980326
20
null
null
false
727
1.799016
mismatch prevalence at 6 h (%)
80.555556
75
null
null
false
728
1.074074
mismatch prevalence at 18 h (%)
72.222222
44
null
null
false
728
1.641414
relative risk at 45 y
2.9
2.9
null
null
true
751
1
relative risk at 65 y
1.66
1.66
null
null
true
751
1
residual relative risk at 45 y after risk factors
2.14
2.14
null
null
false
751
1
residual relative risk at 65 y after risk factors
1.363
1.35
null
null
false
751
1.00963
age at which the modelled relative risk reaches 1
83.168985
null
null
null
false
derived
null
Fugl-Meyer gain from doubled treatment duration (points)
6.612407
6.73
null
null
true
430
0.982527
Fugl-Meyer gain from a 300-hour programme (points)
6.633702
10
null
null
false
429
0.66337
efficacy of the same dose given acute, relative to subacute
0.684136
0.764192
null
null
false
410
0.895241
efficacy of the same dose given chronic, relative to subacute
0.474898
0.350801
null
null
false
410
1.353756
ratio of subacute to late-chronic value of an hour
3.714286
3.714286
null
null
true
409
1
median IGR (mL/h)
8.103058
8.1
null
null
true
211
1.000377
IGR 25th percentile (mL/h)
4.41632
0.5
null
null
false
211
8.832639
IGR 75th percentile (mL/h)
14.650226
15.4
null
null
false
211
0.951313
slow progressors (%)
29.7
63.5
null
null
false
211
0.467717
intermediate progressors (%)
30.1
12.4
null
null
false
211
2.427419
fast progressors (%)
40.2
24.1
null
null
false
211
1.66805
collateral-growth correlation r
-0.479682
-0.456
null
null
true
213
1.051935
median time to 95% of final infarct (h)
16.75
10
null
null
false
203
1.675
median final infarct volume (mL)
44.701249
54
null
null
false
203
0.827801
IGR in slower 40% of cohort (mL/h)
3.78998
2
null
null
false
213
1.89499
IGR in faster 40% of cohort (mL/h)
16.679933
11.3
null
null
false
213
1.4761
final volume, faster vs slower group (mL)
3.245208
8.953125
null
null
false
213
0.362467
extracellular K+ plateau, core (mM)
60
60
null
null
true
214
null
intracellular Na+, core (mM)
40
40
null
null
true
214
null
minimum tissue pH, core
6.5
6.5
null
null
true
216
null
time to 50% irreversible injury, core (h)
10
10
null
null
true
203
null
infl peak time (h)
24
24
null
null
true
236
null
mmp peak time (h)
18
18
null
null
true
228
null
bbb peak time (h)
36.266667
36
null
null
true
228
null
wat peak time (h)
59.733333
60
null
null
true
239
null
End of preview.

The Cybernetic Neuromorphic Framework: an Artificial Peripheral Thalamus for the Stroke Continuum

A fourteen-module multi-scale model, built only from public data, that specifies what the device must do — and what it cannot be expected to achieve

Authors. Tunjay Akbarli¹, Parvin Akbarov²

  • ¹ Chief Architect, Omnira CJSC, Baku, Azerbaijan
  • ² MSc Healthcare Administration, Johns Hopkins University, Baltimore, MD, USA

Correspondence. T.A.: tunjay.akbarli@theomnira.com

Background. The device this paper is built around is an artificial peripheral thalamus: a cybernetic neuromorphic relay that stands in for the damaged afferent pathway after stroke, regulating the timing and fidelity of sensory feedback during active movement. A device of that kind is only as good as the answer to three questions — how much benefit is available to it at all, how fast its loop must close, and when in the recovery course its sessions should be spent. None of the three can be answered inside the rehabilitation literature, because all three are set upstream: by the flow field that decided how much cortex survived, by the cascade that decided how fast that decision was made, and by the kinetics of the sensitive period that decides what any training can still reach. We therefore built the disease model the device needs, and held both to the same standard of evidence.

Methods. We assembled a provenance-tagged public evidence base spanning the whole stroke continuum — NCBI (Gene, dbSNP via the Ensembl mirror, GEO, PubChem BioAssay, UniProt/RCSB), Data.gov and CDC (NVSS mortality, PLACES, BRFSS, NHANES), GBD, and the primary literature — in which every value carries a numeric source key and a primary/secondary/UNVERIFIED flag, and unverified cells raise an exception rather than being imputed. On that base we built fourteen coupled modules sharing one state vector: K social and access geography, A genomic risk architecture, F a curated multi-layer molecular network, B perfusion and tissue fate, C a fourteen-state ictal cascade, J a spatially resolved stochastic reaction–diffusion model of infarct growth with spreading depolarisation, G haemorrhage and haematoma expansion, H small-vessel disease, post-stroke cognition and aphasia, I a therapeutic layer that asks what effect each failed neuroprotection trial could have attained, D a two-timescale recovery law, E the closed-loop interface, M a stochastic dynamic program for the device's own schedule, and L/N the inferential machinery — Bayesian posteriors, bootstrap intervals, profile-likelihood identifiability, variance-based sensitivity and multiplicity control. Free constants were solved inside the model against named verified observations; every other comparison was reserved as an out-of-sample test.

Results. Eighty-four comparisons with the published literature, fifty-two of them out-of-sample; fifteen carry a published interval from which a standard error can be recovered, five disagree uncorrected, and four survive Benjamini–Hochberg control of the false-discovery rate. The device layer is specified rather than asserted: at matched dose the entire achievable benefit of better feedback is a standardised mean difference of 0.29 at 10 ms loop latency — bracketing the published robot-training effect of 0.32 — falling to zero from about 80 ms; and the stochastic dynamic program shows that at a 20-hour budget the same hours spread evenly across the year fall below the verified dose threshold of 1.72 times usual care and buy nothing, while concentrated they yield 6.6 Fugl-Meyer points and clear the minimal clinically important difference. At the verified repetition rates, the dose threshold is reached at 43 minutes a week of therapist-delivered practice and 4 minutes a week through the device, so the device's value is not a multiplier on an effect that already exists but the fact that it reaches the threshold at a tenth of the contact time. Upstream, the model reproduces the published median infarct growth rate, time to complete infarction and collateral–growth correlation with one calibrated parameter; a spatially resolved reaction–diffusion model on a cortical sheet meets 12 of 17 spatial benchmarks and shows that recurrent depolarisations recruit only 0.13% of the final infarct volume while advancing its completion; the haemorrhage layer attributes 55% of the effect of intensive blood-pressure lowering to haematoma growth; and the therapeutic layer finds that 15 of 15 neuroprotection trials were powered to detect an effect larger than the largest effect attainable at their own treatment window, a conclusion that survives replacing the framework's salvage curve with the steeper one the published reperfusion ladder itself implies. Three independent benchmarks — the thrombolysis time gradient, the penumbral share of the final infarct, and mismatch prevalence at 18 hours — fail in the same direction, which locates a specific defect in the framework's tolerance curve rather than a diffuse one. The motor recovery law does not transfer to language: all four aphasia benchmarks fail. Turning the negative therapeutic result into a specification, a delivery-physics layer shows that interstitial penetration falls only as the inverse square root of carrier radius — so size is a weak lever — while the penumbra receives 38% of the delivery normally perfused cortex receives, and that a sustained selective enrichment of about sevenfold in penumbral tissue, which no improvement in potency can substitute for, is what would convert the attainable effect into a detectable one. Where someone lives is not a footnote to the genome: the modifiable risk-factor burden is 7 times the liability variance the polygenic score explains, and the documented racial gap in thrombectomy access is worth at least half an hour of additional transport time on the most conservative calibration of the time–benefit curve.

Conclusions. A single framework can carry state from a postcode and a genotype through a spatially resolved infarct to a rehabilitation schedule, using public data alone, with every value traceable to its source. Its value is less prediction than arbitration and specification: it identifies published quantities that cannot simultaneously be true, it says what a closed-loop interface can and cannot buy before the trial is run, and it reports its own failures — eight of which are converted into pre-registered predictions with numeric falsification thresholds.

Keywords. stroke; artificial peripheral thalamus; closed-loop rehabilitation; multi-scale modelling; spreading depolarisation; reaction–diffusion; polygenic risk; proportional recovery; stochastic optimal control; neuroprotection; reproducibility

Source Code: https://github.com/hekimoghlu/Thalamus

Downloads last month
24