Nov-28-2020, 03:06 PM
hi
i am new to python. iam working on lstm model. i want to plot graph of loss and accuracy. i know that model history is saved. i have used below code.
but I got an error.
plt.plot(var1)
Traceback (most recent call last):
File "<ipython-input-124-f96da71a5192>", line 1, in <module>
plt.plot(var1)
TypeError: 'list' object is not callable
please help me in removing this error. thank you.
i am new to python. iam working on lstm model. i want to plot graph of loss and accuracy. i know that model history is saved. i have used below code.
var1=history. history['loss'] plt.plot(var1)
but I got an error.
plt.plot(var1)
Traceback (most recent call last):
File "<ipython-input-124-f96da71a5192>", line 1, in <module>
plt.plot(var1)
TypeError: 'list' object is not callable
please help me in removing this error. thank you.