Changeset d8c59c2 in tol


Ignore:
Timestamp:
Apr 1, 2009, 3:45:21 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
48190fa
Parents:
7a1bc83
Message:

Removing max-likelihood step

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

File:
1 edited

Legend:

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

    r7a1bc83 rd8c59c2  
    177177  //WriteLn("TRACE "+_MID+"savedSimulations="<<savedSimulations);
    178178  //WriteLn("TRACE "+_MID+"numSim="<<numSim);
    179     Real okMls = Case(Or(numSim>1,
    180        _.config::mls.method==BysMcmc::Options::Mls.Method::None),
    181     {
    182       1
    183     },
    184     _.config::mls.method==BysMcmc::Options::Mls.Method::FunnelGibbs,
    185     {
    186       Real numIter = 1;
    187       While(numIter<=_.config::mls.maxIter,
    188       {
    189         VMatrix param = _.sampler::maxLikelihood(numIter);
    190         Real numIter := numIter+1
    191       });
    192       1
    193     },
    194     1==1,
    195     {
    196       WriteLn(_MID+"Unknown Maximum Likelihood Step method "+
    197               _.config::mls.method, "E");
    198       0
    199     });
    200     Real end = !okMls;
     179    Real end = GE(numSim,sampleLength);
    201180    While(!end,
    202181    {
Note: See TracChangeset for help on using the changeset viewer.