pollen-robotics / dtw

DTW (Dynamic Time Warping) python module
GNU General Public License v3.0
1.16k stars 233 forks source link

Speech Recognition example #39

Closed alexvks22 closed 5 years ago

alexvks22 commented 5 years ago

In your example with leave out p cross validation, can you suggest another way of splitting train and test matrices? It gives me some error with find function. I searched but i didnt find the corresponding library. Thank you in advance

pierre-rouanet commented 5 years ago

Hi @alexvks22,

I guess you could use https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html. The find function was most likely import by the deprecated %pylab inline. Do not hesitate to update the example if you find a better version!

alexvks22 commented 5 years ago

Thank you very much! I did try to with this function but the result of recognition rate was different, so i guessed that something went wrong. I’ll try again!

pierre-rouanet commented 5 years ago

I'll close the issue, feel free to re-open it if needed.