Skip to content

[PWGDQ] add computation of chi2-like values from ML score#16716

Merged
mcoquet642 merged 1 commit into
AliceO2Group:masterfrom
aferrero2707:PWGDQ-matching-qa-compute-chi2-from-ml-score
Jun 17, 2026
Merged

[PWGDQ] add computation of chi2-like values from ML score#16716
mcoquet642 merged 1 commit into
AliceO2Group:masterfrom
aferrero2707:PWGDQ-matching-qa-compute-chi2-from-ml-score

Conversation

@aferrero2707

Copy link
Copy Markdown
Contributor

The ML score, which takes values between 0 and 1, is converted to a chi2-like value ranging from zero to infinity with this simple formula:

chi2 = 1 / score - 1

The chi2-like definition allows to apply certain chi2-based selection, and particulartly the leading/next-to-leading chi2 gap, also in the case of matching performed with ML models.

The ML score, which takes values between 0 and 1, is converted to a
chi2-like value ranging from zero to infinity with this simple formula:

    chi2 = 1 / score - 1

The chi2-like definition allows to apply certain chi2-based selection,
and particulartly the leading/next-to-leading chi2 gap, also in the case
of matching performed with ML models.
@github-actions

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 7 disabled

@aferrero2707

aferrero2707 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

@mcoquet642 do you prefer that I fix the linter error (it's an explicit include that is missing, but it is not preventing the correct compilation), or I postpone the fix to the next PR to avoid re-triggering the CI?

@mcoquet642 mcoquet642 merged commit 08dc892 into AliceO2Group:master Jun 17, 2026
11 of 12 checks passed
@aferrero2707 aferrero2707 deleted the PWGDQ-matching-qa-compute-chi2-from-ml-score branch June 18, 2026 07:00
@vkucera

vkucera commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Next time, please fix the errors immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants