In this video i will tell you how you can split your database into two sections that is test and train, I have also explained what are dependent and independent variable we will be using sklearn’s train_test_split package to split our dataset

  • Train data : It does what the name suggests it trains our machine learning algorithm
  • Test data : After the model is trained test data is used to test its efficiency

Download dataset and notebook used in this video:

#python #machinelearning

Machine Learning with Python: How to split the Dataset into Test and Train
19.95 GEEK