Changeset 1a17e39 in tol
- Timestamp:
- Mar 20, 2009, 1:43:22 PM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 095f68d
- Parents:
- 9fc2160
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/math/stat/models/bayesian/bysMcmc/_bysMcmc.tol
r9fc2160 r1a17e39 62 62 NameBlock Arima.Filter = 63 63 [[ 64 Text FastChol = "FastChol", 64 //Exact method. Requires a Cholesky decomposition that is built in a 65 //fast and complex way. 66 Text FastChol = "FastChol", 67 //Approximated method valid and faster than FastChol when there are two 68 //or more distinct periods and one is much larger than the others. 65 69 Text FastCholSea = "FastCholSea", 66 Text DifEq = "DifEq" 70 //Approximated method valid and faster than FastChol and FastCholSea when 71 //the data length is very large 72 Text DifEq = "DifEq" 67 73 ]] 68 74 ]]; 69 75 70 76 //Configuration default values over all BysMcmc related components 71 Set ConfigSet=77 Set _config = 72 78 [[ 73 79 //MCMC dimensions … … 107 113 //multinormal 108 114 Real bsr.truncMNormal.gibbsNumIter = 0; 115 //Drops linear block matrix to force maximum sparsity 116 Real bsr.linBlk.X.drop = 1.E-16; 117 //Enables/disbales precondidioning for linear blocks of BSR 118 Real bsr.linBlk.usePreconditioning = False; 109 119 //Scalar sampler used in ARMA block of basic BSR can be a member of 110 120 //BysMcmc::Options::Scalar.Sampler or an API equivalent function … … 159 169 NameBlock Config = 160 170 { 161 Real SetIndexByName( ConfigSet);162 SetToNameBlock( ConfigSet)171 Real SetIndexByName(_config); 172 SetToNameBlock(_config) 163 173 }; 164 174 … … 173 183 NameBlock BuildFullConfig(NameBlock config) 174 184 { 175 //WriteLn("BuildFullConfig "); 176 Set _cfg = EvalSet(BysMcmc::ConfigSet, Anything(Anything member) 185 Set _cfg = EvalSet(_config, Anything(Anything member) 177 186 { 178 //WriteLn(" GetCfgVal "+Name(member));179 187 GetCfgVal(config, Name(member)) 180 188 }); … … 189 197 190 198 191
Note: See TracChangeset
for help on using the changeset viewer.
