How to split a dataset into training and test data manually and using the Sample function

Question:

How to split a dataset into training and test data manually and using the Sample function

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: