Mean MARD (from calibration): 20.102431093742513
Std MARD (from calibration): 6.5632131357788515
Lower bound (max(0, mean-2std)): 6.9760048221848105
Upper bound (mean+2std): 33.228857365300215
Percentage of test samples in domain: 91.96%

In-domain percentage by diagnosis level:
DR Level 0.0: 93.53% in domain
DR Level 1.0: 92.11% in domain
DR Level 2.0: 87.93% in domain
DR Level 3.0: 96.00% in domain
DR Level 4.0: 100.00% in domain



(.venv) impactlab@en4230651l:/drive2/Kuntal/Pysindy-experiment$ python /drive2/Kuntal/Pysindy-experiment/conformal_boundary/messidor-2.py
Loading Messidor-2 theta data...
Loaded 1057 theta arrays with shape (3, 20)

Theta Value Statistics:
Min non-zero absolute value: 4.9059550726e-08
Max absolute value: 2.1659166693e+02
Mean absolute value: 1.1775939976e+00
Median absolute value: 3.4738822975e-02
Max/Min ratio: 4.4148726134e+09
WARNING: Extreme ratio detected. Using robust MARD calculation.
Split into 380 proper-train, 254 calibration, and 423 test samples
Calculated median theta with shape (3, 20)
WARNING: Median theta contains 3 zero values out of 60

MARD Statistics (from calibration set):
Mean MARD: 20.102431
Std MARD: 6.563213
Conformal boundaries: [6.976005, 33.228857]

Results saved to /drive2/Kuntal/Pysindy-experiment/conformal_boundary/messidor2-output
Plots saved to /drive2/Kuntal/Pysindy-experiment/conformal_boundary/messidor2-output/plots
Percentage of test samples in domain: 91.96%
(.venv) impactlab@en4230651l:/drive2/Kuntal/Pysindy-experiment$ 