Shahabks / myprosody

A Python library for measuring the acoustic features of speech (simultaneous speech, high entropy) compared to ones of native speech.
https://shahabks.github.io/myprosody/
MIT License
232 stars 63 forks source link

problems with mysplev #35

Open plecompt446 opened 5 months ago

plecompt446 commented 5 months ago

[491]filename=p+"/"+"dataset"+"/"+"essen"+"/"+"CART_model.sav" [492] model = pickle.load(open(filename, 'rb')) [493]predictions = model.predict(x) [494]print("58% accuracy ",predictions)

ModuleNotFoundError: No module named 'sklearn.tree.tree'

I constantly get these kind of errors for mysplev, if I comment this part out I get a similar error for KNN_model.sav and so on. Also where can I find an explanation what this function calculates. It are some kind of predictions but predictions of what? Also can someone explain what the pronunciation posteriory probabality score percentage is and how it is calculated? Please in easy terms as I am not a linguist.