Skip to content

Commit

Permalink
Update feature_fft.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jindongwang authored Aug 20, 2019
1 parent 69c516f commit 3368780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/python/feature_extraction/tsfeature/feature_fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def fft_shape_skew(self):

def fft_shape_kurt(self):
shape_mean = self.fft_shape_mean()
np.sum([np.power((x - shape_mean), 4) * self.freq_spectrum[x] - 3
return np.sum([np.power((x - shape_mean), 4) * self.freq_spectrum[x] - 3
for x in range(len(self.freq_spectrum))]) / self._freq_sum_

def fft_all(self):
Expand Down

0 comments on commit 3368780

Please sign in to comment.