Question: Hello. I am trying to plot a sequential Neural Network and I am running into a bit of trouble plotting. Attached is my code below:
Hello. I am trying to plot a sequential Neural Network and I am running into a bit of trouble plotting. Attached is my code below:

So the model trains fine but the issue is trying to plot accuracy to epoch ratio line graph, and loss to epoch line ratio graph.
So it keeps spitting out errors saying train_x is not defined but I kept Googling and found absolutely nothing. Please help me.. Thanks you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
