No video

Create feature interactions using PolynomialFeatures

  Рет қаралды 6,652

Data School

Data School

Күн бұрын

Want to include "feature interactions" in your model? Use PolynomialFeatures!
P.S. This is impractical if you have lots of features, and unnecessary if you're using a tree-based model.
👉 New tips every TUESDAY and THURSDAY! 👈
🎥 Watch all tips: • scikit-learn tips
🗒️ Code for all tips: github.com/jus...
💌 Get tips via email: scikit-learn.tips
=== WANT TO GET BETTER AT MACHINE LEARNING? ===
1) LEARN THE FUNDAMENTALS in my intro course (free!): courses.datasc...
2) BUILD YOUR ML CONFIDENCE in my intermediate course: courses.datasc...
3) LET'S CONNECT!
- Newsletter: www.dataschool...
- Twitter: / justmarkham
- Facebook: / datascienceschool
- LinkedIn: / justmarkham

Пікірлер: 9
@dataschool
@dataschool 2 жыл бұрын
Want to do even more feature engineering within scikit-learn? I recommend learning how to use FunctionTransformer: kzfaq.info/get/bejne/qZeXf5tjp96vn6c.html
@annawilson3824
@annawilson3824 Жыл бұрын
message => No need for feature interaction if rely solely on tree-based models or can use this model to learn about specific interactions and then include only those in linear models.
@dataschool
@dataschool Жыл бұрын
Thanks for posting the takeaway! 🙌
@ge_song5
@ge_song5 Жыл бұрын
Very well explained! Thanks!
@dataschool
@dataschool Жыл бұрын
You're welcome!
@yogeeshtr700
@yogeeshtr700 Жыл бұрын
thank you 👍
@dataschool
@dataschool Жыл бұрын
You're welcome!
@EhsanIrshad
@EhsanIrshad 2 жыл бұрын
first
@nguyenhuuuc2311
@nguyenhuuuc2311 2 жыл бұрын
I'd think you're probably slower than Kevin - 2 mins 😂😅
How do I select features for Machine Learning?
13:16
Data School
Рет қаралды 176 М.
wow so cute 🥰
00:20
dednahype
Рет қаралды 24 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 142 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 30 МЛН
Normalization Vs. Standardization (Feature Scaling in Machine Learning)
19:48
How do I encode categorical features using scikit-learn?
27:59
Data School
Рет қаралды 138 М.
Build your first machine learning model in Python
30:57
Data Professor
Рет қаралды 313 М.
Decision Tree Regression Clearly Explained!
9:17
Normalized Nerd
Рет қаралды 141 М.
I Built a Personal Speech Recognition System for my AI Assistant
16:32
Use cross_val_score and GridSearchCV on a Pipeline
7:02
Data School
Рет қаралды 13 М.
All Learning Algorithms Explained in 14 Minutes
14:10
CinemaGuess
Рет қаралды 222 М.
Use OrdinalEncoder instead of OneHotEncoder with tree-based models
6:59