Need help NameError

exercise 4 (handling complex images) happy or sad images
2021-08-11_222032

you would have to define the model before ,
if you have you may have not run it , also try restarting the kernel.

model = linearRegression() for example

check the import statements to , also that you have run the cells before this one