MauryaHub PYQ Practice

Machine Learning Practice · Quiz 1 · May 2024

Machine Learning Practice · Quiz 1 · May 2024

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 25 published solutions

Question 132 NAT · 2.5 marks

Consider a dataset that has 25 data-points. The data-point xi and its frequency is given in the following table:
Source diagram or notation
In case the table is not clear: the value 0 appears once in the dataset, the value 1 appears four times in the dataset, and so on. Find the maximum likelihood estimate for the parameter λ of the Poisson distribution given this dataset.

A published solution is not available for this question yet.

Report a correction for Q132

Question 134 NAT · 1.0 marks

Consider following common data and answer the given subquestions:
Source diagram or notation
What will be the output of the following code snippet?
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q134

Question 135 NAT · 1.0 marks

Consider following common data and answer the given subquestions:
Source diagram or notation
What will be the output of the following code snippet?
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q135

Question 136 NAT · 2.0 marks

Consider following common data and answer the given subquestions:
Source diagram or notation
What will be the output of the following code snippet?
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q136

Question 137 NAT · 2.0 marks

Consider following common data and answer the given subquestions:
Source diagram or notation
What will be the output of the following code snippet?
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q137

Question 138 MSQ · 2.0 marks

Consider following common data and answer the given subquestions:
Source diagram or notation
Given the data, which of the following options will provide the same output?
6406532775051.Source diagram or notation
6406532775052.Source diagram or notation
6406532775053.Source diagram or notation
6406532775054.Source diagram or notation
6406532775055.Source diagram or notation
6406532775056.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q138

Question 139 MSQ · 2.0 marks

Consider following common data and answer the given subquestions:
Source diagram or notation
If you would like to see the most frequent car manufacturers in the dataset, which of the following can be used?
6406532775057.Source diagram or notation
6406532775058.Source diagram or notation
6406532775059.Source diagram or notation
6406532775060.Source diagram or notation
6406532775061.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q139

Question 140 MSQ · 2.0 marks

Which of the following choice(s) are correct ?
6406532775062.
Null values cannot be interpreted by the model hence we need to handle them accordingly.
6406532775063.
Null values cannot be replaced because we can not manipulate the dataset.
6406532775064.
We should let the sklearn or software automatically decide how to handle different kinds of missing values.
6406532775065.
Different types of representation of missing values could be seen in the dataset.

A published solution is not available for this question yet.

Report a correction for Q140

Question 141 MSQ · 2.0 marks

Which of the following options are true about Pearson correlation matrix ?
6406532775072.Source diagram or notation
6406532775073.Source diagram or notation
6406532775074.Source diagram or notation
6406532775075.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q141

Question 142 MSQ · 3.0 marks

Source diagram or notation
6406532775066.Source diagram or notation
6406532775067.Source diagram or notation
6406532775068.Source diagram or notation
6406532775069.Source diagram or notation
6406532775070.Source diagram or notation
6406532775071.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q142

Question 143 MCQ · 2.0 marks

We need to preprocess the data before using it for model building due to which of the following reasons ?
6406532775076.
Due to errors in data capture, data may contain outliers or missing values.
6406532775077.
Different features may be at different scales.
6406532775078.
Data contains non numerical features.
6406532775079.
All of these

A published solution is not available for this question yet.

Report a correction for Q143

Question 144 MCQ · 3.0 marks

Consider following data and answer the given subquestions:
Source diagram or notation
Each row represents a data point. There are exactly 4 points. The index of points starts from 0 and ends at 3 (included).
Which of the following pairs have the highest euclidean distance? Note: take care of the missing values and adjust accordingly. The options refer to the indices of points.
6406532775080.
1 and 2
6406532775081.
0 and 2
6406532775082.
1 and 3
6406532775083.
2 and 3
6406532775084.
0 and 1
6406532775085.
There is a tie between two or more options.
6406532775086.
None of these.

A published solution is not available for this question yet.

Report a correction for Q144

Question 145 MCQ · 2.0 marks

Consider following data and answer the given subquestions:
Source diagram or notation
Each row represents a data point. There are exactly 4 points. The index of points starts from 0 and ends at 3 (included).
Which of the following pairs have the smallest euclidean distance? Note: take care of the missing values and adjust accordingly. The options refer to the indices of points.
6406532775087.
1 and 2
6406532775088.
0 and 2
6406532775089.
1 and 3
6406532775090.
2 and 3
6406532775091.
0 and 1
6406532775092.
There is a tie between two or more options.
6406532775093.
None of these.

A published solution is not available for this question yet.

Report a correction for Q145

Question 146 NAT · 2.0 marks

Consider following data and code snippet:
Source diagram or notation
Based on the above data, answer the given subquestions.
What will be the output of the following code snippet:
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q146

Question 147 NAT · 2.0 marks

Consider following data and code snippet:
Source diagram or notation
Based on the above data, answer the given subquestions.
What will be the output of the following code snippet:
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q147

Question 148 NAT · 2.0 marks

Consider following data and code snippet:
Source diagram or notation
Based on the above data, answer the given subquestions.
What will be the output of the following code snippet:
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q148

Question 149 NAT · 2.0 marks

Consider following data and code snippet:
Source diagram or notation
Based on the above data, answer the given subquestions.
What will be the output of the following code snippet:
Source diagram or notation
Enter -1, if you think the above code snippet will generate an error.

A published solution is not available for this question yet.

Report a correction for Q149

Question 150 MSQ · 2.0 marks

Consider following data and code snippet:
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following can be used to get the simpleimputer object?
6406532775098.Source diagram or notation
6406532775099.Source diagram or notation
6406532775100.Source diagram or notation
6406532775101.Source diagram or notation
6406532775102.Source diagram or notation
6406532775103.Source diagram or notation
6406532775104.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q150

Question 151 MCQ · 2.0 marks

Go through the code snippet given below and answer the given subquestions.
Source diagram or notation
Which of the following options will be the output of the given code?
6406532775105.Source diagram or notation
6406532775106.Source diagram or notation
6406532775107.Source diagram or notation
6406532775108.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q151

Question 152 MCQ · 2.0 marks

Go through the code snippet given below and answer the given subquestions.
Source diagram or notationSource diagram or notation
6406532775109.
-0.528
6406532775110.
1
6406532775111.
0.528
6406532775112.
Given code will return an error

A published solution is not available for this question yet.

Report a correction for Q152

Question 153 MCQ · 3.0 marks

Consider the following code:
Source diagram or notation
Which of the following may be the correct output of the above code?:
6406532775113.Source diagram or notation
6406532775114.Source diagram or notation
6406532775115.Source diagram or notation
6406532775116.Source diagram or notation
6406532775117.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q153

Question 154 MCQ · 3.0 marks

Consider the following code:
Source diagram or notation
Which of the following is more likely to be true?
6406532775119.Source diagram or notation
6406532775120.Source diagram or notation
6406532775121.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q154

Question 155 NAT · 2.0 marks

What will be the output of the following code ?
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q155

Question 156 MCQ · 2.0 marks

Source diagram or notation
6406532775122.
It controls the learning rate of the stochastic regressor during training.
6406532775123.
It determines the maximum number of iterations for the training process.
6406532775124.
It defines the fraction of the validation set used for early stopping.
6406532775125.
It specifies the tolerance level for early stopping based on the change in the validation error.

A published solution is not available for this question yet.

Report a correction for Q156

Question 157 MSQ · 2.0 marks

Consider the following code block and if needed make appropriate assumptions:
Source diagram or notation
Which of the following may be appropriate to be filled in the blank space value for scoring parameter?
6406532775126.Source diagram or notation
6406532775127.Source diagram or notation
6406532775128.Source diagram or notation
6406532775129.Source diagram or notation
6406532775130.Source diagram or notation
6406532775131.Source diagram or notation
      **System Commands** **Section Id :** 64065359217 **Section Number :** 10 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 16 **Number of Questions to be attempted :** 16 **Section Marks :** 100 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No **Enable Mark as Answered Mark for Review and** No **Clear Response :** **Section Maximum Duration :** 0 **Section Minimum Duration :** 0 **Section Time In :** Minutes **Maximum Instruction Time :** 0

A published solution is not available for this question yet.

Report a correction for Q157