MauryaHub PYQ Practice

cs2008_2024T3_Q1_AN.pdf

Machine Learning Practice · Quiz 1 · Sep 2024

← Course papers · Start practice / exam

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

Question 26 MCQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_1_0]]
Source diagram or notation
  1. (0,1)
  2. (2,3)
  3. (3,2)
  4. (2,4)

A published solution is not available for this question yet.

Question 27 MCQ · 4.0 marks

Which point has the lowest probability of being chosen as the 3rd cluster mean? Use squared distance to calculate the scores.
  1. (1,0)
  2. (2,3)
  3. (3,2)
  4. (1,2)       **MLP** **Section Id :** 64065369402 **Section Number :** 3 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 18 **Number of Questions to be attempted :** 18 **Section Marks :** 50 **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.

Question 29 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_2_1]] Based on the above data, answer the given subquestions.
Which option will give the total count of canceled flights in the dataset?
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_3_2]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_3_3]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_3_4]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_3_5]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 30 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_2_1]] Based on the above data, answer the given subquestions.
Which of the following code snippets will add a new column ’OnTime’ that shows True if the flight was not delayed, else False?
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_3_6]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_3_7]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_3_8]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_3_9]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 31 MSQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_2_1]] Based on the above data, answer the given subquestions.
How can you filter the flights that have a delay due to ’Weather’?
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_3_10]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_4_11]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_4_12]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_4_13]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 32 MCQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_2_1]] Based on the above data, answer the given subquestions.
Which option will sort the flights first by `Airline` in ascending order, then by DelayMinutes in descending order?
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_4_14]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_4_15]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_4_16]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_4_17]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 33 MCQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_2_1]] Based on the above data, answer the given subquestions.
Which option will give the count of flights that have a delay greater than the average delay?
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_4_18]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_4_19]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_4_20]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_4_21]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 34 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_5_22]] Based on the above data, answer the given subquestions.
[[IMAGE:e330c6d45a646e53_5_23]]
Source diagram or notationSource diagram or notation
  1. (4, 5)
  2. (4, 6)
  3. (4, 7)
  4. (4, 8)
  5. None of these

A published solution is not available for this question yet.

Question 35 MCQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_5_22]] Based on the above data, answer the given subquestions.
[[IMAGE:e330c6d45a646e53_5_24]]
Source diagram or notationSource diagram or notation
  1. 0.0
  2. 0.5
  3. -0.5
  4. 1
  5. None of these

A published solution is not available for this question yet.

Question 36 MSQ · 2.0 marks

Which of the following preprocessing techniques helps in handling categorical features in a dataset?
  1. One-hot encoding
  2. StandardScaler
  3. Label encoding
  4. MinMaxScaler

A published solution is not available for this question yet.

Question 37 MSQ · 2.0 marks

Which of the following imputation strategies can be used for handling missing values?
  1. Filling with mean or median
  2. Deleting the rows with missing values
  3. Using a predictive model to estimate missing values
  4. Using a random generator to fill missing values

A published solution is not available for this question yet.

Question 38 MSQ · 2.0 marks

Which of the following is correct about cross-validation in machine learning?
  1. Cross-validation helps prevent overfitting.
  2. It is a technique to improve the model’s accuracy.
  3. K-Fold cross-validation is one of the most popular types of cross-validation.
  4. Cross-validation is not suitable for small datasets.

A published solution is not available for this question yet.

Question 39 MSQ · 2.0 marks

Which of the following are valid loss functions for SGDClassifier?
  1. Squared Loss
  2. Hinge Loss
  3. Log Loss
  4. Mean Absolute Error

A published solution is not available for this question yet.

Question 40 MSQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_7_25]]
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_7_26]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_7_27]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_7_28]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_7_29]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 41 MCQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_8_30]]
Source diagram or notation
  1. 0 and 1
  2. 2 and 3
  3. 0 and 3
  4. 1 and 2
  5. 1 and 3

A published solution is not available for this question yet.

Question 42 MCQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_8_31]]
Source diagram or notation
  1. 0
  2. 4
  3. 6
  4. None of these

A published solution is not available for this question yet.

Question 43 MCQ · 3.0 marks

[[IMAGE:e330c6d45a646e53_9_32]] How many different models will be trained during this grid search process?
Source diagram or notation
  1. 36
  2. 54
  3. 72
  4. 108

A published solution is not available for this question yet.

Question 44 MCQ · 2.0 marks

You are working on a machine learning project and have received a dataset containing numeric and categorical features. The dataset has some missing values and potential outliers. Given the following data cleaning steps: 1. Use One-Hot Encoding for categorical variables. 2. Impute missing values with feature’s mean for numeric features. 3. Remove duplicates. 4. Standardize numeric features using Z-score normalization. 5. Identify and handle outliers using the IQR method. Which of the following represents the MOST appropriate sequence for preparing the data for a machine learning model?
  1. 1 → 4 → 2 → 3 → 5
  2. 3 → 2 → 1 → 4 → 5
  3. 2 → 3 → 1 → 5 → 4
  4. 3 → 5 → 2 → 1 → 4

A published solution is not available for this question yet.

Question 45 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_10_33]]
Source diagram or notation
  1. 2
  2. 3
  3. 1
  4. None of these

A published solution is not available for this question yet.

Question 46 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_11_34]]
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_11_35]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_11_36]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_11_37]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_11_38]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 47 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_11_39]]
Source diagram or notation
  1. It controls the learning rate of the stochastic regressor during training.
  2. It determines the maximum number of iterations for the training process.
  3. It defines the fraction of the validation set used for early stopping.
  4. 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.

Question 48 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_12_40]]
Source diagram or notation
  1. [[IMAGE:e330c6d45a646e53_12_41]]
    Source diagram or notation
  2. [[IMAGE:e330c6d45a646e53_12_42]]
    Source diagram or notation
  3. [[IMAGE:e330c6d45a646e53_12_43]]
    Source diagram or notation
  4. [[IMAGE:e330c6d45a646e53_12_44]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 49 MCQ · 2.0 marks

[[IMAGE:e330c6d45a646e53_12_45]]
Source diagram or notation
  1. Intercept: 3.0, Coefficients: [1.0, 2.0]
  2. Intercept: 3.0, Coefficients: [0.0, 2.0]
  3. Intercept: 0.0, Coefficients: [1.0, 2.0]
  4. Given code will return an error.

A published solution is not available for this question yet.

Question 50 MCQ · 1.0 marks

[[IMAGE:e330c6d45a646e53_13_46]]
Source diagram or notation
  1. Controls the total number of iterations.
  2. Specifies the tolerance level for early stopping.
  3. Defines the number of iterations with no improvement to stop training.
  4. Sets the learning rate schedule.       **BA** **Section Id :** 64065369403 **Section Number :** 4 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 5 **Number of Questions to be attempted :** 5 **Section Marks :** 20 **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.