jsingh811/pyAudioProcessing

Example dont work

blanpa opened this issue · 1 comments

Example dont work

These are the exact steps I followed

python pyAudioProcessing/run_classification.py -f "data_samples/training" -clf "randomforest" -clfname "rf_clf" -t "train" -feats "mfcc"
python pyAudioProcessing/run_classification.py -f "data_samples/testing" -clf "randomforest" -clfname "rf_clf" -t "classify" -feats "mfcc"

the classification resulted in these logs

 There are 2 classes in the specified data folder


 Classifying using features mfcc with classifier randomforest that is saved as rf_clf

        

 data_samples/testing/music
2 out of 2 instances were classified correctly

 data_samples/testing/speech
2 out of 2 instances were classified correctly

Results saved in classifier_results.json

and it matches what I see in the classifier_results.json file.
This was tested on linux/mac environment.