blackadar / sonus

Machine Learning voice classification using scikit-learn RandomForest model.
4 stars 0 forks source link

Added window data function to parse module #16

Closed Crichmond21 closed 4 years ago

Crichmond21 commented 4 years ago

This PR adds a window_data function to the parse module. The docstring pretty much says it all. Takes x, y and converts to x_train x_test y_train y_test in a windowed data format

Closes #8

Crichmond21 commented 4 years ago

Looks good. Is hop_size in units seconds or samples?

Both window_size and hop_size are in seconds