- Timestamp:
- 06/19/09 11:43:49 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/mixtures.cpp
r384 r389 136 136 } 137 137 138 mixtures* MixEF::epredictor ( ) const {138 emix* MixEF::epredictor ( ) const { 139 139 Array<epdf*> pC ( n ); 140 140 for ( int i=0;i<n;i++ ) {pC ( i ) =Coms ( i )->epredictor ( );} 141 mixtures* tmp;142 tmp = new mixtures( );141 emix* tmp; 142 tmp = new emix( ); 143 143 tmp->set_parameters ( weights.posterior().mean(), pC, false ); 144 144 tmp->ownComs();