in Education by
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 This question was posed to me in final exam. The doubt is from caret in division Machine Learning of Data Science Select the correct answer from above options Data Science questions and answers, Data Science questions pdf, Data Science question bank, Data Science questions and answers pdf, mcq on Data Science pdf, Data Science questions and solutions, Java mcq Test , Interview Data Science questions, Data Science Questions for Interview, Data Science MCQ (Multiple Choice Questions),Core Data Science Questions, Core Data Science MCQ,core Data Science interview questions for experiencedcore Data Science interview questions for 3 years experience,Data Science programming questions,core Data Science interview questions for freshers,Data Science interview questions and answers for freshers, Data Science programming questions and answers pdf, Data Science interview questions for beginners

1 Answer

0 votes
by
 
Best answer
Correct choice is (b) createDataPartition Easiest 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.

Related questions

0 votes
    Which of the following can be used to generate balanced cross-validation groupings from a set of data? (a ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following can be used to create sub-samples using a maximum dissimilarity approach? (a) minDissim ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following can be used to create the most common graph types? (a) qplot (b) quickplot (c ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function can create the indices for time series type of splitting? (a) newTimeSlices (b ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function can be used for forecasting? (a) predict (b) forecast (c) ets (d) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function can be used to maximize the minimum dissimilarities? (a) sumDiss (b) minDiss ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function can be used to identify near zero-variance variables? (a) zeroVar (b) ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function can be used to combine different vectors so as to obtain the result for each ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function can be used to flag predictors for removal? (a) searchCorrelation (b) ... and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following graph can be used for simple summarization of data? (a) Scatterplot (b) Overlaying ... and answers pdf, Data Science interview questions for beginners...
asked Oct 30, 2021 in Education by JackTerrance
0 votes
    Which of the following can be used for data analysis model? (a) CRAN (b) CPAN (c) CTAN (d) ... programming questions and answers pdf, Data Science interview questions for beginners...
asked Oct 30, 2021 in Education by JackTerrance
0 votes
    Which of the following method can be used to rename categorical data? (a) Categorical.rename_categories() (b) ... and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following can be used to impute data sets based only on information in the training set? ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following function is used for casting data frames? (a) dcast (b) ucast (c) rcast (d ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of the following function is used to read data off the webpages? (a) read.web (b) read.Lines ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
...