Show
Ignore:
Timestamp:
06/10/10 21:40:09 (14 years ago)
Author:
mido
Message:

another update of doc - all bayesian models until bdm::MultiModel? finished
also MixEF::MixEF_options renamed just to MixEF::Options

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/exp_family.h

    r1068 r1077  
    111111    } 
    112112 
     113   /*! Create object from the following structure 
     114 
     115    \code 
     116    class = 'BMEF'; 
     117     --- optional fields --- 
     118    frg = [];                   % forgetting factor 
     119    frg_sched_factor = [];      % factor for scheduling of forgetting factor: a number from [0..1] 
     120    --- inherited fields --- 
     121    bdm::BM::from_setting 
     122    \endcode 
     123    If the optional fields are not given, they will be filled as follows: 
     124    \code 
     125    frg = 1;                    % default forgetting factor 
     126    frg_sched_factor = 0; 
     127    \endcode 
     128    */ 
    113129    void from_setting( const Setting &set) { 
    114130        BM::from_setting(set); 
    115131        if ( !UI::get ( frg, set, "frg" ) ) 
    116132            frg = 1.0; 
    117         UI::get ( frg_sched_factor, set, "frg_sched_factor",UI::optional ); 
     133        if ( UI::get ( frg_sched_factor, set, "frg_sched_factor" ) ) 
     134            frg_sched_factor = 0.0; 
    118135    } 
    119136 
     
    364381* \brief Gauss-inverse-Wishart density stored in LD form 
    365382 
    366 * For \f$p\f$-variate densities, given rv.count() should be \f$p\times\f$ V.rows(). 
     383* For \f$p\f$-variate densities, given rv.count() should be \f$p    imes\f$ V.rows(). 
    367384* 
    368385*/ 
     
    402419 
    403420    void factorize ( mat &M, ldmat &Vz, ldmat &Lam ) const; 
    404     //! LS estimate of \f$\theta\f$ 
     421    //! LS estimate of \f$    heta\f$ 
    405422    vec est_theta() const; 
    406423 
     
    830847        UI::save( &est, set, "prior" ); 
    831848    } 
     849 
     850    /*! Create object from the following structure 
     851 
     852    \code 
     853    class = 'MultiBM'; 
     854    prior = configuration of bdm::eDirich;       % any offspring of eDirich, bdm::eDirich::from_setting 
     855    --- inherited fields --- 
     856    bdm::BMEF::from_setting 
     857    \endcode 
     858    */ 
    832859    void from_setting (const Setting &set )  { 
    833860        BMEF::from_setting ( set ); 
     
    20622089}; 
    20632090 
    2064 //! \todo unify this stuff with to_string() 
     2091//!     odo unify this stuff with to_string() 
    20652092template<class sq_T> 
    20662093std::ostream &operator<< ( std::ostream &os,  mlnorm<sq_T> &ml ) {