diff --git a/modules/stochastic_tools/test/include/reporters/TestLikelihood.h b/modules/stochastic_tools/test/include/reporters/TestLikelihood.h index a535a41c023c..418e34f9cbf6 100644 --- a/modules/stochastic_tools/test/include/reporters/TestLikelihood.h +++ b/modules/stochastic_tools/test/include/reporters/TestLikelihood.h @@ -35,4 +35,13 @@ class TestLikelihood : public GeneralReporter, public LikelihoodInterface /// model prediction values const std::vector & _model_pred; + + /// Transfer the right outputs to the file + std::vector & _model_pred_required; + + /// The MCMC sampler + Sampler & _sampler; + + /// Communicator that was split based on samples that have rows + libMesh::Parallel::Communicator & _local_comm; }; diff --git a/modules/stochastic_tools/test/src/reporters/TestLikelihood.C b/modules/stochastic_tools/test/src/reporters/TestLikelihood.C index fe470c9ee38a..7835a080c59b 100644 --- a/modules/stochastic_tools/test/src/reporters/TestLikelihood.C +++ b/modules/stochastic_tools/test/src/reporters/TestLikelihood.C @@ -8,6 +8,7 @@ //* https://www.gnu.org/licenses/lgpl-2.1.html #include "TestLikelihood.h" +#include "Sampler.h" registerMooseObject("StochasticToolsTestApp", TestLikelihood); @@ -21,6 +22,11 @@ TestLikelihood::validParams() "function", "function", "Value of the density or mass function."); params.addRequiredParam>("likelihoods", "Names of likelihoods."); params.addRequiredParam("model_pred", "Reporter with the model predictions."); + params.addParam( + "model_pred_required", + "model_pred_required", + "Modified value of the model output from this reporter class."); + params.addRequiredParam("sampler", "The sampler object."); return params; } @@ -28,7 +34,10 @@ TestLikelihood::TestLikelihood(const InputParameters & parameters) : GeneralReporter(parameters), LikelihoodInterface(parameters), _function(declareValue>("function")), - _model_pred(getReporterValue>("model_pred")) + _model_pred(getReporterValue>("model_pred", REPORTER_MODE_DISTRIBUTED)), + _model_pred_required(declareValue>("model_pred_required")), + _sampler(getSampler("sampler")), + _local_comm(_sampler.getLocalComm()) { for (const UserObjectName & name : getParam>("likelihoods")) _likelihoods.push_back(getLikelihoodFunctionByName(name)); @@ -39,6 +48,8 @@ TestLikelihood::TestLikelihood(const InputParameters & parameters) void TestLikelihood::execute() { + _model_pred_required = _model_pred; + _local_comm.allgather(_model_pred_required); for (unsigned i = 0; i < _function.size(); ++i) - _function[i] = _likelihoods[i]->function(_model_pred); + _function[i] = _likelihoods[i]->function(_model_pred_required); } diff --git a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/extremevalue.json b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/extremevalue.json index 3facd60b4b10..6e29bd3aa30f 100644 --- a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/extremevalue.json +++ b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/extremevalue.json @@ -22,6 +22,9 @@ "values": { "function": { "type": "std::vector" + }, + "model_pred_required": { + "type": "std::vector" } } }, @@ -49,7 +52,8 @@ "likelihoodtest": { "function": [ 0.0 - ] + ], + "model_pred_required": [] }, "noise_specified": { "noise_specified": 0.2 @@ -70,7 +74,12 @@ }, "likelihoodtest": { "function": [ - -13.226275095227445 + 1.6266368748117197 + ], + "model_pred_required": [ + -0.5769720319127907, + 0.4873549495108542, + -0.6411786542848692 ] }, "noise_specified": { diff --git a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/likelihood_scalar.json b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/likelihood_scalar.json index c74d871b37aa..3d402c209a6d 100644 --- a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/likelihood_scalar.json +++ b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/likelihood_scalar.json @@ -22,6 +22,9 @@ "values": { "function": { "type": "std::vector" + }, + "model_pred_required": { + "type": "std::vector" } } }, @@ -49,7 +52,8 @@ "likelihoodtest": { "function": [ 0.0 - ] + ], + "model_pred_required": [] }, "noise_specified": { "noise_specified": 0.2 @@ -70,7 +74,12 @@ }, "likelihoodtest": { "function": [ - 0.09019318612685807 + 6.453480006168816 + ], + "model_pred_required": [ + -0.5769720319127907, + 0.4873549495108542, + -0.6411786542848692 ] }, "noise_specified": { diff --git a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/loglikelihood_scalar.json b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/loglikelihood_scalar.json index 3b6d3fb175e9..0a9d6b591cc1 100644 --- a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/loglikelihood_scalar.json +++ b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/loglikelihood_scalar.json @@ -22,6 +22,9 @@ "values": { "function": { "type": "std::vector" + }, + "model_pred_required": { + "type": "std::vector" } } }, @@ -49,7 +52,8 @@ "likelihoodtest": { "function": [ 0.0 - ] + ], + "model_pred_required": [] }, "noise_specified": { "noise_specified": 0.2 @@ -70,7 +74,12 @@ }, "likelihoodtest": { "function": [ - -2.4058013965978287 + 1.8646195211506778 + ], + "model_pred_required": [ + -0.5769720319127907, + 0.4873549495108542, + -0.6411786542848692 ] }, "noise_specified": { diff --git a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/truncatedgaussian.json b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/truncatedgaussian.json index c6621615b97a..acf1b1dd218f 100644 --- a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/truncatedgaussian.json +++ b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/gold/truncatedgaussian.json @@ -22,6 +22,9 @@ "values": { "function": { "type": "std::vector" + }, + "model_pred_required": { + "type": "std::vector" } } }, @@ -49,7 +52,8 @@ "likelihoodtest": { "function": [ 0.0 - ] + ], + "model_pred_required": [] }, "noise_specified": { "noise_specified": 0.2 @@ -70,7 +74,12 @@ }, "likelihoodtest": { "function": [ - -2.3832432847464218 + 1.9242540625981073 + ], + "model_pred_required": [ + -0.5769720319127907, + 0.4873549495108542, + -0.6411786542848692 ] }, "noise_specified": { diff --git a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/main.i b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/main.i index 5112ad5fa695..ff1614f029c2 100644 --- a/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/main.i +++ b/modules/stochastic_tools/test/tests/likelihoods/gaussian_derived/main.i @@ -56,6 +56,7 @@ type = TestLikelihood likelihoods = 'gaussian' model_pred = constant/reporter_transfer:average:value + sampler = sample [] [] diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/confg.csv b/modules/stochastic_tools/test/tests/samplers/mcmc/confg.csv index 3a0941caacb0..204ea154a775 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/confg.csv +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/confg.csv @@ -1,8 +1,2 @@ 1.0 -2.0 -3.0 -4.0 -5.0 -6.0 -7.0 -8.0 \ No newline at end of file +2.0 \ No newline at end of file diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/exp_0_05.csv b/modules/stochastic_tools/test/tests/samplers/mcmc/exp_0_05.csv index d3a142bb8f2e..645ea9ae1a9c 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/exp_0_05.csv +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/exp_0_05.csv @@ -1,8 +1,2 @@ -0.6906555, --0.48597421, --0.3830987, --0.35797811, --0.1734234, --0.14960162, --0.07303159, --0.15606178 \ No newline at end of file +-0.48597421, \ No newline at end of file diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop.json b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop.json index 903c8f35a42c..b7fe197895ae 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop.json +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop.json @@ -1,5 +1,5 @@ { - "number_of_parts": 2, + "number_of_parts": 4, "part": 0, "reporters": { "constant": { @@ -7,12 +7,12 @@ "values": { "reporter_transfer:average:value": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" }, "reporter_transfer:converged": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" } } @@ -50,45 +50,11 @@ { "constant": { "reporter_transfer:average:value": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0 ], "reporter_transfer:converged": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, false, false, false @@ -119,36 +85,6 @@ ], "noise": 0.0, "outputs_required": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0, @@ -186,43 +122,9 @@ "reporter_transfer:average:value": [ 0.09743591614083168, 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376 + 0.09743591614083168 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -262,37 +164,7 @@ 0.07329136264166623, 0.07329136264166623, 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213 + 0.07329136264166623 ], "tpm": [ 1.0, @@ -320,43 +192,9 @@ "reporter_transfer:average:value": [ 0.2234767696082864, -0.13664440979326756, - -1.07351240772998, - 0.43408754478000106, - 1.0690057840461293, - 0.16809937866927868, - -0.10278401833513645, - -0.8074967659929256, - 0.32652094753939315, - 0.8041068805814476, - 0.11876678595900672, - -0.07261970628602796, - -0.570518441711087, - 0.23069593590848558, - 0.5681233954088382, - 0.08987123830347765, - -0.054951583275513534, - -0.4317132809138486, - 0.1745684137532262, - 0.429900941083439 + -1.07351240772998 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -396,37 +234,7 @@ -0.10278401833513645, -0.8074967659929256, 0.32652094753939315, - 0.8041068805814476, - 0.11876678595900672, - -0.07261970628602796, - -0.570518441711087, - 0.23069593590848558, - 0.5681233954088382, - 0.08987123830347765, - -0.054951583275513534, - -0.4317132809138486, - 0.1745684137532262, - 0.429900941083439, - 0.07222766531977978, - -0.04416345696993833, - -0.34695908231596195, - 0.14029704277000055, - 0.34550254207818315, - 0.06050014484512656, - -0.03699268876706922, - -0.29062374704542965, - 0.11751717809678217, - 0.2894037035195322, - 0.05217367291890808, - -0.03190148468346931, - -0.2506259837817006, - 0.10134360550856494, - 0.24957385156029438, - 0.0459751542052831, - -0.028111413202075008, - -0.2208502412729821, - 0.0893034289197719, - 0.21992310813371055 + 0.8041068805814476 ], "tpm": [ 1.0, @@ -454,43 +262,9 @@ "reporter_transfer:average:value": [ -0.4556939397090092, 2.4129527844035783, - -2.5082358640892686, - -0.5720928414392414, - -0.04586689960386915, - -0.3427732925563918, - 1.815024731778128, - -1.8866967293682384, - -0.4303286259041876, - -0.034501113195847616, - -0.24217865998277638, - 1.2823643700497713, - -1.3330025869454505, - -0.3040388858641641, - -0.02437597544290007, - -0.1832574308314794, - 0.9703695604679342, - -1.008687674586423, - -0.23006727801921592, - -0.018445385047321617 + -2.5082358640892686 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -530,37 +304,7 @@ -0.10278401833513645, -0.8074967659929256, -0.4303286259041876, - -0.034501113195847616, - -0.24217865998277638, - -0.07261970628602796, - -0.570518441711087, - -0.3040388858641641, - -0.02437597544290007, - -0.1832574308314794, - -0.054951583275513534, - -0.4317132809138486, - -0.23006727801921592, - -0.018445385047321617, - -0.1472802270377846, - -0.04416345696993833, - -0.34695908231596195, - -0.1849003382128846, - -0.014824176488920923, - -0.1233665110059929, - -0.03699268876706922, - -0.29062374704542965, - -0.15487828928517422, - -0.012417192509510646, - -0.10638791048947592, - -0.03190148468346931, - -0.2506259837817006, - -0.13356280762795616, - -0.010708247760769464, - -0.09374844278074895, - -0.028111413202075008, - -0.2208502412729821, - -0.11769481298119462, - -0.009436049151350556 + -0.034501113195847616 ], "tpm": [ 1.0, @@ -588,43 +332,9 @@ "reporter_transfer:average:value": [ -1.678591193644167, 1.08625452650659, - -0.5858177684120345, - 0.6508061612400148, - 0.550821649803409, - -1.2626374418494621, - 0.8170813964361634, - -0.4406525253438295, - 0.489536838796993, - 0.41432842103393414, - -0.8920877161347814, - 0.5772902439702223, - -0.3113330017919946, - 0.34587109966559404, - 0.2927343056682682, - -0.675045864683787, - 0.4368375271407111, - -0.23558676080626398, - 0.2617218590904256, - 0.22151306302892662 + -0.5858177684120345 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -664,44 +374,14 @@ -0.10278401833513645, -0.4406525253438295, -0.4303286259041876, - -0.034501113195847616, - -0.24217865998277638, - -0.07261970628602796, - -0.3113330017919946, - -0.3040388858641641, - -0.02437597544290007, - -0.1832574308314794, - -0.054951583275513534, - -0.23558676080626398, - -0.23006727801921592, - -0.018445385047321617, - -0.1472802270377846, - -0.04416345696993833, - -0.18933623297608415, - -0.1849003382128846, - -0.014824176488920923, - -0.1233665110059929, - -0.03699268876706922, - -0.1585939330695038, - -0.15487828928517422, - -0.012417192509510646, - -0.10638791048947592, - -0.03190148468346931, - -0.13676707736930419, - -0.13356280762795616, - -0.010708247760769464, - -0.09374844278074895, - -0.028111413202075008, - -0.12051839788991671, - -0.11769481298119462, - -0.009436049151350556 + -0.034501113195847616 ], "tpm": [ - 1.056442701796104e-191, + 1.4981723225600177e-133, 0.0, 1.0, - 0.0, - 3.766717944201178e-221 + 4.00354884128573e-238, + 3.277941925275655e-151 ], "variance": [ 0.0, @@ -722,43 +402,9 @@ "reporter_transfer:average:value": [ -0.4393618415235361, 0.0018703339774024511, - -0.693842883697079, - -0.6801189882237527, - -0.20071422771394593, - -0.3304882771510209, - 0.0014068664945657916, - -0.521909090810741, - -0.511585967265851, - -0.15097737911586656, - -0.23349896224819444, - 0.0009939894768489412, - -0.3687429767381332, - -0.3614494090055556, - -0.10666962733588956, - -0.176689473498427, - 0.0007521552723232858, - -0.27902908769981527, - -0.2735100197307745, - -0.08071727643693946 + -0.693842883697079 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -798,41 +444,11 @@ -0.10278401833513645, -0.521909090810741, -0.511585967265851, - -0.15097737911586656, - -0.24217865998277638, - -0.07261970628602796, - -0.3687429767381332, - -0.3614494090055556, - -0.10666962733588956, - -0.1832574308314794, - -0.054951583275513534, - -0.27902908769981527, - -0.2735100197307745, - -0.08071727643693946, - -0.1472802270377846, - -0.04416345696993833, - -0.22424993736943435, - -0.21981437598691658, - -0.0648708144906613, - -0.1233665110059929, - -0.03699268876706922, - -0.187838740630651, - -0.18412337609592996, - -0.054337817172303286, - -0.10638791048947592, - -0.03190148468346931, - -0.16198700086215337, - -0.15878297193797714, - -0.04685944980000588, - -0.09374844278074895, - -0.028111413202075008, - -0.14274205604513363, - -0.1399186833444535, - -0.04129228996178991 + -0.15097737911586656 ], "tpm": [ - 5.917126978968292e-18, - 9.561568526080169e-36, + 1.8155002876086677e-17, + 4.8338575097368365e-25, 1.0, 1.0, 1.0 diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop_parallel.json b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop_parallel.json deleted file mode 100644 index 8529eb0f69f7..000000000000 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop_parallel.json +++ /dev/null @@ -1,735 +0,0 @@ -{ - "number_of_parts": 4, - "part": 0, - "reporters": { - "constant": { - "type": "StochasticReporter", - "values": { - "reporter_transfer:average:value": { - "row_begin": 0, - "row_end": 10, - "type": "std::vector" - }, - "reporter_transfer:converged": { - "row_begin": 0, - "row_end": 10, - "type": "std::vector" - } - } - }, - "mcmc_reporter": { - "type": "AffineInvariantDifferentialDecision", - "values": { - "inputs": { - "type": "std::vector>" - }, - "noise": { - "type": "double" - }, - "outputs_required": { - "type": "std::vector" - }, - "tpm": { - "type": "std::vector" - }, - "variance": { - "type": "std::vector" - } - } - }, - "noise_specified": { - "type": "ConstantReporter", - "values": { - "noise_specified": { - "type": "double" - } - } - } - }, - "time_steps": [ - { - "constant": { - "reporter_transfer:average:value": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], - "reporter_transfer:converged": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ] - }, - "mcmc_reporter": { - "inputs": [ - [ - 0.0, - 0.0 - ], - [ - 0.0, - 0.0 - ], - [ - 0.0, - 0.0 - ], - [ - 0.0, - 0.0 - ], - [ - 0.0, - 0.0 - ] - ], - "noise": 0.0, - "outputs_required": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], - "tpm": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ], - "variance": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "noise_specified": { - "noise_specified": 0.05 - }, - "time": 0.0, - "time_step": 0 - }, - { - "constant": { - "reporter_transfer:average:value": [ - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623 - ], - "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ] - }, - "mcmc_reporter": { - "inputs": [ - [ - -1.4820258793890648, - -0.6151890803293827 - ], - [ - -0.4967511920819634, - -0.3004783969190312 - ], - [ - 0.007752342311301286, - -0.09027480045486813 - ], - [ - 2.3523040131058344, - -0.529586904497553 - ], - [ - 0.6217381479931623, - -0.8625185543183977 - ] - ], - "noise": 0.0, - "outputs_required": [ - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213 - ], - "tpm": [ - 1.0, - 1.0, - 1.0, - 1.0, - 1.0 - ], - "variance": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "noise_specified": { - "noise_specified": 0.05 - }, - "time": 1.0, - "time_step": 1 - }, - { - "constant": { - "reporter_transfer:average:value": [ - 0.2234767696082864, - -0.13664440979326756, - -1.07351240772998, - 0.43408754478000106, - 1.0690057840461293, - 0.16809937866927868, - -0.10278401833513645, - -0.8074967659929256, - 0.32652094753939315, - 0.8041068805814476 - ], - "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ] - }, - "mcmc_reporter": { - "inputs": [ - [ - -0.6195897243113289, - 1.0783051107099917 - ], - [ - -0.20911239659863856, - -0.07136818018546376 - ], - [ - -0.9991598377167209, - -1.2043652077675961 - ], - [ - 1.3424574203085133, - -0.45143578891707326 - ], - [ - 1.4393108849004088, - 0.7549637242724735 - ] - ], - "noise": 0.0, - "outputs_required": [ - 0.2234767696082864, - -0.13664440979326756, - -1.07351240772998, - 0.43408754478000106, - 1.0690057840461293, - 0.16809937866927868, - -0.10278401833513645, - -0.8074967659929256, - 0.32652094753939315, - 0.8041068805814476, - 0.11876678595900672, - -0.07261970628602796, - -0.570518441711087, - 0.23069593590848558, - 0.5681233954088382, - 0.08987123830347765, - -0.054951583275513534, - -0.4317132809138486, - 0.1745684137532262, - 0.429900941083439, - 0.07222766531977978, - -0.04416345696993833, - -0.34695908231596195, - 0.14029704277000055, - 0.34550254207818315, - 0.06050014484512656, - -0.03699268876706922, - -0.29062374704542965, - 0.11751717809678217, - 0.2894037035195322, - 0.05217367291890808, - -0.03190148468346931, - -0.2506259837817006, - 0.10134360550856494, - 0.24957385156029438, - 0.0459751542052831, - -0.028111413202075008, - -0.2208502412729821, - 0.0893034289197719, - 0.21992310813371055 - ], - "tpm": [ - 1.0, - 1.0, - 1.0, - 1.0, - 1.0 - ], - "variance": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "noise_specified": { - "noise_specified": 0.05 - }, - "time": 2.0, - "time_step": 2 - }, - { - "constant": { - "reporter_transfer:average:value": [ - -0.4556939397090092, - 2.4129527844035783, - -2.5082358640892686, - -0.5720928414392414, - -0.04586689960386915, - -0.3427732925563918, - 1.815024731778128, - -1.8866967293682384, - -0.4303286259041876, - -0.034501113195847616 - ], - "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ] - }, - "mcmc_reporter": { - "inputs": [ - [ - -2.465958152026235, - 1.5305865606089444 - ], - [ - -0.20911239659863856, - -0.07136818018546376 - ], - [ - -0.9991598377167209, - -1.2043652077675961 - ], - [ - -1.1076355367919146, - -0.06666007020378978 - ], - [ - 0.4991543544300673, - -0.5933021829116624 - ] - ], - "noise": 0.0, - "outputs_required": [ - -0.4556939397090092, - -0.13664440979326756, - -1.07351240772998, - -0.5720928414392414, - -0.04586689960386915, - -0.3427732925563918, - -0.10278401833513645, - -0.8074967659929256, - -0.4303286259041876, - -0.034501113195847616, - -0.24217865998277638, - -0.07261970628602796, - -0.570518441711087, - -0.3040388858641641, - -0.02437597544290007, - -0.1832574308314794, - -0.054951583275513534, - -0.4317132809138486, - -0.23006727801921592, - -0.018445385047321617, - -0.1472802270377846, - -0.04416345696993833, - -0.34695908231596195, - -0.1849003382128846, - -0.014824176488920923, - -0.1233665110059929, - -0.03699268876706922, - -0.29062374704542965, - -0.15487828928517422, - -0.012417192509510646, - -0.10638791048947592, - -0.03190148468346931, - -0.2506259837817006, - -0.13356280762795616, - -0.010708247760769464, - -0.09374844278074895, - -0.028111413202075008, - -0.2208502412729821, - -0.11769481298119462, - -0.009436049151350556 - ], - "tpm": [ - 1.0, - 0.0, - 0.0, - 1.0, - 1.0 - ], - "variance": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "noise_specified": { - "noise_specified": 0.05 - }, - "time": 3.0, - "time_step": 3 - }, - { - "constant": { - "reporter_transfer:average:value": [ - -1.678591193644167, - 1.08625452650659, - -0.5858177684120345, - 0.6508061612400148, - 0.550821649803409, - -1.2626374418494621, - 0.8170813964361634, - -0.4406525253438295, - 0.489536838796993, - 0.41432842103393414 - ], - "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ] - }, - "mcmc_reporter": { - "inputs": [ - [ - -2.465958152026235, - 1.5305865606089444 - ], - [ - -0.20911239659863856, - -0.07136818018546376 - ], - [ - 2.529324998858419, - -3.7317928189705105 - ], - [ - -1.1076355367919146, - -0.06666007020378978 - ], - [ - 0.4991543544300673, - -0.5933021829116624 - ] - ], - "noise": 0.0, - "outputs_required": [ - -0.4556939397090092, - -0.13664440979326756, - -0.5858177684120345, - -0.5720928414392414, - -0.04586689960386915, - -0.3427732925563918, - -0.10278401833513645, - -0.4406525253438295, - -0.4303286259041876, - -0.034501113195847616, - -0.24217865998277638, - -0.07261970628602796, - -0.3113330017919946, - -0.3040388858641641, - -0.02437597544290007, - -0.1832574308314794, - -0.054951583275513534, - -0.23558676080626398, - -0.23006727801921592, - -0.018445385047321617, - -0.1472802270377846, - -0.04416345696993833, - -0.18933623297608415, - -0.1849003382128846, - -0.014824176488920923, - -0.1233665110059929, - -0.03699268876706922, - -0.1585939330695038, - -0.15487828928517422, - -0.012417192509510646, - -0.10638791048947592, - -0.03190148468346931, - -0.13676707736930419, - -0.13356280762795616, - -0.010708247760769464, - -0.09374844278074895, - -0.028111413202075008, - -0.12051839788991671, - -0.11769481298119462, - -0.009436049151350556 - ], - "tpm": [ - 1.056442701796104e-191, - 0.0, - 1.0, - 0.0, - 3.766717944201178e-221 - ], - "variance": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "noise_specified": { - "noise_specified": 0.05 - }, - "time": 4.0, - "time_step": 4 - }, - { - "constant": { - "reporter_transfer:average:value": [ - -0.4393618415235361, - 0.0018703339774024511, - -0.693842883697079, - -0.6801189882237527, - -0.20071422771394593, - -0.3304882771510209, - 0.0014068664945657916, - -0.521909090810741, - -0.511585967265851, - -0.15097737911586656 - ], - "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ] - }, - "mcmc_reporter": { - "inputs": [ - [ - -2.465958152026235, - 1.5305865606089444 - ], - [ - -0.20911239659863856, - -0.07136818018546376 - ], - [ - 1.6864864652817777, - -3.110690005779322 - ], - [ - -1.9504749346807726, - 0.5544414900112165 - ], - [ - 6.443542494519396, - -6.8555347775775 - ] - ], - "noise": 0.0, - "outputs_required": [ - -0.4556939397090092, - -0.13664440979326756, - -0.693842883697079, - -0.6801189882237527, - -0.20071422771394593, - -0.3427732925563918, - -0.10278401833513645, - -0.521909090810741, - -0.511585967265851, - -0.15097737911586656, - -0.24217865998277638, - -0.07261970628602796, - -0.3687429767381332, - -0.3614494090055556, - -0.10666962733588956, - -0.1832574308314794, - -0.054951583275513534, - -0.27902908769981527, - -0.2735100197307745, - -0.08071727643693946, - -0.1472802270377846, - -0.04416345696993833, - -0.22424993736943435, - -0.21981437598691658, - -0.0648708144906613, - -0.1233665110059929, - -0.03699268876706922, - -0.187838740630651, - -0.18412337609592996, - -0.054337817172303286, - -0.10638791048947592, - -0.03190148468346931, - -0.16198700086215337, - -0.15878297193797714, - -0.04685944980000588, - -0.09374844278074895, - -0.028111413202075008, - -0.14274205604513363, - -0.1399186833444535, - -0.04129228996178991 - ], - "tpm": [ - 5.917126978968292e-18, - 9.561568526080169e-36, - 1.0, - 1.0, - 1.0 - ], - "variance": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0 - ] - }, - "noise_specified": { - "noise_specified": 0.05 - }, - "time": 5.0, - "time_step": 5 - } - ] -} diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop_var.json b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop_var.json index 3d8c1ed530f2..d0244725881d 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop_var.json +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/des_5prop_var.json @@ -1,5 +1,5 @@ { - "number_of_parts": 2, + "number_of_parts": 4, "part": 0, "reporters": { "constant": { @@ -7,12 +7,12 @@ "values": { "reporter_transfer:average:value": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" }, "reporter_transfer:converged": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" } } @@ -42,45 +42,11 @@ { "constant": { "reporter_transfer:average:value": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0 ], "reporter_transfer:converged": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, false, false, false @@ -111,36 +77,6 @@ ], "noise": 0.0, "outputs_required": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0, @@ -175,43 +111,9 @@ "reporter_transfer:average:value": [ 0.09743591614083168, 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376 + 0.09743591614083168 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -251,37 +153,7 @@ 0.07329136264166623, 0.07329136264166623, 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213 + 0.07329136264166623 ], "tpm": [ 1.0, @@ -306,43 +178,9 @@ "reporter_transfer:average:value": [ 0.2234767696082864, -0.13664440979326756, - -0.39286136677936734, - 0.0839927618801066, - 0.04713185809151407, - 0.16809937866927868, - -0.10278401833513645, - -0.29551058830206145, - 0.06317941282906354, - 0.03545261583385307, - 0.11876678595900672, - -0.07261970628602796, - -0.2087862731409977, - 0.0446379746311603, - 0.025048237952543358, - 0.08987123830347765, - -0.054951583275513534, - -0.15798929604935463, - 0.0337777100141151, - 0.018954088416743526 + -0.39286136677936734 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -382,37 +220,7 @@ -0.10278401833513645, -0.29551058830206145, 0.06317941282906354, - 0.03545261583385307, - 0.11876678595900672, - -0.07261970628602796, - -0.2087862731409977, - 0.0446379746311603, - 0.025048237952543358, - 0.08987123830347765, - -0.054951583275513534, - -0.15798929604935463, - 0.0337777100141151, - 0.018954088416743526, - 0.07222766531977978, - -0.04416345696993833, - -0.126972746950626, - 0.027146450635596037, - 0.015233010921462481, - 0.06050014484512656, - -0.03699268876706922, - -0.10635633240926619, - 0.022738713596987745, - 0.012759644979440089, - 0.05217367291890808, - -0.03190148468346931, - -0.09171879694158944, - 0.019609245710778034, - 0.01100356941995737, - 0.0459751542052831, - -0.028111413202075008, - -0.08082210043813172, - 0.0172795596890225, - 0.009696284976471806 + 0.03545261583385307 ], "tpm": [ 1.0, @@ -437,43 +245,9 @@ "reporter_transfer:average:value": [ 0.4421708768319713, -0.6602360730809066, - -0.3489977503074653, - 0.3888910540993689, - 0.7805741559021568, - 0.33260123542769415, - -0.4966300249214577, - -0.2625163460458651, - 0.2925241163932714, - 0.5871484129752282, - 0.2349918247790265, - -0.35088262870509845, - -0.18547494302808873, - 0.20667624945877014, - 0.41483633337857223, - 0.1778191277432155, - -0.2655141004763387, - -0.14034953181039317, - 0.15639263382065127, - 0.31390809031886957 + -0.3489977503074653 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -513,44 +287,14 @@ -0.4966300249214577, -0.29551058830206145, 0.06317941282906354, - 0.03545261583385307, - 0.11876678595900672, - -0.35088262870509845, - -0.2087862731409977, - 0.0446379746311603, - 0.025048237952543358, - 0.08987123830347765, - -0.2655141004763387, - -0.15798929604935463, - 0.0337777100141151, - 0.018954088416743526, - 0.07222766531977978, - -0.21338822018110484, - -0.126972746950626, - 0.027146450635596037, - 0.015233010921462481, - 0.06050014484512656, - -0.17874062759812764, - -0.10635633240926619, - 0.022738713596987745, - 0.012759644979440089, - 0.05217367291890808, - -0.154141036612367, - -0.09171879694158944, - 0.019609245710778034, - 0.01100356941995737, - 0.0459751542052831, - -0.1358282354126892, - -0.08082210043813172, - 0.0172795596890225, - 0.009696284976471806 + 0.03545261583385307 ], "tpm": [ - 4.6183811973257624e-23, + 1.2366838464286067e-17, 1.0, 0.0, 0.0, - 1.6588473835624772e-06 + 6.951408214969285e-05 ], "variance": [ 0.18473004605238813, @@ -568,43 +312,9 @@ "reporter_transfer:average:value": [ -0.3001142672509003, -1.1838278572106151, - -0.5588488505703247, - -0.7577746690360079, - 0.7805741773121757, - -0.22574615671702045, - -0.8904761224049639, - -0.4203664869311222, - -0.569998623388928, - 0.5871484290798642, - -0.15949580354350304, - -0.6291456153441388, - -0.297000363554005, - -0.4027195402935717, - 0.41483634475693826, - -0.12069102697989492, - -0.4760766662739718, - -0.22474120380680862, - -0.30473927102178916, - 0.3139080989289104 + -0.5588488505703247 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -644,44 +354,14 @@ -0.4966300249214577, -0.29551058830206145, 0.06317941282906354, - 0.03545261583385307, - -0.15949580354350304, - -0.35088262870509845, - -0.2087862731409977, - 0.0446379746311603, - 0.025048237952543358, - -0.12069102697989492, - -0.2655141004763387, - -0.15798929604935463, - 0.0337777100141151, - 0.018954088416743526, - -0.09699689542971157, - -0.21338822018110484, - -0.126972746950626, - 0.027146450635596037, - 0.015233010921462481, - -0.08124762439741702, - -0.17874062759812764, - -0.10635633240926619, - 0.022738713596987745, - 0.012759644979440089, - -0.07006573276207663, - -0.154141036612367, - -0.09171879694158944, - 0.019609245710778034, - 0.01100356941995737, - -0.0617415391331595, - -0.1358282354126892, - -0.08082210043813172, - 0.0172795596890225, - 0.009696284976471806 + 0.03545261583385307 ], "tpm": [ 1.0, - 0.07199097608443429, + 0.12271854159713495, 0.0, 0.0, - 1.6591315429564018e-06 + 6.952400456143865e-05 ], "variance": [ 0.21579602955935873, @@ -699,43 +379,9 @@ "reporter_transfer:average:value": [ 0.26734158094168203, -0.09277959241080441, - 0.49277094513070197, - -0.43959924151054985, - -0.27104416233216466, - 0.20109451970120698, - -0.06978887275302212, - 0.3706626413471087, - -0.33066684958345477, - -0.20387960395096286, - 0.14207875108210732, - -0.049307737947947905, - 0.2618832439274836, - -0.23362512853846676, - -0.14404648890268862, - 0.10751148305631339, - -0.03731133609005539, - 0.198167957754413, - -0.17678494395951047, - -0.10900047707957414 + 0.49277094513070197 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -775,42 +421,12 @@ -0.4966300249214577, -0.29551058830206145, -0.33066684958345477, - -0.20387960395096286, - -0.15949580354350304, - -0.35088262870509845, - -0.2087862731409977, - -0.23362512853846676, - -0.14404648890268862, - -0.12069102697989492, - -0.2655141004763387, - -0.15798929604935463, - -0.17678494395951047, - -0.10900047707957414, - -0.09699689542971157, - -0.21338822018110484, - -0.126972746950626, - -0.1420784224970854, - -0.08760144098257348, - -0.08124762439741702, - -0.17874062759812764, - -0.10635633240926619, - -0.11900931730790246, - -0.07337769876161505, - -0.07006573276207663, - -0.154141036612367, - -0.09171879694158944, - -0.1026303856201015, - -0.06327892378666067, - -0.0617415391331595, - -0.1358282354126892, - -0.08082210043813172, - -0.0904373324906382, - -0.05576104031514878 + -0.20387960395096286 ], "tpm": [ 0.0, 0.0, - 0.0002200032882200464, + 0.005911320654596598, 1.0, 1.0 ], diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/imh_5prop.json b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/imh_5prop.json index 8fc24601b872..2c402680f65e 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/imh_5prop.json +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/imh_5prop.json @@ -1,5 +1,5 @@ { - "number_of_parts": 2, + "number_of_parts": 4, "part": 0, "reporters": { "constant": { @@ -7,12 +7,12 @@ "values": { "reporter_transfer:average:value": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" }, "reporter_transfer:converged": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" } } @@ -53,45 +53,11 @@ { "constant": { "reporter_transfer:average:value": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0 ], "reporter_transfer:converged": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, false, false, false @@ -122,36 +88,6 @@ ], "noise": 0.0, "outputs_required": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0, @@ -190,43 +126,9 @@ "reporter_transfer:average:value": [ 0.09743591614083168, 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376 + 0.09743591614083168 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -266,37 +168,7 @@ 0.07329136264166623, 0.07329136264166623, 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213 + 0.07329136264166623 ], "seed_input": [ 0.20231647876098566, @@ -328,43 +200,9 @@ "reporter_transfer:average:value": [ 0.10613109321848199, 0.11741955640444028, - 0.09950447499988227, - 0.11557448699763559, - 0.1132150836083887, - 0.07983188077580176, - 0.08832307049104207, - 0.07484733402763653, - 0.08693520802358874, - 0.08516046318338635, - 0.05640339644330293, - 0.06240265307027066, - 0.052881678507755596, - 0.061422090465411056, - 0.06016818493443271, - 0.04268064544997236, - 0.04722030371890952, - 0.040015749290524365, - 0.04647830859946766, - 0.045529473941516505 + 0.09950447499988227 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -404,37 +242,7 @@ 0.08832307049104207, 0.07484733402763653, 0.08693520802358874, - 0.08516046318338635, - 0.05640339644330293, - 0.06240265307027066, - 0.052881678507755596, - 0.061422090465411056, - 0.06016818493443271, - 0.04268064544997236, - 0.04722030371890952, - 0.040015749290524365, - 0.04647830859946766, - 0.045529473941516505, - 0.03430155668731142, - 0.03794998664447969, - 0.03215983446829071, - 0.037353660431965224, - 0.03659110153757633, - 0.028732053553304118, - 0.03178809225937899, - 0.026938080234398164, - 0.031288590827728016, - 0.030649847717873182, - 0.02477773843709924, - 0.027413182770105727, - 0.02323066483246799, - 0.026982426374655127, - 0.026431591758022246, - 0.021834007110693367, - 0.024156346191457012, - 0.020470734341760645, - 0.023776766020182513, - 0.023291373579414982 + 0.08516046318338635 ], "seed_input": [ 0.08641364998652862, @@ -466,43 +274,9 @@ "reporter_transfer:average:value": [ 0.0784936461703452, 0.07297019448775804, - 0.11781333933757844, - 0.16609647698288627, - 0.20252390351476598, - 0.059042974237790286, - 0.0548882301111781, - 0.08861927428215285, - 0.12493788338238315, - 0.15233861848913635, - 0.04171546819054339, - 0.03878002839120088, - 0.06261192911012833, - 0.08827201487241366, - 0.10763137995464254, - 0.03156623926763475, - 0.029344981804152265, - 0.047378663622877466, - 0.06679573939743196, - 0.0814450380082785 + 0.11781333933757844 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -542,37 +316,7 @@ 0.08516046318338635, 0.08516046318338635, 0.08516046318338635, - 0.0548882301111781, - 0.03878002839120088, - 0.06016818493443271, - 0.06016818493443271, - 0.06016818493443271, - 0.03878002839120088, - 0.029344981804152265, - 0.045529473941516505, - 0.045529473941516505, - 0.045529473941516505, - 0.029344981804152265, - 0.023583958167180282, - 0.03659110153757633, - 0.03659110153757633, - 0.03659110153757633, - 0.023583958167180282, - 0.019754658811399012, - 0.030649847717873182, - 0.030649847717873182, - 0.030649847717873182, - 0.019754658811399012, - 0.017035878345233683, - 0.026431591758022246, - 0.026431591758022246, - 0.026431591758022246, - 0.017035878345233683, - 0.015011922491170665, - 0.023291373579414982, - 0.023291373579414982, - 0.023291373579414982, - 0.015011922491170665 + 0.0548882301111781 ], "seed_input": [ 0.032371657975743345, @@ -581,9 +325,9 @@ "tpm": [ 0.2, 0.2, - 0.007118451147786294, - 1.346123406662829e-18, - 4.504157749129567e-31 + 0.02054594254689235, + 3.824244873677283e-13, + 1.1662697867005693e-21 ], "variance": [ 0.0, @@ -604,43 +348,9 @@ "reporter_transfer:average:value": [ 0.03863482075625506, 0.11458503719940456, - 0.13608796202342682, - 0.07297532590329721, - 0.1574261368665359, - 0.02906113854924019, - 0.08619094320983231, - 0.10236545794273887, - 0.05489208996548373, - 0.11841604762752897, - 0.020532485302108872, - 0.06089624711824793, - 0.07232398197662623, - 0.03878275548328352, - 0.08366416041577523, - 0.015537002745646109, - 0.046080401117723796, - 0.05472780766678819, - 0.029347045404169075, - 0.06330895997010863 + 0.13608796202342682 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -680,37 +390,7 @@ 0.0548882301111781, 0.0548882301111781, 0.0548882301111781, - 0.0548882301111781, - 0.020532485302108872, - 0.03878002839120088, - 0.03878002839120088, - 0.03878002839120088, - 0.03878002839120088, - 0.015537002745646109, - 0.029344981804152265, - 0.029344981804152265, - 0.029344981804152265, - 0.029344981804152265, - 0.012486769466739735, - 0.023583958167180282, - 0.023583958167180282, - 0.023583958167180282, - 0.023583958167180282, - 0.010459307497226886, - 0.019754658811399012, - 0.019754658811399012, - 0.019754658811399012, - 0.019754658811399012, - 0.00901982118747396, - 0.017035878345233683, - 0.017035878345233683, - 0.017035878345233683, - 0.017035878345233683, - 0.007948216922379812, - 0.015011922491170665, - 0.015011922491170665, - 0.015011922491170665, - 0.015011922491170665 + 0.0548882301111781 ], "seed_input": [ 0.032371657975743345, @@ -718,10 +398,10 @@ ], "tpm": [ 0.2, - 3.530083340313359e-14, - 4.86862579288025e-21, - 0.1994742076859659, - 4.989661962346048e-28 + 3.9901347999473215e-10, + 8.3115261942185e-15, + 0.19969776701804082, + 1.4118592497501998e-19 ], "variance": [ 0.0, @@ -742,43 +422,9 @@ "reporter_transfer:average:value": [ 0.0842685276480089, 0.044724553355951525, - 0.04913502408585937, - 0.07550580919063081, - 0.05535197337264023, - 0.06338684402784121, - 0.03364183956824854, - 0.036959398662354266, - 0.056795521221732835, - 0.04163579216021828, - 0.04478453041842041, - 0.02376887523868967, - 0.02611282102812252, - 0.04012758146881323, - 0.029416820305338213, - 0.03388860928563531, - 0.01798599022039478, - 0.01975966211788221, - 0.030364679885559447, - 0.022259809814783885 + 0.04913502408585937 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -818,47 +464,17 @@ 0.03364183956824854, 0.0548882301111781, 0.0548882301111781, - 0.0548882301111781, - 0.03878002839120088, - 0.02376887523868967, - 0.03878002839120088, - 0.03878002839120088, - 0.03878002839120088, - 0.029344981804152265, - 0.01798599022039478, - 0.029344981804152265, - 0.029344981804152265, - 0.029344981804152265, - 0.023583958167180282, - 0.014454970317627798, - 0.023583958167180282, - 0.023583958167180282, - 0.023583958167180282, - 0.019754658811399012, - 0.012107933906987086, - 0.019754658811399012, - 0.019754658811399012, - 0.019754658811399012, - 0.017035878345233683, - 0.01044155158646437, - 0.017035878345233683, - 0.017035878345233683, - 0.017035878345233683, - 0.015011922491170665, - 0.00920103794641402, - 0.015011922491170665, - 0.015011922491170665, - 0.015011922491170665 + 0.0548882301111781 ], "seed_input": [ 0.032371657975743345, 0.11740923879796292 ], "tpm": [ - 8.067427269196571e-05, + 0.0009678021033773737, 0.2, 0.2, - 0.034905842251663474, + 0.060768125575165644, 0.2 ], "variance": [ diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base.json b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base.json index 916df5e2d888..aa938cdf2fa6 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base.json +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base.json @@ -1,5 +1,5 @@ { - "number_of_parts": 2, + "number_of_parts": 4, "part": 0, "reporters": { "constant": { @@ -7,12 +7,12 @@ "values": { "reporter_transfer:average:value": { "row_begin": 0, - "row_end": 8, + "row_end": 1, "type": "std::vector" }, "reporter_transfer:converged": { "row_begin": 0, - "row_end": 8, + "row_end": 1, "type": "std::vector" } } @@ -50,23 +50,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0 ], "reporter_transfer:converged": [ - false, - false, - false, - false, - false, - false, - false, false ] }, @@ -83,18 +69,6 @@ ], "noise": 0.0, "outputs_required": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0, @@ -118,23 +92,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376 + 0.09743591614083168 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -154,19 +114,7 @@ 0.09743591614083168, 0.09743591614083168, 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.031491276491485955, - 0.031491276491485955, - 0.026378075224476345, - 0.026378075224476345, - 0.022747731803193793, - 0.022747731803193793, - 0.020045176407234213, - 0.020045176407234213 + 0.07329136264166623 ], "tpm": [ 1.0, @@ -186,23 +134,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.17390354155392757, - 0.3996728052737176, - 0.13081036268271634, - 0.3006341569875221, - 0.09242108132211664, - 0.2124062138583606, - 0.0699353523507387, - 0.1607285177286819 + 0.17390354155392757 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -222,19 +156,7 @@ 0.17390354155392757, 0.3996728052737176, 0.13081036268271634, - 0.3006341569875221, - 0.09242108132211664, - 0.2124062138583606, - 0.0699353523507387, - 0.1607285177286819, - 0.05620560391716117, - 0.12917420306063207, - 0.04707956657661421, - 0.10820034069800642, - 0.04060013267776769, - 0.09330901933792277, - 0.035776614069357095, - 0.08222339568587012 + 0.3006341569875221 ], "tpm": [ 1.0, @@ -254,23 +176,9 @@ { "constant": { "reporter_transfer:average:value": [ - -0.6944287487608779, - -0.8048977824137532, - -0.522349778911921, - -0.6054446614441553, - -0.36905433487778866, - -0.42776313087021406, - -0.2792646934776275, - -0.3236898427489761 + -0.6944287487608779 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -290,19 +198,7 @@ -0.6944287487608779, -0.8048977824137532, -0.522349778911921, - -0.6054446614441553, - -0.36905433487778866, - -0.42776313087021406, - -0.2792646934776275, - -0.3236898427489761, - -0.22443928888852335, - -0.2601428674075789, - -0.18799734736809418, - -0.21790377812880343, - -0.16212377898134525, - -0.1879142682549541, - -0.1428625841732344, - -0.16558902176224785 + -0.6054446614441553 ], "tpm": [ 1.0, @@ -322,23 +218,9 @@ { "constant": { "reporter_transfer:average:value": [ - -0.6867074746305079, - 0.8322968542340848, - -0.516541831238754, - 0.6260542619730737, - -0.36495086177936825, - 0.44232437454801643, - -0.2761595811724999, - 0.33470838627498734 + -0.6867074746305079 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -358,19 +240,7 @@ -0.6867074746305079, 0.8322968542340848, -0.516541831238754, - 0.6260542619730737, - -0.36495086177936825, - 0.44232437454801643, - -0.2761595811724999, - 0.33470838627498734, - -0.2219437740087011, - 0.26899824415641915, - -0.1859070262828101, - 0.22532131784255674, - -0.1603211431555714, - 0.19431095196370152, - -0.1412741113786602, - 0.17122574433555143 + 0.6260542619730737 ], "tpm": [ 1.0, @@ -390,23 +260,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.22596666320572156, - -0.56491282263639, - 0.16997227833325587, - -0.4249278108585866, - 0.12009004054483385, - -0.3002230630478822, - 0.09087254963031148, - -0.22717983167762304 + 0.22596666320572156 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -426,19 +282,7 @@ 0.22596666320572156, -0.56491282263639, 0.16997227833325587, - -0.4249278108585866, - 0.12009004054483385, - -0.3002230630478822, - 0.09087254963031148, - -0.22717983167762304, - 0.07303239863396521, - -0.1825797569909158, - 0.06117421456416347, - -0.15293449808732207, - 0.05275497223880415, - -0.1318865351757669, - 0.046487391975072484, - -0.11621769089863329 + -0.4249278108585866 ], "tpm": [ 1.0, diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base_bounds.json b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base_bounds.json index 916df5e2d888..aa938cdf2fa6 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base_bounds.json +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/mcmc_base_bounds.json @@ -1,5 +1,5 @@ { - "number_of_parts": 2, + "number_of_parts": 4, "part": 0, "reporters": { "constant": { @@ -7,12 +7,12 @@ "values": { "reporter_transfer:average:value": { "row_begin": 0, - "row_end": 8, + "row_end": 1, "type": "std::vector" }, "reporter_transfer:converged": { "row_begin": 0, - "row_end": 8, + "row_end": 1, "type": "std::vector" } } @@ -50,23 +50,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0 ], "reporter_transfer:converged": [ - false, - false, - false, - false, - false, - false, - false, false ] }, @@ -83,18 +69,6 @@ ], "noise": 0.0, "outputs_required": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0, @@ -118,23 +92,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376 + 0.09743591614083168 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -154,19 +114,7 @@ 0.09743591614083168, 0.09743591614083168, 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.031491276491485955, - 0.031491276491485955, - 0.026378075224476345, - 0.026378075224476345, - 0.022747731803193793, - 0.022747731803193793, - 0.020045176407234213, - 0.020045176407234213 + 0.07329136264166623 ], "tpm": [ 1.0, @@ -186,23 +134,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.17390354155392757, - 0.3996728052737176, - 0.13081036268271634, - 0.3006341569875221, - 0.09242108132211664, - 0.2124062138583606, - 0.0699353523507387, - 0.1607285177286819 + 0.17390354155392757 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -222,19 +156,7 @@ 0.17390354155392757, 0.3996728052737176, 0.13081036268271634, - 0.3006341569875221, - 0.09242108132211664, - 0.2124062138583606, - 0.0699353523507387, - 0.1607285177286819, - 0.05620560391716117, - 0.12917420306063207, - 0.04707956657661421, - 0.10820034069800642, - 0.04060013267776769, - 0.09330901933792277, - 0.035776614069357095, - 0.08222339568587012 + 0.3006341569875221 ], "tpm": [ 1.0, @@ -254,23 +176,9 @@ { "constant": { "reporter_transfer:average:value": [ - -0.6944287487608779, - -0.8048977824137532, - -0.522349778911921, - -0.6054446614441553, - -0.36905433487778866, - -0.42776313087021406, - -0.2792646934776275, - -0.3236898427489761 + -0.6944287487608779 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -290,19 +198,7 @@ -0.6944287487608779, -0.8048977824137532, -0.522349778911921, - -0.6054446614441553, - -0.36905433487778866, - -0.42776313087021406, - -0.2792646934776275, - -0.3236898427489761, - -0.22443928888852335, - -0.2601428674075789, - -0.18799734736809418, - -0.21790377812880343, - -0.16212377898134525, - -0.1879142682549541, - -0.1428625841732344, - -0.16558902176224785 + -0.6054446614441553 ], "tpm": [ 1.0, @@ -322,23 +218,9 @@ { "constant": { "reporter_transfer:average:value": [ - -0.6867074746305079, - 0.8322968542340848, - -0.516541831238754, - 0.6260542619730737, - -0.36495086177936825, - 0.44232437454801643, - -0.2761595811724999, - 0.33470838627498734 + -0.6867074746305079 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -358,19 +240,7 @@ -0.6867074746305079, 0.8322968542340848, -0.516541831238754, - 0.6260542619730737, - -0.36495086177936825, - 0.44232437454801643, - -0.2761595811724999, - 0.33470838627498734, - -0.2219437740087011, - 0.26899824415641915, - -0.1859070262828101, - 0.22532131784255674, - -0.1603211431555714, - 0.19431095196370152, - -0.1412741113786602, - 0.17122574433555143 + 0.6260542619730737 ], "tpm": [ 1.0, @@ -390,23 +260,9 @@ { "constant": { "reporter_transfer:average:value": [ - 0.22596666320572156, - -0.56491282263639, - 0.16997227833325587, - -0.4249278108585866, - 0.12009004054483385, - -0.3002230630478822, - 0.09087254963031148, - -0.22717983167762304 + 0.22596666320572156 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, true ] }, @@ -426,19 +282,7 @@ 0.22596666320572156, -0.56491282263639, 0.16997227833325587, - -0.4249278108585866, - 0.12009004054483385, - -0.3002230630478822, - 0.09087254963031148, - -0.22717983167762304, - 0.07303239863396521, - -0.1825797569909158, - 0.06117421456416347, - -0.15293449808732207, - 0.05275497223880415, - -0.1318865351757669, - 0.046487391975072484, - -0.11621769089863329 + -0.4249278108585866 ], "tpm": [ 1.0, diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/ss_5prop.json b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/ss_5prop.json index 78b879e623b9..28679797ab37 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/gold/ss_5prop.json +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/gold/ss_5prop.json @@ -1,5 +1,5 @@ { - "number_of_parts": 2, + "number_of_parts": 4, "part": 0, "reporters": { "constant": { @@ -7,12 +7,12 @@ "values": { "reporter_transfer:average:value": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" }, "reporter_transfer:converged": { "row_begin": 0, - "row_end": 20, + "row_end": 3, "type": "std::vector" } } @@ -50,45 +50,11 @@ { "constant": { "reporter_transfer:average:value": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0 ], "reporter_transfer:converged": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, false, false, false @@ -119,36 +85,6 @@ ], "noise": 0.0, "outputs_required": [ - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, 0.0, 0.0, 0.0, @@ -186,43 +122,9 @@ "reporter_transfer:average:value": [ 0.09743591614083168, 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.09743591614083168, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376 + 0.09743591614083168 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -262,37 +164,7 @@ 0.07329136264166623, 0.07329136264166623, 0.07329136264166623, - 0.07329136264166623, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.05178234237725436, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.039183877832323376, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.031491276491485955, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.026378075224476345, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.022747731803193793, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213, - 0.020045176407234213 + 0.07329136264166623 ], "tpm": [ 1.0, @@ -320,43 +192,9 @@ "reporter_transfer:average:value": [ 0.3996728052737176, 0.3627714171374844, - -0.9325141106934405, - 0.48205492703904684, - 0.052787859798819683, - 0.3006341569875221, - 0.2728769076384531, - -0.7014377507006032, - 0.36260204522224404, - 0.03970706417956802, - 0.2124062138583606, - 0.19279496176236147, - -0.4955848609390318, - 0.25618821339109576, - 0.028054121490657606, - 0.1607285177286819, - 0.14588861534093805, - -0.3750107808058592, - 0.19385850842071498, - 0.021228650905881944 + -0.9325141106934405 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -396,37 +234,7 @@ 0.2728769076384531, -0.7014377507006032, 0.36260204522224404, - 0.03970706417956802, - 0.2124062138583606, - 0.19279496176236147, - -0.4955848609390318, - 0.25618821339109576, - 0.028054121490657606, - 0.1607285177286819, - 0.14588861534093805, - -0.3750107808058592, - 0.19385850842071498, - 0.021228650905881944, - 0.12917420306063207, - 0.11724767881018888, - -0.3013884495072754, - 0.1558000950027552, - 0.01706102999961904, - 0.10820034069800642, - 0.09821031206451866, - -0.25245236391229453, - 0.13050301809997958, - 0.014290850764787748, - 0.09330901933792277, - 0.08469389142873274, - -0.21770802526314126, - 0.1125422393403703, - 0.012324039478758576, - 0.08222339568587012, - 0.0746317922595328, - -0.19184311690487396, - 0.09917160358504873, - 0.010859875944543549 + 0.03970706417956802 ], "tpm": [ 1.0, @@ -454,43 +262,9 @@ "reporter_transfer:average:value": [ 0.3936382922857709, 0.50253704964573, - -1.6885951644093078, - 0.5615144609781946, - -0.0410773580073423, - 0.2960949921981672, - 0.3780087118309181, - -1.270162435491173, - 0.422371560899531, - -0.03089841673699124, - 0.2091991703984753, - 0.2670734426522041, - -0.8974043289497896, - 0.2984170028818728, - -0.021830572355671568, - 0.15830173683446597, - 0.20209539910509786, - -0.6790689640046244, - 0.22581317969421993, - -0.01651926970661677 + -1.6885951644093078 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -530,43 +304,13 @@ 0.2728769076384531, -0.7014377507006032, 0.36260204522224404, - -0.03089841673699124, - 0.2091991703984753, - 0.19279496176236147, - -0.4955848609390318, - 0.25618821339109576, - -0.021830572355671568, - 0.15830173683446597, - 0.14588861534093805, - -0.3750107808058592, - 0.19385850842071498, - -0.01651926970661677, - 0.1272238491816826, - 0.11724767881018888, - -0.3013884495072754, - 0.1558000950027552, - -0.013276197215356438, - 0.10656666346843192, - 0.09821031206451866, - -0.25245236391229453, - 0.13050301809997958, - -0.011120556797333741, - 0.09190018070378175, - 0.08469389142873274, - -0.21770802526314126, - 0.1125422393403703, - -0.00959006452797316, - 0.08098193481429145, - 0.0746317922595328, - -0.19184311690487396, - 0.09917160358504873, - -0.008450712224164188 + -0.03089841673699124 ], "tpm": [ 1.0, - 4.408994767139238e-62, - 4.605913289533431e-191, - 2.416244023940254e-38, + 1.4822815465893526e-42, + 3.9410031981369457e-132, + 2.3370823744881058e-26, 1.0 ], "variance": [ @@ -588,43 +332,9 @@ "reporter_transfer:average:value": [ -0.19954963270653844, 0.26572078572216756, - -1.6948535783810788, - 0.8707232800777505, - -0.44800165932774283, - -0.15010136995647644, - 0.19987535643049797, - -1.2748700187533424, - 0.6549586457266455, - -0.3369871540019507, - -0.10605070297639643, - 0.1412173790536423, - -0.9007303646443142, - 0.4627461083153088, - -0.2380905956202332, - -0.08024893426629853, - 0.10685967985641194, - -0.6815857867362821, - 0.3501615829548581, - -0.18016397836976195 + -1.6948535783810788 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -664,43 +374,13 @@ 0.19987535643049797, -0.7014377507006032, 0.36260204522224404, - -0.3369871540019507, - -0.10605070297639643, - 0.1412173790536423, - -0.4955848609390318, - 0.25618821339109576, - -0.2380905956202332, - -0.08024893426629853, - 0.10685967985641194, - -0.3750107808058592, - 0.19385850842071498, - -0.18016397836976195, - -0.06449441752302014, - 0.08588092629625672, - -0.3013884495072754, - 0.1558000950027552, - -0.14479408293479007, - -0.054022535334200796, - 0.0719365420071143, - -0.25245236391229453, - 0.13050301809997958, - -0.12128403917659497, - -0.046587559351998396, - 0.06203610955332301, - -0.21770802526314126, - 0.1125422393403703, - -0.10459204364681371, - -0.04105270159118346, - 0.05466587923447702, - -0.19184311690487396, - 0.09917160358504873, - -0.09216593477613381 + -0.3369871540019507 ], "tpm": [ 1.0, 1.0, - 1.1620979404551804e-193, - 7.946766763505296e-210, + 6.070069297057857e-134, + 1.0688975410684363e-143, 1.0 ], "variance": [ @@ -722,43 +402,9 @@ "reporter_transfer:average:value": [ 0.05509615225649971, 0.3594013198426588, - -0.3256490480252609, - 0.4742918108046582, - -0.44363801651661855, - 0.04144336334207032, - 0.27034191815249037, - -0.24495343624816138, - 0.35676262389076036, - -0.33370481890032966, - 0.02928086410747731, - 0.19100392269920372, - -0.17306626927041663, - 0.25206250329689667, - -0.2357715365401094, - 0.022156931289792414, - 0.1445333298782984, - -0.13095984539930478, - 0.19073656930240235, - -0.17840913833141517 + -0.3256490480252609 ], "reporter_transfer:converged": [ - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, true, true, true @@ -798,44 +444,14 @@ 0.19987535643049797, -0.7014377507006032, 0.35676262389076036, - -0.3369871540019507, - -0.10605070297639643, - 0.1412173790536423, - -0.4955848609390318, - 0.25206250329689667, - -0.2380905956202332, - -0.08024893426629853, - 0.10685967985641194, - -0.3750107808058592, - 0.19073656930240235, - -0.18016397836976195, - -0.06449441752302014, - 0.08588092629625672, - -0.3013884495072754, - 0.15329105676043556, - -0.14479408293479007, - -0.054022535334200796, - 0.0719365420071143, - -0.25245236391229453, - 0.12840136942546593, - -0.12128403917659497, - -0.046587559351998396, - 0.06203610955332301, - -0.21770802526314126, - 0.11072983491033918, - -0.10459204364681371, - -0.04105270159118346, - 0.05466587923447702, - -0.19184311690487396, - 0.09757452274929583, - -0.09216593477613381 + -0.3369871540019507 ], "tpm": [ - 6.830229326277184e-62, - 9.179644268499451e-38, - 1.7706638797213624e-12, + 2.282345923819638e-42, + 4.4277741029943946e-26, + 3.828534996306744e-08, 1.0, - 0.4410076021547744 + 0.5962984959658253 ], "variance": [ 0.0, diff --git a/modules/stochastic_tools/test/tests/samplers/mcmc/tests b/modules/stochastic_tools/test/tests/samplers/mcmc/tests index 205b6fb94080..136aca0c366e 100644 --- a/modules/stochastic_tools/test/tests/samplers/mcmc/tests +++ b/modules/stochastic_tools/test/tests/samplers/mcmc/tests @@ -8,8 +8,8 @@ input = main_base.i allow_test_objects = true jsondiff = 'mcmc_base.json' - min_parallel = 2 - max_parallel = 2 + min_parallel = 4 + max_parallel = 4 detail = 'using the base MCMC class; ' [] [pmcmc_base_bounds] @@ -18,8 +18,8 @@ allow_test_objects = true jsondiff = 'mcmc_base_bounds.json' cli_args = "Samplers/sample/lower_bound='-2.0 -2.0' Samplers/sample/upper_bound='2.0 2.0' Outputs/file_base='mcmc_base_bounds'" - min_parallel = 2 - max_parallel = 2 + min_parallel = 4 + max_parallel = 4 detail = 'using the base MCMC class with bounds specified; ' [] [imh_5prop] @@ -27,8 +27,8 @@ input = main_imh.i allow_test_objects = true jsondiff = 'imh_5prop.json' - min_parallel = 2 - max_parallel = 2 + min_parallel = 4 + max_parallel = 4 detail = 'using the independent Metropolis-Hastings class; ' [] [des_5prop] @@ -36,8 +36,8 @@ input = main_des.i allow_test_objects = true jsondiff = 'des_5prop.json' - min_parallel = 2 - max_parallel = 2 + min_parallel = 4 + max_parallel = 4 detail = 'using the differential evolution sampler class; ' [] [ss_5prop] @@ -45,8 +45,8 @@ input = main_ss.i allow_test_objects = true jsondiff = 'ss_5prop.json' - min_parallel = 2 - max_parallel = 2 + min_parallel = 4 + max_parallel = 4 detail = 'using the stretch sampler class; ' [] [des_5prop_var] @@ -54,19 +54,9 @@ input = main_des_var.i allow_test_objects = true jsondiff = 'des_5prop_var.json' - min_parallel = 2 - max_parallel = 2 - detail = 'using the differential evolution sampler class with variance inferred; ' - [] - [des_5prop_parallel] - type = 'JSONDiff' - input = main_des.i - allow_test_objects = true min_parallel = 4 max_parallel = 4 - jsondiff = 'des_5prop_parallel.json' - cli_args = "Outputs/file_base='des_5prop_parallel'" - detail = 'using the differential evolution sampler class with parallelization; ' + detail = 'using the differential evolution sampler class with variance inferred; ' [] [] [mcmc_sampling_errors]