87a1afc00f6700d1fc33f4bb7a803229987c645b,pyannote/audio/embedding/segmentation.py,Segmentation,apply,#Segmentation#Any#,146
Before Change
cdist(left_batch, right_batch, metric=self.distance))
y.append(y_batch)
y = np.hstack(y)
window = SlidingWindow(duration=2 * self.duration,
step=self.step, start=0.)
return SlidingWindowFeature(y, window)
After Change
// apply sequence labeling to the whole file
t, left, right = next(self.from_file(current_file))
y = np.sqrt(np.sum((left - right) ** 2, axis=-1))
window = SlidingWindow(duration=2 * self.duration,
step=self.step, start=0.)
return SlidingWindowFeature(y, window)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pyannote/pyannote-audio
Commit Name: 87a1afc00f6700d1fc33f4bb7a803229987c645b
Time: 2017-05-15
Author: bredin@limsi.fr
File Name: pyannote/audio/embedding/segmentation.py
Class Name: Segmentation
Method Name: apply
Project Name: PyMVPA/PyMVPA
Commit Name: e36d3bc0ae6faf950344e68e5fd2fb8ca0ec43fb
Time: 2008-03-10
Author: per@parsec.Princeton.EDU
File Name: mvpa/misc/signal.py
Class Name:
Method Name: __detrend_regress
Project Name: nilearn/nilearn
Commit Name: 57447a51c963cf82622d991bbf4c97bc4c276219
Time: 2014-02-20
Author: virgile.fritsch@gmail.com
File Name: nilearn/mass_univariate/permuted_least_squares.py
Class Name:
Method Name: orthonormalize_matrix