Mention which of the following statement(s) is / are correct?
Statement 1: Incremental learning is a dynamic technique which is applied when training data
becomes available gradually over time or its size is out of system memory limits.
Statement 2: Sklearn can not process large data in batches.
A.
Statement 1 is correct but statement 2 is incorrect.
B.
Statement 1 is incorrect but statement 2 is correct.
C.
Statement 1 and statement 2 both are incorrect.
D.
Statement 1 and statement 2 both are correct.
A published solution is not available for this question yet.
Which of the following options represents all the correct precision, Recall, and accuracy values for
the confusion matrix shown in Figure 1? [Note: All 3 values should be correct in the same option]
Mention whether the following statements are TRUE or FALSE .
Statement 1 : ‘In order to extend ROC curve and ROC area to multi-label classification, it is
necessary to binarize the output.‘
Statement 2: In SGDClassifier, setting warm_start=True does not retain the weight values of the
model after max_iter and hence does not produce different results for each execution.‘
A.
Statement 1 is correct but statement 2 is incorrect.
B.
Statement 1 is incorrect but statement 2 is correct.
C.
Statement 1 and statement 2 both are incorrect.
D.
Statement 1 and statement 2 both are correct.
A published solution is not available for this question yet.
Consider following statements regarding a decision tree model?
1. It is a parametric model.
2. It has a tendency to overfit if allowed to grow unconditionally.
3. It can be used for regression, classification and clustering problems.
4. It is one of the easiest machine learning models to interpret.
5. For classification problems, decision tree’s loss function is same as evaluation metric.
Choose the option with all the correct statements:
A.
2, 3
B.
1, 3, 5
C.
3, 5
D.
2, 4
E.
1, 3, 4
F.
1, 2, 4
A published solution is not available for this question yet.
Lata wants to train a bagging regressor with following specifications:
1. Base estimator as linear regressor with default parameter values.
2. 80% of the data is used to create a bag of samples.
3. Create subsets of training set without replacement.
4. Take half the features when creating subsets of data.
5. Train the model on training set.
6. Print score on test set.
Which of the following code blocks will correctly execute Lata’s task?
[Note: Assume necessary imports and variables for training and test sets.]
A.B.C.D.E.
A published solution is not available for this question yet.
You have a binary classification problem to solve with following information:
1. All features are numircal.
2. The dataset has size of 80 GB.
3. The data has to be preprocessed.
4. After data preprocessing, train the model with gradient descent or its variations.
Which of the following will perform the above task?
A.
Perform one hot encoding followed by training with LogisticRegression model
(sklearn.linear_model).
B.
Perform standard scaling followed by a
sklearn.neighbors.KNeighborsClassifier model.
C.
Perform min-max scaling followed by a sklearn.tree.DecisionTreeClassifier
model.
D.
Perform max-absolute scaling followed by a
sklearn.linear_model.SGDClassifier model.
A published solution is not available for this question yet.
Brajesh wants to tune hyper parameters of an AdaBoost model for a classification problem with
following specifications:
1. Base estimator as Decision trees classifier with max_depth=1.
2. Number of estimators range from 30 to 40 (both inclusive) at the interval of 1.
3. Cross validation = 5.
4. Learning rate must vary between 0.2 to 2.0 (both inclusive) at the intervals of 0.2.
5. Train the best model on the entire training set.
6. Print score on test set.
Which of the following code blocks will correctly execute Brajesh’s task?
[Note: Assume necessary imports and variables for training and test sets.]
A.B.C.D.E.
A published solution is not available for this question yet.
Go through the code snippet given below and answer the subquestions.
Which of the following could be the possible output of print(results.best_score_)?
A.
1
B.
-2999.79
C.
0.528
D.
0.681
**PDSA**
**Section Id :** 64065329424
**Section Number :** 8
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 30
**Number of Questions to be attempted :** 30
**Section Marks :** 100
**Display Number Panel :** Yes
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
Yes
**Clear Response :**
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.