Skip to content

Commit

Permalink
update regression runcards, and regenerate some of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Jun 6, 2024
1 parent 2a7cd9c commit d8a5300
Show file tree
Hide file tree
Showing 15 changed files with 534 additions and 555 deletions.
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/diagonal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ mcseed: 1
diagonal_basis: True

load: "weights.weights.h5"
sampling:
separate_multiplicative: True

parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/feature_scaling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ mcseed: 1

load: "weights_feature.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/flavour.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ mcseed: 1

load: "weights_flavour.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/no_csr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ sum_rules: "ALLBUTCSR"

save: "weights_casymm.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 9]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/no_lagrange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ mcseed: 1

load: "weights.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/no_msr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ mcseed: 1
sum_rules: "VSR"

load: "weights.weights.h5"
sampling:
separate_multiplicative: True

parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/no_sumrules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ sum_rules: False

load: "weights.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/no_vsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ sum_rules: "MSR"

load: "weights.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/normal_fit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ mcseed: 1

save: "normal_fit.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/polarized_evol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ mcseed: 746898422
genrep: true

load: "weights_polevol.weights.h5"
sampling:
separate_multiplicative: True

parameters:
nodes_per_layer: [25, 20, 4]
Expand Down
2 changes: 0 additions & 2 deletions extra_tests/regression_fits/single_dense.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ mcseed: 1
save: "single_dense.weights.h5"
load: "single_dense.weights.h5"

sampling:
separate_multiplicative: True
parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
1 change: 1 addition & 0 deletions extra_tests/regression_fits/trainable_prepro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ load: "weights.weights.h5"

sampling:
separate_multiplicative: True

parameters: # This defines the parameter dictionary that is passed to the Model Trainer
nodes_per_layer: [15, 10, 8]
activation_per_layer: ['sigmoid', 'tanh', 'linear']
Expand Down
2 changes: 1 addition & 1 deletion validphys2/src/validphys/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def tmp(tmpdir):
PSEUDODATA_FIT = "pseudodata_test_fit_n3fit_221130"


base_config = dict(pdf=PDF, use_cuts='nocuts', dataset_inputs=DATA, theoryid=THEORYID, Q=10, separate_multiplicative=True)
base_config = dict(pdf=PDF, use_cuts='nocuts', dataset_inputs=DATA, theoryid=THEORYID, Q=10)


@pytest.fixture(scope='module')
Expand Down
Loading

0 comments on commit d8a5300

Please sign in to comment.