Changeset 577 for library

Show
Ignore:
Timestamp:
08/22/09 12:15:47 (15 years ago)
Author:
smidl
Message:

preparatory stuff for #12

Location:
library/bdm/estim
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/estim/arx.cpp

    r565 r577  
    193193} 
    194194 
     195//! Rplication of Ludvik Tesar original straux1 from mixtools straux1 
     196ivec straux1(ldmat Ld, double nu, ldmat Ld0, double nu0/*, ivec belief, int nbest, int max_nrep, double lambda, int order_k, ivec &rgrsout*/){ 
     197// see utia_legacy/ticket_12/ implementation and str_test.m 
     198} 
     199 
     200 
     201ivec ARX::structure_est_LT ( egiw est0 ) { 
     202        //some stuff with beliefs etc. 
     203        ivec ind = straux1(V,nu, est0._V(), est0._nu()); 
     204        return ind; 
     205} 
     206 
    195207void ARX::from_setting ( const Setting &set ) { 
    196208        shared_ptr<RV> yrv = UI::build<RV> ( set, "y", UI::compulsory ); 
  • library/bdm/estim/arx.h

    r565 r577  
    106106        //! Brute force structure estimation.\return indeces of accepted regressors. 
    107107        ivec structure_est ( egiw Eg0 ); 
     108        //! Smarter structure estimation by Ludvik Tesar.\return indeces of accepted regressors. 
     109        ivec structure_est_LT ( egiw Eg0 ); 
    108110        //!@} 
    109111