-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1738 from NNPDF/qed-tests
QED tests
- Loading branch information
Showing
10 changed files
with
494 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# | ||
# Configuration file for n3fit regression tests | ||
# This runcard includes two DIS datasets, one Hadronic dataset | ||
# and two positivity datasets | ||
# | ||
|
||
############################################################ | ||
description: n3fit regression test | ||
|
||
############################################################ | ||
# frac: training fraction | ||
# ewk: apply ewk k-factors | ||
# sys: systematics treatment (see systypes) | ||
dataset_inputs: | ||
- { dataset: NMC, frac: 0.5 } | ||
- { dataset: SLACP_dwsh, frac: 0.5} | ||
- { dataset: CMSZDIFF12, frac: 0.5, cfac: ['QCD'], sys: 10 } | ||
- { dataset: ATLASTTBARTOT8TEV, frac: 1.0, cfac: ['QCD'] } | ||
|
||
############################################################ | ||
datacuts: | ||
t0pdfset: NNPDF40_nnlo_as_01180 # PDF set to generate t0 covmat | ||
q2min : 3.49 # Q2 minimum | ||
w2min : 12.5 # W2 minimum | ||
combocuts : NNPDF31 # NNPDF3.0 final kin. cuts | ||
jetptcut_tev : 0 # jet pt cut for tevatron | ||
jetptcut_lhc : 0 # jet pt cut for lhc | ||
wptcut_lhc : 30.0 # Minimum pT for W pT diff distributions | ||
jetycut_tev : 1e30 # jet rap. cut for tevatron | ||
jetycut_lhc : 1e30 # jet rap. cut for lhc | ||
dymasscut_min: 0 # dy inv.mass. min cut | ||
dymasscut_max: 1e30 # dy inv.mass. max cut | ||
jetcfactcut : 1e30 # jet cfact. cut | ||
|
||
############################################################ | ||
theory: | ||
theoryid: 398 # database id | ||
|
||
############################################################ | ||
genrep: True # on = generate MC replicas, False = use real data | ||
trvlseed: 3 | ||
nnseed: 2 | ||
mcseed: 1 | ||
|
||
load: "weights.h5" | ||
|
||
parameters: # This defines the parameter dictionary that is passed to the Model Trainer | ||
nodes_per_layer: [15, 10, 8] | ||
activation_per_layer: ['sigmoid', 'sigmoid', 'linear'] | ||
initializer: 'glorot_normal' | ||
optimizer: | ||
optimizer_name: 'RMSprop' | ||
learning_rate: 0.00001 | ||
clipnorm: 1.0 | ||
epochs: 1100 | ||
positivity: | ||
multiplier: 1.05 | ||
initial: 1.5 | ||
stopping_patience: 0.10 # percentage of the number of epochs | ||
layer_type: 'dense' | ||
dropout: 0.0 | ||
threshold_chi2: 10.0 | ||
|
||
fitting: | ||
fitbasis: NN31IC # EVOL (7), EVOLQED (8), etc. | ||
basis: | ||
- { fl: sng, smallx: [1.05,1.19], largex: [1.47,2.70] } | ||
- { fl: g, smallx: [0.94,1.25], largex: [0.11,5.87] } | ||
- { fl: v, smallx: [0.54,0.75], largex: [1.15,2.76] } | ||
- { fl: v3, smallx: [0.21,0.57], largex: [1.35,3.08] } | ||
- { fl: v8, smallx: [0.52,0.76], largex: [0.77,3.56] } | ||
- { fl: t3, smallx: [-0.37,1.52], largex: [1.74,3.39] } | ||
- { fl: t8, smallx: [0.56,1.29], largex: [1.45,3.03] } | ||
- { fl: cp, smallx: [0.12,1.19], largex: [1.83,6.70] } | ||
|
||
############################################################ | ||
positivity: | ||
posdatasets: | ||
- { dataset: POSF2U, maxlambda: 1e6 } # Positivity Lagrange Multiplier | ||
- { dataset: POSDYS, maxlambda: 1e5 } | ||
|
||
integrability: | ||
integdatasets: | ||
- {dataset: INTEGXT8, maxlambda: 1e2} | ||
|
||
############################################################ | ||
debug: true | ||
|
||
fiatlux: | ||
luxset: NNPDF40_nnlo_as_01180 | ||
additional_errors: true # should be set to true only for the last iteration | ||
luxseed: 1234567890 | ||
eps_base: 1e-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"preprocessing": [ | ||
{ | ||
"fl": "sng", | ||
"smallx": 1.1307647228240967, | ||
"largex": 2.6348154544830322, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "g", | ||
"smallx": 1.1853630542755127, | ||
"largex": 1.5627975463867188, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "v", | ||
"smallx": 0.5399999022483826, | ||
"largex": 2.004500150680542, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "v3", | ||
"smallx": 0.3061824142932892, | ||
"largex": 2.624323606491089, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "v8", | ||
"smallx": 0.5774596929550171, | ||
"largex": 2.120253801345825, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "t3", | ||
"smallx": 1.3441987037658691, | ||
"largex": 1.7566683292388916, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "t8", | ||
"smallx": 1.04995858669281, | ||
"largex": 1.945939064025879, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "cp", | ||
"smallx": 0.7400740385055542, | ||
"largex": 3.461853504180908, | ||
"trainable": true | ||
} | ||
], | ||
"stop_epoch": 1100, | ||
"best_epoch": 1099, | ||
"erf_tr": 31.486101150512695, | ||
"erf_vl": 28.4218692779541, | ||
"chi2": 19.611825942993164, | ||
"pos_state": "POS_VETO", | ||
"arc_lengths": [ | ||
1.035533162554303, | ||
1.1953713068471692, | ||
1.0881025884095246, | ||
1.3414978876721764, | ||
1.0839843290638607 | ||
], | ||
"integrability": [ | ||
0.002653829054906187, | ||
0.002653829054905521, | ||
0.0002567724250169823, | ||
3.2896786332130423, | ||
0.003927801561079747 | ||
], | ||
"timing": { | ||
"walltime": { | ||
"Total": 58.37841296195984, | ||
"start": 0.0, | ||
"replica_set": 0.3208029270172119, | ||
"replica_fitted": 58.37802076339722, | ||
"replica_set_to_replica_fitted": 58.057217836380005 | ||
}, | ||
"cputime": { | ||
"Total": 61.517351913999995, | ||
"start": 0.0, | ||
"replica_set": 2.813359167999998, | ||
"replica_fitted": 61.516948647, | ||
"replica_set_to_replica_fitted": 58.703589479 | ||
} | ||
}, | ||
"version": { | ||
"keras": "2.11.0", | ||
"tensorflow": "2.11.0, mkl=False", | ||
"numpy": "1.22.4", | ||
"nnpdf": "4.0.6.846+g0a926fdf1", | ||
"validphys": "4.0.6.846+g0a926fdf1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"preprocessing": [ | ||
{ | ||
"fl": "sng", | ||
"smallx": 1.1090763807296753, | ||
"largex": 2.683891534805298, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "g", | ||
"smallx": 0.9399998784065247, | ||
"largex": 1.6250606775283813, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "v", | ||
"smallx": 0.7499998211860657, | ||
"largex": 1.7267229557037354, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "v3", | ||
"smallx": 0.21201331913471222, | ||
"largex": 1.3532426357269287, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "v8", | ||
"smallx": 0.7599998712539673, | ||
"largex": 2.390087127685547, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "t3", | ||
"smallx": 1.4388009309768677, | ||
"largex": 2.2958621978759766, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "t8", | ||
"smallx": 1.0386217832565308, | ||
"largex": 1.7531665563583374, | ||
"trainable": true | ||
}, | ||
{ | ||
"fl": "cp", | ||
"smallx": 0.24638080596923828, | ||
"largex": 2.7976953983306885, | ||
"trainable": true | ||
} | ||
], | ||
"stop_epoch": 1100, | ||
"best_epoch": 1099, | ||
"erf_tr": 3.5809452533721924, | ||
"erf_vl": 3.6826603412628174, | ||
"chi2": 2.141340732574463, | ||
"pos_state": "POS_VETO", | ||
"arc_lengths": [ | ||
1.3194883264768875, | ||
1.1995146017416334, | ||
1.054266019685804, | ||
5.074692492247958, | ||
1.0689068380364566 | ||
], | ||
"integrability": [ | ||
0.02917606895789332, | ||
0.029176068957894374, | ||
0.0003924771135637162, | ||
12.764093160629272, | ||
0.02982003148645135 | ||
], | ||
"timing": { | ||
"walltime": { | ||
"Total": 57.77593541145325, | ||
"start": 0.0, | ||
"replica_set": 0.31868839263916016, | ||
"replica_fitted": 57.77560114860535, | ||
"replica_set_to_replica_fitted": 57.45691275596619 | ||
}, | ||
"cputime": { | ||
"Total": 60.771742980000006, | ||
"start": 0.0, | ||
"replica_set": 2.6913169609999983, | ||
"replica_fitted": 60.771408723, | ||
"replica_set_to_replica_fitted": 58.080091762 | ||
} | ||
}, | ||
"version": { | ||
"keras": "2.11.0", | ||
"tensorflow": "2.11.0, mkl=False", | ||
"numpy": "1.22.4", | ||
"nnpdf": "4.0.6.846+g0a926fdf1", | ||
"validphys": "4.0.6.846+g0a926fdf1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.