Add feature selection to a Pipeline
Data School Data School
238K subscribers
7,891 views
0

 Published On Sep 2, 2021

It's simple to add feature selection to a Pipeline:
1. Use SelectPercentile to keep the highest scoring features
2. Add feature selection after preprocessing but before model building

P.S. Make sure to tune the percentile value!

👉 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  

show more

Share/Embed