Spaces:
Running on Zero

File size: 4,308 Bytes
f95f999
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
  "version": "phase1-1.0",
  "training_n": 504448,
  "training_source": "C:\\Users\\Lenovo\\Desktop\\paper\\CKB UKB\\1-output\\dbv4\\baseline\\01_CKB_baseline.csv",
  "clipping": "none",
  "log_applied": {
    "sex": false,
    "age": false,
    "edu_level": false,
    "marital_status": true,
    "work": false,
    "retire": true,
    "hh_size": false,
    "smoking": false,
    "alcohol": false,
    "height_cm": false,
    "weight_kg": false,
    "waist_cm": false,
    "sbp_mmhg": false,
    "dbp_mmhg": false,
    "bp_drugs": true,
    "self_health": false,
    "chronic_pain": true
  },
  "mu": {
    "sex": 0.590360164642334,
    "age": 52.037452697753906,
    "edu_level": 1.5524870157241821,
    "marital_status": 0.6279297471046448,
    "work": 0.6986706256866455,
    "retire": 0.11671768128871918,
    "hh_size": 3.7955944538116455,
    "smoking": 0.38052088022232056,
    "alcohol": 0.5429638028144836,
    "height_cm": 158.69277954101562,
    "weight_kg": 59.752723693847656,
    "waist_cm": 80.27229309082031,
    "sbp_mmhg": 132.09423828125,
    "dbp_mmhg": 78.41361999511719,
    "bp_drugs": 0.07922204583883286,
    "self_health": 2.4717929363250732,
    "chronic_pain": 0.007520288694649935
  },
  "sigma": {
    "sex": 0.4917672276496887,
    "age": 10.692625045776367,
    "edu_level": 0.6043930053710938,
    "marital_status": 0.20236605405807495,
    "work": 0.4588354229927063,
    "retire": 0.2593829333782196,
    "hh_size": 1.503894567489624,
    "smoking": 0.48551490902900696,
    "alcohol": 0.49815070629119873,
    "height_cm": 8.269207000732422,
    "weight_kg": 10.755806922912598,
    "waist_cm": 9.75737476348877,
    "sbp_mmhg": 21.546268463134766,
    "dbp_mmhg": 11.440333366394043,
    "bp_drugs": 0.22053661942481995,
    "self_health": 0.8982778787612915,
    "chronic_pain": 0.07180607318878174
  },
  "clip_low": {
    "sex": null,
    "age": null,
    "edu_level": null,
    "marital_status": null,
    "work": null,
    "retire": null,
    "hh_size": null,
    "smoking": null,
    "alcohol": null,
    "height_cm": null,
    "weight_kg": null,
    "waist_cm": null,
    "sbp_mmhg": null,
    "dbp_mmhg": null,
    "bp_drugs": null,
    "self_health": null,
    "chronic_pain": null
  },
  "clip_high": {
    "sex": null,
    "age": null,
    "edu_level": null,
    "marital_status": null,
    "work": null,
    "retire": null,
    "hh_size": null,
    "smoking": null,
    "alcohol": null,
    "height_cm": null,
    "weight_kg": null,
    "waist_cm": null,
    "sbp_mmhg": null,
    "dbp_mmhg": null,
    "bp_drugs": null,
    "self_health": null,
    "chronic_pain": null
  },
  "skewness_pre_log": {
    "sex": -0.36749267578125,
    "age": 0.2728528082370758,
    "edu_level": 0.6002700328826904,
    "marital_status": -2.7806735038757324,
    "work": -0.8659802675247192,
    "retire": 1.7723339796066284,
    "hh_size": 0.6622506380081177,
    "smoking": 0.4921763241291046,
    "alcohol": -0.17249368131160736,
    "height_cm": 0.18198753893375397,
    "weight_kg": 0.5482072234153748,
    "waist_cm": 0.3601711392402649,
    "sbp_mmhg": 0.8681633472442627,
    "dbp_mmhg": 0.5034977793693542,
    "bp_drugs": 2.4245619773864746,
    "self_health": -0.21399693191051483,
    "chronic_pain": 9.443612098693848
  },
  "feature_order": [
    "sex",
    "age",
    "edu_level",
    "marital_status",
    "work",
    "retire",
    "hh_size",
    "smoking",
    "alcohol",
    "height_cm",
    "weight_kg",
    "waist_cm",
    "sbp_mmhg",
    "dbp_mmhg",
    "bp_drugs",
    "self_health",
    "chronic_pain"
  ],
  "critical_warning": "EXTERNAL COHORTS MUST USE THESE FROZEN PARAMETERS. DO NOT re-standardise to mean=0, std=1 per cohort.",
  "decision_thresholds": {
    "min_cluster_frac": 0.01,
    "max_low_stability_frac": 0.5,
    "min_oob_median_max_prob": 0.5,
    "min_jaccard_mean": 0.5,
    "min_algorithm_mean_ari": 0.75,
    "min_algorithm_min_jaccard": 0.5,
    "minimum_recommended_K": 3
  },
  "uncertainty_rule": "uncertain if distance exceeds frozen CKB-OOB cluster p99.5 or margin is below frozen CKB-OOB p5",
  "ood_rule": "OOD if nearest-centroid distance exceeds frozen CKB-OOB p99.9"
}