Ask Your Question

The AttributeError message I received states that the 'ColumnTransformer' object does not possess the attribute '_name_to_fitted_passthrough' after implementing scikit learn pipeline.

asked 2022-06-12 11:00:00 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-07-26 17:00:00 +0000

david gravatar image

This error message suggests that there is an issue with the scikit-learn pipeline, specifically with the ColumnTransformer object. 'nametofittedpassthrough' is an internal attribute used by ColumnTransformer to keep track of the columns that are not transformed. The attribute may not have been initialized properly or may have been deleted accidentally.

To resolve this issue, try checking your ColumnTransformer code and ensure that it is set up correctly. You can also try updating your scikit-learn version to the latest version, as this issue may be fixed in newer versions. Additionally, try checking if you are incorrectly calling this attribute.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools


Asked: 2022-06-12 11:00:00 +0000

Seen: 8 times

Last updated: Jul 26 '21