Get the feature names output by a ColumnTransformer

Опубликовано: 03 Февраль 2025
на канале: Data School
8,801
132

Need to get the feature names output by a ColumnTransformer?
Use get_feature_names(), which now works with "passthrough" columns (new in version 0.23)!

👉 New tips every TUESDAY and THURSDAY! 👈

🎥 Watch all tips:    • scikit-learn tips  
🗒️ Code for all tips: https://github.com/justmarkham/scikit...
💌 Get tips via email: https://scikit-learn.tips


=== WANT TO GET BETTER AT MACHINE LEARNING? ===

1) LEARN THE FUNDAMENTALS in my intro course (free!): https://courses.dataschool.io/introdu...

2) BUILD YOUR ML CONFIDENCE in my intermediate course: https://courses.dataschool.io/buildin...

3) LET'S CONNECT!
Newsletter: https://www.dataschool.io/subscribe/
Twitter:   / justmarkham  
Facebook:   / datascienceschool  
LinkedIn:   / justmarkham