NameError in C3_W3_A1 notebook

When I run the cell in section 9 - Train the Agent, it gives me NameError: name ‘experience’ is not defined, as follows:

How can I fix this?


Did you run the code cell under section 6.2 Experience Replay?

Yes, I have run all code cells in order. The error comes up only as from the above mentioned code cell.

# Store experiences as named tuples

experience = namedtuple("Experience", field_names=["state", "action", "reward", "next_state", "done"])

Thank you so much! I could not see that particular code cell, it must have gotten deleted but thanks, it works now!