Mean MARD (from calibration): 38.0349532164538
Std MARD (from calibration): 10.509521877862808
Lower bound (max(0, mean-2std)): 17.015909460728185
Upper bound (mean+2std): 59.05399697217942
Percentage of test samples in domain: 94.74%

In-domain percentage by diagnosis level:
DR Level 0: 94.25% in domain
DR Level 1: 94.46% in domain
DR Level 2: 96.65% in domain
DR Level 3: 97.00% in domain
DR Level 4: 96.17% in domain


(.venv) impactlab@en4230651l:/drive2$ cd /drive2/Kuntal/Pysindy-experiment
(.venv) impactlab@en4230651l:/drive2/Kuntal/Pysindy-experiment$ python /drive2/Kuntal/Pysindy-experiment/conformal_boundary/eyepac.py
Loading EyePACS theta data...
Loaded 35122 theta arrays with shape (3, 20)

Theta Value Statistics:
Min non-zero absolute value: 7.5943890220e-09
Max absolute value: 9.3643623421e+03
Mean absolute value: 2.8848375470e+00
Median absolute value: 6.2778170049e-02
Max/Min ratio: 1.2330632938e+12
WARNING: Extreme ratio detected. Using robust MARD calculation.
Split into 12643 proper-train, 8430 calibration, and 14049 test samples
Calculated median theta with shape (3, 20)
WARNING: Median theta contains 13 zero values out of 60

MARD Statistics (from calibration set):
Mean MARD: 38.034953
Std MARD: 10.509522
Conformal boundaries: [17.015909, 59.053997]

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