How to rectify this error?

Thanks in advance

Implement a validation_step method for InsuranceModel class.

I have no idea why wouldn’t you have this method, since it’s provided by the starter notebook I think.

your model class don’t have the validation step function is not properly implemented. Look inside the model class definition