caret

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following function can be used to identify near zero-variance variables?
zeroVar
nearVar
nearZeroVar
all of the mentioned
Explanation:
The saveMetrics argument can be used to show the details and usually defaults to FALSE.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
Simple random sampling of time series is probably the best way to resample times series data.
Three parameters are used for time series splitting
Horizon parameter is the number of consecutive values in test set sample
All of the mentioned
Explanation:
Simple random sampling of time series is probably not the best way to resample times series data.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
findLinearColumns will also return a vector of column positions can be removed to eliminate the linear dependencies
findLinearCombos will return a list that enumerates dependencies
the function findLinearRows can be used to generate a complete set of row variables from one factor
none of the mentioned
Explanation:
For each linear combination, it will incrementally remove columns from the matrix and test to see if the dependencies have been resolved.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
caret stands for classification and regression training.
True
False
Explanation:
The caret package is a set of functions that attempt to streamline the process for creating predictive models.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
For most classification models, each predictor will have a separate variable importance for each class.
True
False
Explanation:
The exceptions are classification trees, bagged trees and boosted trees.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
Asymptotics are used for inference usually
Caret includes several functions to pre-process the predictor data
The function dummyVars can be used to generate a complete set of dummy variables from one or more factors
All of the mentioned
Explanation:
The function dummyVars takes a formula and a data set and outputs an object that can be used to create the dummy variables using the predict method.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
In every situation, the data generating mechanism can create predictors that only have a single unique value
Predictors might have only a handful of unique values that occur with very low frequencies
The function findLinearCombos uses the QR decomposition of a matrix to enumerate sets of linear combinations
All of the mentioned
Explanation:
In some situations, the data generating mechanism can create predictors that only have a single unique value.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
Which of the following function is a wrapper for different lattice plots to visualize the data?
levelplot
featurePlot
plotsample
none of the mentioned
Explanation:
featurePlot is used for data visualization in caret.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following can be used to impute data sets based only on information in the training set?
postProcess
preProcess
process
all of the mentioned
Explanation:
This can be done with K-nearest neighbors.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
The function preProcess estimates the required parameters for each operation.
True
False
Explanation:
predict.preProcess is used to apply them to specific data sets.