Assignmet -1 - error in question 8

In quetion 8 - i am getting an error and i am not getting ridge

Fit the model using inputs and targets,)


what should be x , y ?
i wrote this and i am getting an error,train_targets)

You have written correctly. Check other lines of codes.

1 Like

Hey @nishiben-patel103908, welcome to the forum.
It helps when you share the error you got. Also train_inputs probably has numeric_cols + categorical_cols + encoded_cols but we only need numeric_cols and encoded_cols. Figure out how to solve this.