Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

What is the random State in the train test split?

Asked by David Edwards Jul 16, 2024 1.9K views 1 answer
Share

About this question

 I am currently working on a particular task which is related about working on a machine learning project that involves large datasets of customer transactions. To evaluate my model's performance, I need to split my dataset into the training and testing sets. However, during one of my meetings, one of my colleagues suggested using the “train_test” function from the sci-kit learn library. What is the purpose of the Random state parameters in the train _ test _split function? How it can influence the outcome of my model evaluation? 

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.