Scylex Science Excellence

SUD Biobank Neural Network Visualizer

Knowledge-weighted mock model for Substance Use Disorder treatment planning. Inputs flow through evidence-tiered hidden layers to risk, MOUD, and retention outputs. For research and clinical decision support — not a substitute for clinical judgment.

Clinical evidenceModerateExploratoryContextUser-defined

Training data & model performance

Composition, training dynamics and held-out test metrics for the SUD biobank model. All values are mock-deterministic and reflect a knowledge-weighted prior, not a fitted production model.

Dataset overview

Total samples
7465
44 features
Train / Val / Test
5174 · 1139 · 1152
Random split (70/15/15)
Relapse positive
44%
3300 of 7465
MOUD success
62%
4626 of 7465

Cohort site

  • Gardenzia IOP
    2019 – 2024
    4995
  • Myrtle J Scott Recovery Center
    2020 – 2024
    786
  • Penn North IOP
    2018 – 2024
    1212
  • Eastside Bridge IOP
    2021 – 2024
    321
  • Riverford Day Treatment
    2022 – 2024
    151

Age distribution

Primary opioid

Mixed (1411)Rx opioid (1470)Heroin (1505)Fentanyl (3079)

Missing data per feature

% of patients in the cohort with no recorded value for this input.

OPRM1
12%
CYP2B6
18%
CYP2D6
22%
COMT
28%
MOUD adherence
9%
Social support
15%
Employment
6%
Incarcerated 12mo
4%

Training metrics

AUROC
0.842
Test set
AUPRC
0.781
Test set
F1
0.736
Threshold 0.5
Brier
0.142
Lower is better
Calibration slope
0.96
Ideal = 1.0
AUROC:
Area under ROC curve — overall ability to rank relapse cases above non-cases (1.0 perfect, 0.5 chance).
AUPRC:
Area under precision–recall curve — performance on the positive (relapse) class; better than AUROC when classes are imbalanced.
F1:
Harmonic mean of precision and recall at the 0.5 decision threshold (1.0 best, 0 worst).
Brier:
Mean squared error between predicted probability and actual outcome — lower is better (0 perfect).
Calibration slope:
Slope of observed vs. predicted risk; 1.0 = well-calibrated, <1 over-confident, >1 under-confident.

Loss curves

AUROC over epochs

Confusion matrix

Threshold 0.5 · Test set (n=1152)

Pred · No
Pred · Yes
Actual No
432
37.5%
189
16.4%
Actual Yes
251
21.8%
280
24.3%

Calibration plot

Predicted vs observed by decile.

Sample records

Splits:TrainValTest
Input tiers:ClinicalPGxMOUDContext
7465 matching · page 1/374 · 7465 total samples
MetaClinicalPGxMOUDContextLabs & phaseOutputs
ID
Split
Age
Sex
Opioid
OUD sev.
Prior relapses
COWS in
Psych
OPRM1
COMT
CYP2B6 *
CYP2D6 *
CYP3A4 *
CYP3A5 *
CYP2C19 *
Prior MOUD
MOUD adh.
Naloxone
Housing
Social in
Employment
Incarc. 12mo
Social score
Trauma
Phase
IA opiates
IA oxy
IA mtdn
IA bupe
IA fent
LC morphine
LC 6-MAM
LC oxycodone
LC fentanyl
LC norfent
LC methadone
LC EDDP
LC bupe
Rec. MOUD
Pred relapse
Outcome
T10000train48fMixed628DepressionAAMet/Met*6/*6*1/*35*1/*1*3/*3*1/*17Methadone95%NoYes9UnemployedNo1511aftercare78923281330531249372222Buprenorphine + behavioral45%Relapse
T10001val60fRx736MultiAAVal/Val*1/*18*1/*2*1/*1*3/*3*1/*1Multi65%YesNo8StudentNo1414stabilization21964745681167Buprenorphine + behavioral44%No event
T10002test27mHeroin0229DepressionGGVal/Met*6/*6*2/*2*22/*22*3/*3*1/*1Bupe70%NoYes9StudentNo168stabilization312052157557192Buprenorphine + behavioral40%No event
T10003train47fRx104MultiAAVal/Val*1/*1*4/*4*1/*1*3/*3*1/*1None75%NoYes4EmployedNo714maintenance610253Naltrexone XR36%Relapse
T10004train20iRx1221DepressionAAVal/Val*1/*1*5/*5*1/*1*1/*1*1/*17Naltrex.95%NoYes2EmployedNo311induction6382567Buprenorphine + behavioral29%No event
T10005train60fHeroin721BipolarAGVal/Met*1/*1*1/*5*1/*22*3/*3*1/*1Naltrex.75%YesYes5UnemployedYes88maintenance73957832Naltrexone XR43%No event
T10006test19mHeroin4019MultiAAVal/Met*1/*18*4/*5*1/*1*3/*3*1/*1Methadone75%YesNo4UnemployedYes711induction3970151754Buprenorphine + behavioral35%No event
T10007train56mFentanyl6028PTSDAGVal/Met*1/*6*1/*2*1/*1*3/*3*1/*1Bupe60%NoYes2UnemployedNo316induction31542481426Buprenorphine + behavioral53%Relapse
T10008test55fFentanyl636NoneAAVal/Val*6/*18*1/*4*1/*1*3/*3*1/*1Bupe0%YesYes6DisabilityNo125stabilization1543983128130Buprenorphine + behavioral37%No event
T10009train69mFentanyl11121MultiAAVal/Val*1/*4*1/*4*1/*1*3/*3*1/*1Bupe5%YesYes4StudentNo913induction1514260258349Buprenorphine63%Relapse
T10010train49mRx9214MultiAAVal/Val*1/*1*1/*2*1/*22*3/*3*1/*2Multi0%NoYes8StudentNo1315stabilization172610505421812698988188Buprenorphine + behavioral70%No event
T10011train70fFentanyl5017MultiAAVal/Val*1/*6*1/*35*1/*1*3/*3*1/*1Naltrex.90%YesNo3UnemployedNo510stabilizationBuprenorphine29%Relapse
T10012test56iRx7112DepressionAAVal/Met*6/*18*1/*1*1/*1*3/*3*1/*1Bupe30%NoYes7UnemployedYes128stabilization21765662858372Buprenorphine + behavioral58%Relapse
T10013train39fRx1120NoneGGMet/Met*1/*1*4/*4*1/*1*3/*3*1/*1None65%YesNo6StudentYes98induction773641Buprenorphine27%No event
T10014train52mRx2218DepressionAAMet/Met*1/*18*4/*5*1/*22*3/*3*1/*1Naltrex.35%YesYes4UnemployedNo76stabilization1695181897Buprenorphine + behavioral40%Relapse
T10015train31iMixed4320DepressionAGVal/Met*1/*4*1/*10*1/*22*3/*3*1/*17Bupe45%YesYes8EmployedNo166stabilization141302Buprenorphine + behavioral32%No event
T10016train29mFentanyl6213PTSDAAVal/Met*4/*4*1/*4*1/*22*3/*3*1/*1Bupe35%YesNo4DisabilityNo816induction57245328231Buprenorphine + behavioral39%No event
T10017train70mFentanyl2028NoneAGVal/Met*4/*4*1/*10*1/*22*3/*3*1/*17Bupe70%YesNo10EmployedNo202induction188225Buprenorphine + behavioral31%Relapse
T10018train52fHeroin810AnxietyAGVal/Val*1/*4*1/*2*1/*22*3/*3*1/*1None90%NoNo3StudentNo410taper3762Naltrexone XR53%No event
T10019train49mFentanyl8228DepressionAGVal/Val*1/*18*1/*2*1/*22*1/*3*1/*17Multi95%YesNo10UnemployedNo1911induction104349820853311706473260Methadone56%Relapse