TypeError: 'list' object is not callable

I’m sure I’m doing something that I just cannot see but I’ve been trying to sort this thing out for a while and just don’t know why it doesn’t work.

I couldn’t upload file so added a link.

I’m referring to this notebook:

I followed most of it but instead of categorize, I’m using regression.