- Timestamp:
- Dec 10, 2009, 12:10:39 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- a64c950
- Parents:
- 1463b2e
- Location:
- tol_tests/tol/BSR
- Files:
-
- 9 edited
-
test_03/def.tol (modified) (1 diff)
-
test_03/test.tol (modified) (1 diff)
-
test_04/test.tol (modified) (1 diff)
-
test_05/test.tol (modified) (1 diff)
-
test_07/test.tol (modified) (4 diffs)
-
test_08/test.tol (modified) (4 diffs)
-
test_09/test.tol (modified) (1 diff)
-
test_12/test.tol (modified) (1 diff)
-
test_16/test.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol_tests/tol/BSR/test_03/def.tol
r1463b2e rf7f325b 29 29 30 30 //Number of variables of each observational node 31 Real n = IntRand( 10,10);31 Real n = IntRand(3,3); 32 32 Real S = 7; 33 33 //Data length of each observational node 34 Real m = IntRand( 300,600);34 Real m = IntRand(100,100); 35 35 //Number of observational nodes 36 Real K1 = IntRand(2, 4);36 Real K1 = IntRand(2,2); 37 37 // 38 Real enableARMA = true; 38 Real enableARMA = True; 39 Real enableARMASeasonal = And(enableARMA,True); 39 40 //Regular AR Degree 40 41 Real p1 = enableARMA*IntRand(0,2); 41 42 //Seasonal AR Degree 42 Real pS = enableARMA *IntRand(0,2);43 Real pS = enableARMASeasonal*IntRand(0,2); 43 44 //Regular AR Degree 44 45 Real q1 = enableARMA*IntRand(0,Max(0,1-p1)); 45 46 //Seasonal AR Degree 46 Real qS = enableARMA *IntRand(0,Max(0,1-pS));47 Real qS = enableARMASeasonal*IntRand(0,Max(0,1-pS)); 47 48 //Number of missing values in input matrix 48 49 Real MissInp = Max(4,IntRand(0.01*n*K1,0.05*n*K1)); -
tol_tests/tol/BSR/test_03/test.tol
r1463b2e rf7f325b 38 38 Real bsr.linBlk.MH.useAfterIter = 1/0; 39 39 Real bsr.arimaStoreInitialValues = True; 40 //Code bsr.scalarSampler.armaBlock = BysMcmc::Options::Scalar.Sampler::Arms;41 //Code bsr.scalarSampler.nonLinBlock = BysMcmc::Options::Scalar.Sampler::Arms;42 40 Real do.resume = 0; 43 41 Real do.mcmc.profiler = True -
tol_tests/tol/BSR/test_04/test.tol
r1463b2e rf7f325b 382 382 Real mcmc.cacheLength = 100; 383 383 384 Code bsr.scalarSampler.nonLinBlock=BysMcmc::Options::Scalar.Sampler::Slice;385 386 384 Text DBApi.modularSchema = 387 385 BysMcmc::Options::DBApi.Modular.Schema::Master.ObsAsPrimary; -
tol_tests/tol/BSR/test_05/test.tol
r1463b2e rf7f325b 313 313 Real mcmc.cacheLength = 100; 314 314 315 Code bsr.scalarSampler.nonLinBlock=BysMcmc::Options::Scalar.Sampler::Slice;316 317 315 Text DBApi.modularSchema = 318 316 BysMcmc::Options::DBApi.Modular.Schema::Master.ObsAsPrimary; -
tol_tests/tol/BSR/test_07/test.tol
r1463b2e rf7f325b 77 77 Text _.segmentName = "Obs"; 78 78 79 //Tool function to reduce registers length in _.linearParamInfo80 Code LPI = BysMcmc::Bsr::OneNode::LPI;81 79 //#Original data storer by columns with names 82 80 Set _.data.orig = For(1, Card(data.name), Matrix(Real j) … … 103 101 104 102 //Linear block definition with domain and prior restrictions 105 Set _.linearParamInfo = [[ 103 Set _.linearParamInfo = { 104 //Tool function to reduce registers length in _.linearParamInfo 105 Code LPI = BysMcmc::Bsr::OneNode::LPI; 106 [[ 106 107 // Variable initVal min max priAvg priSig priSigWeight 107 108 LPI("Input_1", 0, -1/0, 0, ?, ?, ?), … … 112 113 LPI("Input_Pr_1_2", 0, 0, +1/0, ?, ?, ?), 113 114 LPI("Constant" , _.cteAvg, -1/0, +1/0, _.cteAvg, 0.25, 0.90) 114 ]] ;115 ]]}; 115 116 //Input matrix 116 117 VMatrix _.X = Group("ConcatColumns", … … 142 143 Real mcmc.thinning = 1; 143 144 Real mcmc.cacheLength = 100; 144 Code bsr.scalarSampler.nonLinBlock=BysMcmc::Options::Scalar.Sampler::Slice;145 145 146 146 Real bsr.iniVal.try.givenByUser = 2; -
tol_tests/tol/BSR/test_08/test.tol
r1463b2e rf7f325b 81 81 Text _.segmentName = "Obs"; 82 82 83 //Tool function to reduce registers length in _.linearParamInfo84 Code LPI = BysMcmc::Bsr::OneNode::LPI;85 83 //#Original data storer by columns with names 86 84 Set _.data.orig = For(1, Card(data.name), Matrix(Real j) … … 108 106 109 107 //Linear block definition with domain and prior restrictions 110 Set _.linearParamInfo = [[ 108 Set _.linearParamInfo = { 109 //Tool function to reduce registers length in _.linearParamInfo 110 Code LPI = BysMcmc::Bsr::OneNode::LPI; 111 [[ 111 112 // Variable initVal min max priAvg priSig priSigWeight 112 113 LPI("Input_1", 0, -1/0, 0, ?, ?, ?), … … 117 118 LPI("Input_Prod_1_2", 0, 0, +1/0, ?, ?, ?), 118 119 LPI("Constant" , _.cteAvg, -1/0, +1/0, _.cteAvg, 0.25, 0.90) 119 ]] ;120 ]]}; 120 121 //Input matrix 121 122 VMatrix _.X = Group("ConcatColumns", … … 147 148 Real mcmc.thinning = 2; //Probit mcmc have high alternance 148 149 Real mcmc.cacheLength = 100; 149 Code bsr.scalarSampler.nonLinBlock=BysMcmc::Options::Scalar.Sampler::Slice;150 151 150 //Try order for given by user solution to start MCMC 152 151 Real bsr.iniVal.try.givenByUser = 3; -
tol_tests/tol/BSR/test_09/test.tol
r1463b2e rf7f325b 202 202 Real bsr.cholesky.warningFreq = 100; 203 203 Real bsr.truncMNormal.gibbsNumIter = 5; 204 Code bsr.scalarSampler.armaBlock =205 BysMcmc::Options::Scalar.Sampler::Arms;206 Code bsr.scalarSampler.nonLinBlock =207 BysMcmc::Options::Scalar.Sampler::Arms;208 204 209 205 Text bsr.arimaFilter = BysMcmc::Options::Arima.Filter::FastCholSea; -
tol_tests/tol/BSR/test_12/test.tol
r1463b2e rf7f325b 176 176 Real bsr.cholesky.warningFreq = 100; 177 177 Real bsr.truncMNormal.gibbsNumIter = 5; 178 Code bsr.scalarSampler.armaBlock =179 BysMcmc::Options::Scalar.Sampler::Slice;180 Code bsr.scalarSampler.nonLinBlock =181 BysMcmc::Options::Scalar.Sampler::Slice;182 178 //Metodo de aproximacion del arima 183 179 Text bsr.arimaFilter = BysMcmc::Options::Arima.Filter::FastCholSea; -
tol_tests/tol/BSR/test_16/test.tol
r1463b2e rf7f325b 20 20 Real bsr.linBlk.MH.useAfterIter = 1/0; 21 21 Text bsr.arimaFilter = BysMcmc::Options::Arima.Filter::DifEq; 22 //Code bsr.scalarSampler.armaBlock = BysMcmc::Options::Scalar.Sampler::Arms;23 //Code bsr.scalarSampler.nonLinBlock = BysMcmc::Options::Scalar.Sampler::Arms;24 22 //Generic flags 25 23 Real do.resume = 0;
Note: See TracChangeset
for help on using the changeset viewer.
