Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add per process chi² estimators #1200

Merged
merged 2 commits into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ requirements:
- apfel
- pkg-config
- python # requirements for validphys
- reportengine >=0.28.60 # see https://github.com/NNPDF/reportengine
- reportengine >=0.30.13 # see https://github.com/NNPDF/reportengine
- matplotlib >=3.3.0
- blessings >=1.7
- scipy >=0.19.1
Expand Down
7 changes: 7 additions & 0 deletions validphys2/src/validphys/comparefittemplates/comparecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,12 @@ Normalize:
Datanorm:
normalize_to: data

DataGroups:
- metadata_group: nnpdf31_process
- metadata_group: experiment

ProcessGroup:
metadata_group: nnpdf31_process

actions_:
- report(main=true)
8 changes: 7 additions & 1 deletion validphys2/src/validphys/comparefittemplates/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,26 @@ Training-validation
-------------------
{@fits plot_training_validation@}

{@with DataGroups@}
$\chi^2$ by {@processed_metadata_group@}
----------------------------------------
{@plot_fits_groups_data_chi2@}
{@endwith@}


$\chi^2$ by dataset
-------------------
### Plot
{@plot_fits_datasets_chi2@}
### Table
{@fits_chi2_table(show_total=true)@}
{@ProcessGroup fits_chi2_table(show_total=true)@}


{@with DataGroups@}
$\phi$ by {@processed_metadata_group@}
--------------------------------------
{@plot_fits_groups_data_phi@}
{@endwith@}

Dataset plots
-------------
Expand Down