Changeset 1a17e39 in tol


Ignore:
Timestamp:
Mar 20, 2009, 1:43:22 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
095f68d
Parents:
9fc2160
Message:

New configuration parameters
Drops linear block matrix to force maximum sparsity
Real bsr.linBlk.X.drop = 1.E-16;
Enables/disbales precondidioning for linear blocks of BSR
Real bsr.linBlk.usePreconditioning = False;

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@783 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/_bysMcmc.tol

    r9fc2160 r1a17e39  
    6262    NameBlock Arima.Filter =
    6363    [[
    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.
    6569      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"
    6773    ]]
    6874  ]];
    6975
    7076  //Configuration default values over all BysMcmc related components
    71   Set ConfigSet =
     77  Set _config =
    7278  [[
    7379  //MCMC dimensions
    … …  
    107113    //multinormal
    108114    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;
    109119    //Scalar sampler used in ARMA block of basic BSR can be a member of
    110120    //BysMcmc::Options::Scalar.Sampler or an API equivalent function
    … …  
    159169  NameBlock Config =
    160170  {
    161     Real SetIndexByName(ConfigSet);
    162     SetToNameBlock(ConfigSet)
     171    Real SetIndexByName(_config);
     172    SetToNameBlock(_config)
    163173  };
    164174
    … …  
    173183  NameBlock BuildFullConfig(NameBlock config)
    174184  {
    175   //WriteLn("BuildFullConfig ");
    176     Set _cfg = EvalSet(BysMcmc::ConfigSet, Anything(Anything member)
     185    Set _cfg = EvalSet(_config, Anything(Anything member)
    177186    {
    178     //WriteLn(" GetCfgVal "+Name(member));
    179187      GetCfgVal(config, Name(member))
    180188    });
    … …  
    189197
    190198
    191 
Note: See TracChangeset for help on using the changeset viewer.