Hey,
I got the following error in python program. If anybody knows about this error then please share the solution.
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/home/saad/<ipython console> in <module>()
ValueError: shape mismatch: objects cannot be broadcast to a single shape
This is the error message which shows to me when I try to execute program. Your timely help would be highly appreciated.
I got the following error in python program. If anybody knows about this error then please share the solution.
Code:
from numpy import array inputMeans =array([1, 2, 3]) inputStds =array([4, 5, 6]) inputs = ((array(inputs)-inputMeans)/inputStds).tolist()
ValueError Traceback (most recent call last)
/home/saad/<ipython console> in <module>()
ValueError: shape mismatch: objects cannot be broadcast to a single shape
This is the error message which shows to me when I try to execute program. Your timely help would be highly appreciated.
Comment