I'm trying to implement a wavelet fusion strategy using Python 3 and I have run into an error.
Here's what I have tried:
- looking through similar problems on StackOverflow
Here's the code that generates the error:
if (method == 'mean'):
cooef = (cooef1 + cooef2) / 2
elif (method == 'min'):
cooef = np.minimum(cooef1,cooef2)
elif (method == 'max'):
cooef = np.maximum(cooef1,cooef2)
else:
cooef = []