vocalpy / hybrid-vocal-classifier

a Python machine learning library for animal vocalizations and bioacoustics
http://hybrid-vocal-classifier.readthedocs.io
BSD 3-Clause "New" or "Revised" License
23 stars 8 forks source link

In hvc.FeatureExtractor, only concat once at end of loop #79

Open NickleDave opened 5 years ago

NickleDave commented 5 years ago

instead of doing:

if 'features_arr' in locals():
    features_arr = np.concatenate((features_arr, new_features_rows))