b3cf6fd0c65394a97c2dbcff6dd835de5006e10f,featurex/extractors/audio.py,STFTExtractor,_extract,#STFTExtractor#Any#,74
Before Change
value_data[label] = val
ev.add_value(Value(stim, self, value_data))
events.append(ev)
return events
class MeanAmplitudeExtractor(TranscribedAudioExtractor):
After Change
for i, fb in enumerate(self.freq_bins):
start, stop = fb
values[:, i] = data[:, start:stop].mean(1)
values = np.nan_to_num(values)
return ExtractorResult(values, stim, self, features=features,
onsets=index, durations=self.hop_size)
class MeanAmplitudeExtractor(TranscribedAudioExtractor):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tyarkoni/pliers
Commit Name: b3cf6fd0c65394a97c2dbcff6dd835de5006e10f
Time: 2016-10-12
Author: tyarkoni@gmail.com
File Name: featurex/extractors/audio.py
Class Name: STFTExtractor
Method Name: _extract
Project Name: reinforceio/tensorforce
Commit Name: 208e5d91d7f88cc1ab10ab1a4bfdd856b2691671
Time: 2017-05-22
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/optimizers/conjugate_gradient_optimizer.py
Class Name: ConjugateGradientOptimizer
Method Name: solve
Project Name: NifTK/NiftyNet
Commit Name: d5e683fd8705ce70238b4217d1081716c99d57fc
Time: 2017-05-24
Author: wenqi.li@ucl.ac.uk
File Name: utilities/subject.py
Class Name: Subject
Method Name: load_column