Error in

I am getting this error in is it because of targets shape?

This is link to my notebook :point_right: notebook_link

You have an instance of Ridge class named model.

You try to use fit() method on the class instead of the instance.
So your train_inputs become self, train_targets become X, and the y is really missing here.

Replace with

ohh damn.sorry for such silly doubt :neutral_face: