In order to increase the computational speed, i need to resize the 1-D numpy array . The caveat here is that the numpy array is to be used as a shape descriptive curve which will further be utilized as a tool to classify the different class.
currently the array has 853 elements. The plot of the array is,
Is there any effective way to reduce the array size but i don't want the plot signature i.e charecteristics to degrade. Note: i want to reduce 853 to 64 samples effectively without losing the content signature.
I used res=np.resize(srd,(64,)), to resize the 853 element srd array to 64 elements but the plot of the resized element is completely different. The plot of the array after resizing,