Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following function can be used to create balanced splits of the data?

a) newDataPartition
b) createDataPartition
c) renameDataPartition
d) none of the mentioned

Answer: b
Explanation: If the y argument to this function is a factor, the random sampling occurs within each class and should preserve the overall class distribution of the data.

Join The Discussion