Logistic Regression encoder transform error

Someone help me fix this error. I am trying to transform encoded values of the raw dataset onto the splits but I keep on getting this error.
From Lecture on Logistic Regression.

While encoding the test_input you are transforming the train_input in the 3rd line…
Otherwise everything is correct…

Thanks. Seen it. Appreciated.

1 Like