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.
Choose the correct options to determine the count of NULL values in each column of a pandas DataFrame named ’df’
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which option will help in selecting data of odd indexed columns only? (ie. age, parch are odd indexed 1 and 3 respectively)
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What is datatype of sex column in the given titanic dataset
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which option will help in filtering data to find females who are alive after titanic incident?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What is the given code below trying to accomplish for the given titanic dataset ?

Solution
Solution
You are working on a machine learning project that aims to predict housing prices based on various features of the houses. As the first step, you decide to perform exploratory data analysis and visualize the data to understand its structure and relationships. Which of the following visualization techniques or principles is LEAST likely to provide meaningful insights for this kind of
regression problem?
regression problem?
Solution
A company collects 40000 samples (examples) to build a Machine Learning model for an application. They decide to use 30% of the total samples for testing (to be stored in the variable testset) and the rest 70% for training (to be stored in the variable trainset). They also want to sample the same set of samples across multiple runs. Which of the following line (statement) achieves this task? Assume that all samples are stored in the variable data.
Solution
Choose the option based on the following statements:
Statement 1: The train-test split allows us to simulate the model’s performance on new data by reserving a portion of the dataset for testing.
Statement 2: Separating the dataset into training and testing sets helps prevent data leakage, where information from the test set unintentionally influences the model during training. This ensures a fair assessment of the model’s generalization capabilities.
Statement 1: The train-test split allows us to simulate the model’s performance on new data by reserving a portion of the dataset for testing.
Statement 2: Separating the dataset into training and testing sets helps prevent data leakage, where information from the test set unintentionally influences the model during training. This ensures a fair assessment of the model’s generalization capabilities.
Solution
In which of the following scenarios is data cleaning most required?
Solution
Solution
Which of the following metrics indicate higher their value, better the regression model’s performance?
Solution
Solution
Solution
Solution
Solution
Suppose that we plot the histogram of numerical features in a data set. This reveals which of the following information?
Solution
Solution
Which of the following are valid loss functions for SGDClassifier?
Solution
Solution
Which of the following Evaluation metrics can be used in a regression problem?
Solution
Which of the following feature(s) will be selected in X_selected from X ?
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors