Changeset 195
- Timestamp:
- 10/24/08 15:51:47 (16 years ago)
- Files:
-
- 4 added
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r180 r195 60 60 add_subdirectory (pmsm) 61 61 add_subdirectory (mpdm) 62 add_subdirectory (doprava) -
bdm/estim/mixef.cpp
r189 r195 29 29 for ( i=0;i<n;i++ ) { 30 30 //pick one datum 31 int ind= ndat*UniRNG.sample();31 int ind=floor(ndat*UniRNG.sample()); 32 32 Coms ( i )->bayes ( Data.get_col ( ind ),1.0 ); 33 33 } … … 42 42 int ndat=data.cols(); 43 43 int t,i,niter; 44 bool converged ;44 bool converged=false; 45 45 46 46 multiBM weights0 ( weights );