Vectorize two text columns in a ColumnTransformer

preview_player
Показать описание
Want to vectorize two text columns in a ColumnTransformer?
You can't pass them in a list, but you can pass the vectorizer twice! (They'll learn separate vocabularies.)

👉 New tips every TUESDAY and THURSDAY! 👈

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

3) LET'S CONNECT!
Рекомендации по теме
Комментарии
Автор

Isn't it better to create a temporary column which the concatenation of the other two, so your vectorizer will fit them together? You'll have a better chance to avoid the curse of dimensionality.

gevrapatapich