Use 'fit_transform' on training data, but 'transform' (only) on testing/new data

preview_player
Показать описание
Use "fit_transform" on training data, but "transform" (only) on testing/new data.
Applies the same transformations to both sets of data, which creates consistent columns and prevents data leakage!

👉 New tips every TUESDAY and THURSDAY! 👈

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

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


Thanks for watching, and let me know if you have any questions! 🙌

dataschool
Автор

This is one of the most practical tip which no one tells you while teaching ML/DS. Wow!

anandvyavahare
Автор

Was looking for this explanation everywhere, extremely clear, concise and to the point thank you !

randomdude
Автор

This is by far the best explanation of fit, transform I have come across.
All the explanations that I have seen before made me all confused. But this is certainly the best.

Thanks a lot.

AnilChauhan-xmwk
Автор

Just 4 mins of listening gave me really good clarity, i've been searching on internet and could not understand but this made me understood.

mlkgpta
Автор

Super important point, very well explained. Thank you!

ninjaduck
Автор

Thank you very much for this video! It is very helpful and I learnt something really important regarding this!

tymothylim
Автор

Genius!! Thnx a lot! I was struggling with these concepts

Chillos
Автор

It was a very essential and important tip for modeling. Thank you very much.

jaikishank
Автор

these 2 videos were very useful in clarifying this concept. Thanks :D

ramanenb
Автор

Excellent Explanation!!!! Thanks for keeping it very

kumaransekar
Автор

Superb explaination...The best and clear one from all the videos ive seen...thanks kevin..Im waiting for new series..

gnaneshgn
Автор

Nice explanation and great example. Now I can distinguish it well.

aimanzaidi
Автор

Why Am I not subscribing this yet... Good stuff. really really good stuff that many people ignore. Thank you.

thisismuchbetter
Автор

Subscribing to this channel. What a fantastic explanation

vahajqureshi
Автор

This is the clearest answer about that topic, thanks

eygmrt
Автор

Perfect, perfect, perfect, am a big fan 👍

ashabhumza
Автор

Well Explained. For better reach, using a white board and marker would gain getter responses. Much appreciate your consistent efforts.

reshaknarayan
Автор

Thanks a lot for this so helpful video ! One question: is it possible to fit_transform the test set based on the entire dataset encoding (train + test). In what way we encode all the possibilities of values.

issabarack
Автор

thanks beaufifully described, can you please create video on naive bayes algorithm with examples

kshitijbhargava