Exemplo n.º 1
0
 def extract(self):
     Features.extract(self)
     mf = (self.X.T * self._logfrqs).sum(1) / self.X.T.sum(1)
     self.X = (((self.X / self.X.T.sum(1)).T *
                ((P.atleast_2d(self._logfrqs).T - mf)).T)**2).sum(1)
Exemplo n.º 2
0
 def extract(self):
     Features.extract(self)
     self.X = P.sqrt((P.diff(self.X)**2).sum(0)) / self.X.shape[0]
Exemplo n.º 3
0
 def extract(self):
     Features.extract(self)
     self.X = (self.X.T * self._logfrqs).sum(1) / self.X.T.sum(1)