Suppose you are using stacking with n different machine learning algorithms with k folds on data. Which of the following is true about one level (m base models + 1 stacker) stacking? Note: Here, we are working on binary classification problem All base models are trained on all features You are using k folds for base models
A. you will have only k features after the first stage
B. you will have only m features after the first stage
C. you will have k+m features after the first stage
D. you will have k*n features after the first stage
Select an option to see the answer and solution.
Type of dataset available in Supervised Learning is
A. unlabeled dataset
B. labeled dataset
C. csv file
D. excel file
Select an option to see the answer and solution.
Another name for an output attribute.
A. predictive variable
B. independent variable
C. estimated variable
D. dependent variable
Select an option to see the answer and solution.
PCA works better if there is 1. A linear structure in the data 2. If the data lies on a curved surface and not on a flat surface 3. If variables are scaled in the same unit
A. 1 and 2
B. 2 and 3
C. 1 and 3
D. 1,2 and 3
Select an option to see the answer and solution.
What is/are true about kernel in SVM? 1. Kernel function map low dimensional data to high dimensional space 2. It's a similarity function
A. 1
B. 2
C. 1 and 2
D. None of these
Select an option to see the answer and solution.
Which statement about outliers is true?
A. outliers should be part of the training dataset but should not be present in the test data
B. outliers should be identified and removed from a dataset
C. the nature of the problem determines how outliers are used
D. outliers should be part of the test dataset but should not be present in the training data
Select an option to see the answer and solution.
Select the correct answers for following statements. 1. Filter methods are much faster compared to wrapper methods. 2. Wrapper methods use statistical methods for evaluation of a subset of features while Filter methods use cross validation.
A. both are true
B. 1 is true and 2 is false
C. both are false
D. 1 is false and 2 is true
Select an option to see the answer and solution.
With Bayes classifier, missing data items are
A. treated as equal compares.
B. treated as unequal compares.
C. replaced with a default value.
D. ignored.
Select an option to see the answer and solution.
scikit-learn also provides functions for creating dummy datasets from scratch:
A. make_classification()
B. make_regression()
C. make_blobs()
D. all above
Select an option to see the answer and solution.
Support vectors are the data points that lie closest to the decision surface.
Select an option to see the answer and solution.
Hierarchical agglomerative clustering is typically visualized as?
A. dendrogram
B. binary trees
C. block diagram
D. graph
Select an option to see the answer and solution.
Commons unsupervised applications include
A. object segmentation
B. similarity detection
C. automatic labeling
D. all above
Select an option to see the answer and solution.
The multiple coefficient of determination is computed by
A. dividing ssr by sst
B. dividing sst by ssr
C. dividing sst by sse
D. none of the above
Select an option to see the answer and solution.
The most popularly used dimensionality reduction algorithm is Principal Component Analysis (PCA). Which of the following is/are true about PCA? 1. PCA is an unsupervised method 2. It searches for the directions that data have the largest variance 3. Maximum number of principal components <= number of features 4. All principal components are orthogonal to each other
A. 1 & 2
B. 2 & 3
C. 3 & 4
D. all of the above
Select an option to see the answer and solution.
A term used to describe the case when the independent variables in a multiple regression model are correlated is
A. regression
B. correlation
C. multicollinearity
D. none of the above
Select an option to see the answer and solution.
Bayes' theorem describes the probability of an event, based on prior knowledge of conditions that might be related to the event.
Select an option to see the answer and solution.
In the example of predicting number of babies based on stork's population ,Number of babies is
A. outcome
B. feature
C. observation
D. attribute
Select an option to see the answer and solution.
What are two steps of tree pruning work?
A. pessimistic pruning and optimistic pruning
B. postpruning and prepruning
C. cost complexity pruning and time complexity pruning
D. none of the options
Select an option to see the answer and solution.
Can a model trained for item based similarity also choose from a given set of items?
Select an option to see the answer and solution.
Which of the following is true about "Ridge" or "Lasso" regression methods in case of feature selection?
A. Ridge regression uses subset selection of features
B. Lasso regression uses subset selection of features
C. Both use subset selection of features
D. None of above
Select an option to see the answer and solution.