Exemplo n.º 1
0
 def __init__( self, data, priors, responsibilities, nclass=3 ):
     self.nclass = nclass
     
     EMPosterior.__init__( self, data, priors, responsibilities )
Exemplo n.º 2
0
 def __init__( self, data, priors, responsibilities, nclass ):
     self.nclass = nclass
     self.ncomponents = self.nclass['normal'] * self.nclass['tumour']
            
     EMPosterior.__init__( self, data, priors, responsibilities )