Train, Test, & Validation Sets | How to Train Machine Learning Models (Properly!!!)

  Рет қаралды 22,551

Greg Hogg

Greg Hogg

Күн бұрын

The Notebook: colab.research...
Thank you for watching the video! You can learn data science FASTER at mlnow.ai!
Master Python at mlnow.ai/cours...!
Learn SQL & Relational Databases at mlnow.ai/cours...!
Learn NumPy, Pandas, and Python for Data Science at mlnow.ai/cours...!
Become a Machine Learning Expert at mlnow.ai/cours...!
Don't forget to subscribe if you enjoyed the video :D

Пікірлер: 28
@GregHogg
@GregHogg Жыл бұрын
Take my courses at mlnow.ai/!
@djjiang3718
@djjiang3718 3 жыл бұрын
Just want to say Thank you, Greg! love your content always good stuff! Keep up with hard work! Thanks for teaching and sharing !
@GregHogg
@GregHogg 3 жыл бұрын
I really appreciate this, thanks so much and you're very welcome 😄😄
@PeterPan-xp2gl
@PeterPan-xp2gl Жыл бұрын
Hey Greg, thanks for your video! Could you explain why you convert the dataframe to a numpy matrix? Since the whole procedure also works with data frames?
@ismailucuran4523
@ismailucuran4523 Жыл бұрын
probably its because he didn't use scikitlearn treain_test_split
@tartlord7061
@tartlord7061 Жыл бұрын
Great and easy to follow video, thanks!
@natureclipsreal
@natureclipsreal 2 жыл бұрын
If I am using cross validation during the training process, can I still use a validation set after training the model?
@rEbelWooHer
@rEbelWooHer Жыл бұрын
Is it possible that you wrote the arguments of 'mean_absolute_error' in the wrong order?
@emekaanammah9207
@emekaanammah9207 3 жыл бұрын
Where did you download the california housing test and train dataset from?
@GregHogg
@GregHogg 3 жыл бұрын
Google Colab. Free cloud env
@panagiotisgoulas8539
@panagiotisgoulas8539 2 жыл бұрын
Cool. thanks for that.
@arsheyajain7055
@arsheyajain7055 3 жыл бұрын
Oooh awesome!!
@mayreyes4402
@mayreyes4402 2 жыл бұрын
when I try to find mean absolute error for linear_test_ preds the result when I run it is "ValueError: could not convert string to float: 'KS'" what should I do with that?
@itowindsor
@itowindsor 5 ай бұрын
One of your feature might be a categorical one. Therefore your models can't work with it. One way to overcome it is to one hot encode this feature. It will increase the dimension of your features spaces (as you will have one more dimension for each category) but every algorithm will understand it
@jyotikapatil2354
@jyotikapatil2354 Жыл бұрын
Only video explaining actual hyperparameter tuning using validation test.
@nayliafiqah4072
@nayliafiqah4072 Жыл бұрын
Thank you so much;
@GregHogg
@GregHogg Жыл бұрын
You're very welcome!!
@kshitijalawandi4443
@kshitijalawandi4443 3 жыл бұрын
This is awesome....
@GregHogg
@GregHogg 3 жыл бұрын
Thank you!
@diazjubairy1729
@diazjubairy1729 2 жыл бұрын
How to set the proportion of train, val and test of our dataset ?
@GregHogg
@GregHogg 2 жыл бұрын
How technically, or what numbers should you use?
@diazjubairy1729
@diazjubairy1729 2 жыл бұрын
@@GregHogg train : val : test = 50 : 20 : 30
@GregHogg
@GregHogg 2 жыл бұрын
@@diazjubairy1729 is this a question?
@diazjubairy1729
@diazjubairy1729 2 жыл бұрын
@@GregHogg that is the proportion that i want, how to split the dataset like that ?
@GregHogg
@GregHogg 2 жыл бұрын
@@diazjubairy1729 sklearn train test split (do it twice), or shuffle a pandas DataFrame and get split indices
@pogiribhanuteja4650
@pogiribhanuteja4650 3 жыл бұрын
When will be the next live session..?
@GregHogg
@GregHogg 3 жыл бұрын
I think I'll be busy this weekend unfortunately. If not, this weekend, otherwise probably the weekend after.
@mehediazad1780
@mehediazad1780 Жыл бұрын
you confused me by your variable name
Complete Guide to Cross Validation
29:49
Rob Mulla
Рет қаралды 55 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 4,2 МЛН
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 97 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 419 М.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 6 МЛН
How is data prepared for machine learning?
13:57
AltexSoft
Рет қаралды 61 М.
154 - Understanding the training and validation loss curves
27:47
DigitalSreeni
Рет қаралды 107 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 321 М.
All Machine Learning algorithms explained in 17 min
16:30
Infinite Codes
Рет қаралды 195 М.
Scikit-Learn Model Pipeline Tutorial
16:50
Greg Hogg
Рет қаралды 27 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 4,2 МЛН