I want to perform an element wise multiplication, to multiply two lists together by value in Python, like we can do it in Matlab.
This is how I would do it in Matlab.
a = [1,2,3,4]
b = [2,3,4,5]
a .* b = [2, 6, 12, 20]
x * y
Numpy.linspace(1.0, 0.5, num=len(dataset)) =)
Use a list comprehension mixed with
[a*b for a,b in zip(lista,listb)]