Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : MACHINE LEARNING PRACTICE (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which option will give the total count of canceled flights in the dataset?
Solution
Comprehension Passage
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?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
How can you filter the flights that have a delay due to ’Weather’?
Solution
Comprehension Passage
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?
Solution
Comprehension Passage
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?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Which of the following preprocessing techniques helps in handling categorical features in a dataset?
Solution
Which of the following imputation strategies can be used for handling missing values?
Solution
Which of the following is correct about cross-validation in machine learning?
Solution
Which of the following are valid loss functions for SGDClassifier?
Solution
Solution
Solution
Solution
How many different models will be trained during this grid search process?
Solution
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. 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?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors