repairing safe check

This commit is contained in:
Alejandro Moreo Fernandez 2025-12-04 15:43:31 +01:00
parent 1080973d25
commit 78fd05ab33
1 changed files with 10 additions and 10 deletions

View File

@ -60,18 +60,18 @@ for setup in ['binary', 'multiclass']:
table['c-CI'].extend(results['coverage']) table['c-CI'].extend(results['coverage'])
table['a-CI'].extend(results['amplitude']) table['a-CI'].extend(results['amplitude'])
# if 'coverage-CE' not in report: if 'coverage-CE' not in report:
covCE, ampCE = compute_coverage_amplitude(ConfidenceEllipseSimplex) covCE, ampCE = compute_coverage_amplitude(ConfidenceEllipseSimplex)
covCLR, ampCLR = compute_coverage_amplitude(ConfidenceEllipseCLR) covCLR, ampCLR = compute_coverage_amplitude(ConfidenceEllipseCLR)
update_fields = { update_fields = {
'coverage-CE': covCE, 'coverage-CE': covCE,
'amplitude-CE': ampCE, 'amplitude-CE': ampCE,
'coverage-CLR': covCLR, 'coverage-CLR': covCLR,
'amplitude-CLR': ampCLR 'amplitude-CLR': ampCLR
} }
update_pickle(report, file, update_fields) update_pickle(report, file, update_fields)
table['c-CE'].extend(report['coverage-CE']) table['c-CE'].extend(report['coverage-CE'])
table['a-CE'].extend(report['amplitude-CE']) table['a-CE'].extend(report['amplitude-CE'])