This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def _compute_mean_features(window): | |
| """ | |
| Computes the mean x, y and z acceleration over the given window. | |
| """ | |
| return np.mean(window, axis=0) | |
| def _compute_std_features(window): | |
| ''' | |
| Computes the standard deviation of x, y and z acceleration over the given window. |
NewerOlder