Question



WHAT DATA

Does anyone know which data to use for the cross validation assignment?





Answers and follow-up questions





Answer or follow-up question 1

Dear student,

You can use whichever data you want. For example use these data:

df <- data.frame(matrix(c(runif(200),sample(c(0,1),100,replace=TRUE)),ncol=3))
colnames(df)[3] <- "y"
head(df)

Michel Ballings



Sign in to be able to add an answer or mark this question as resolved.