def _get_whitening_matrix(self):
Xcov = numpy.dot(self.silences.T, self.silences)/self.silences.shape[0]
d,V = eigh(Xcov)
D = numpy.diag(1./numpy.sqrt(d + self.fudge))
self.whitening_matrix = numpy.dot(numpy.dot(V,D), V.T).astype(numpy.float32)
评论列表
文章目录