Ejemplo n.º 1
0
    def _updatemodel(self, new_model):
        '''
        Required extension of _updatemodel. Adds 'B', which holds
        the in-state information. Specfically, the different PMFs.
        '''
        _BaseHMM._updatemodel(self, new_model)  #@UndefinedVariable

        self.B = new_model['B']
Ejemplo n.º 2
0
 def _updatemodel(self,new_model):
     '''
     Required extension of _updatemodel. Adds 'B', which holds
     the in-state information. Specfically, the different PMFs.
     '''
     _BaseHMM._updatemodel(self,new_model) #@UndefinedVariable
     
     self.B = new_model['B']
Ejemplo n.º 3
0
    def _updatemodel(self, new_model):
        '''
        Required extension of _updatemodel. Adds 'w', 'means', 'covars',
        which holds the in-state information. Specfically, the parameters
        of the different mixtures.
        '''
        _BaseHMM._updatemodel(self, new_model)  #@UndefinedVariable

        self.w = new_model['w']
        self.means = new_model['means']
        self.covars = new_model['covars']
Ejemplo n.º 4
0
 def _updatemodel(self,new_model):
     '''
     Required extension of _updatemodel. Adds 'w', 'means', 'covars',
     which holds the in-state information. Specfically, the parameters
     of the different mixtures.
     '''        
     _BaseHMM._updatemodel(self,new_model) #@UndefinedVariable
     
     self.w = new_model['w']
     self.means = new_model['means']
     self.covars = new_model['covars']