Random State in Train Test Split | Machine Learning

preview_player
Показать описание
This video demonstrates the importance of random state in Train Test Split.

If you do have any questions with what we covered in this video then feel free to ask in the comment section below & I'll do my best to answer those.

If you enjoy these tutorials & would like to support them then the easiest way is to simply like the video & give it a thumbs up & also it's a huge help to share these videos with anyone who you think would find them useful.

Please consider clicking the SUBSCRIBE button to be notified for future videos & thank you all for watching.

You can find me on:

#RandomState #TrainTestSplit #machinelearning #ML #DataScience #Python
Рекомендации по теме
Комментарии
Автор

Different random_state have different scores in regression as well as in classification models. So how to choose a random_state in which we get higher scores?

sathidevi
Автор

Thank you soo much Bhavesh. Searched everywhere, it was here i understood it clearly.

ShreyasSinha
Автор

Thank you for the explanation. I was doubtful about the random_state = 42 used in other examples. But now everything makes sense.

dibyarupnath
Автор

Thanks for this brief and, to the point ' video.

srishtichanda
Автор

Thank You for your clear explanations! keep it up.

BinySD
Автор

this video helped me to get why it's used.I was not getting the reason before I watched this.

sekharsamanta
Автор

Thanks for the video Bhavesh! Now I understand that setting random_state fixes the split, but how do you understand which number it should be? Why in your video you use 8 or not, say, 1 or 100?

DKrass
Автор

Thanks i finally understood y my model predict different results every time i run it. Thanks a lot

spurs
Автор

Thank you so much bhavesh. I was so confused why Random state was being used until i saw this video.

vivekmenon
Автор

Brilliant Video Sir. Great Explanation

kshitijarunbidari
Автор

What will happen if we choose high random state or low random state. I was working on KNN with RS = 40 Acc - 87% when i chnaged to 100 acc changed to 73 % why is this happening ?

gauravrajpal
Автор

thank you bhavesh,
Can u explain the logic behind the numbers which defined in random_state.

niteshchaudhary
Автор

one doubt: why does it show 7 pairs (not 8, not 6).

Jitendrakumar-dung
Автор

Sir i have one doubt why we r using labeled data for testing X_test y_test?

shijiabraham
Автор

We can also use random.seed, why randomstate function ?.. what's the difference between two

siddharthtyagi
Автор

how we decide to give random_state????

abhishek
Автор

Why we are having only those rows with random state 8.means what exactly 8 is doing there to have those same rows every time...

PratikShende
Автор

suppose in a model, with a random_state 19, I am getting greater accuracy. So should I stick on to that random state, ie should I deploy the model with that random_state? or should my model perform well with all other random_state?

antonyjoy
Автор

How come the random seeds needs to be the same number?

cargouvu
Автор

Why do we choose random state as 42 very often during training a machine learning model? why we dont choose 12 or 32 or 5?
***Is there a scientific explanation?***

mehmetarslan