Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
I want to know if i will get the same split of sub-dataset every time i re-run the code since i have used set.seed(123)?
I want to know if i will get the same split of sub-dataset every time i re-run the code since i have used set.seed(123)?
set.seed(123)
train_data <-sample(1000,800)
churn_train <- credit[train_data,]
churn_test <- credit [-train_data,]