Question 1 | MCQ
Solution
We are analyzing how much the number of lecture hours attended by students affects their exam scores. Which Excel function would you use as a starting point in this analysis?
Solution
We are analyzing how much the number of lecture hours attended by students affects their exam scores. we plan to run a regression analysis after the preliminary analysis. Which of the following features provide you with the capability to do this? Page 329 of 340
Solution
We have a variable X, which can take values AA, BB, or CC. The first 4 values of this variable in a dataset are CC, AA, BB, AA. The format of representing this information as shown in the table below is called:

Solution
We have a variable X, which can take values AA, BB, or CC. The first 4 values of this variable in a Page 330 of 340
dataset are CC, AA, BB, AA. This information is represented as shown below.

To convert a variable to this format in Python, one can use:
dataset are CC, AA, BB, AA. This information is represented as shown below.
To convert a variable to this format in Python, one can use:
Solution
k-means is typically influenced by the start values. What option in sklearn.cluster.KMeans helps reduce the impact?
Solution
A Pandas dataframe DF has a column named salary_range which contains the salary details of 10000 employees of a firm binned as medium, high, and very high. You are interested in finding out the number of employees in each category of salary_range. Which of the following commands will help you to achieve this goal?
Solution
Scikit-learn has a DecisionTreeClassifier module that is useful in building decision tree classifiers. Suppose, our dataset is imbalanced in class. Which feature in the DecisionTreeClassifier() will help us tackle this problem?
Solution
Options : Page 332 of 340
A. from sklearn.metrics import mean_absolute_error
B. from sklearn.metrics import median_absolute_error
C. from sklearn.metrics import median_absolute_percentage_error
D. from sklearn.metrics import average_absolute_percentage_error
Solution
We are interested in fitting an ARIMA model to our time series data. Specifically, we are interested in a moving average model of 0, setting a lag value of 4 for autoregression, and a difference order of 1. Which of the following gives you such a model?
Solution
pycaret is a
Solution
Page 333 of 340
subjectivity and polarity are two properties returned by the sentiment function of library:
subjectivity and polarity are two properties returned by the sentiment function of library:
Solution
A subjectivity score of 0.8 means that the text statement:
Solution
A polarity score of negative 0.5 means that the text statement:
Solution
You are working on a piece of code that classifies different fruits into its respective groups (citrus, berries, melons, apples & pears, and tropical & exotic). Which of the following loss functions from Keras would you pick for the task?
Solution
classification_report function from the sklearn.metrics module
Solution
Page 335 of 340
csr_matrix from the scipy library:
csr_matrix from the scipy library:
Solution
Comicgen is a useful tool in narrating data stories using comics. Which of the following is not a function of comicgen?
Solution
Kumu is a tool that allows you to:
Solution
Google Studio is a tool that allows you to
Solution
Which of the following tabs is used to identify API calls in the Inspect element in any browser?
Solution
Which of the following libraries is used to construct API urls?
Solution
The final output from the BBC Weather Location Service API is in JSON format:
Solution
Which among the following excel charts is the most suitable for detecting outliers in the data?
Solution
Provided below is a snapshot of the dataset which consists of movie reviews and respective labels.
Page 338 of 340

To compute the sentiment scores the Azure Machine Learning add-in requires input and output values. In the figure provided below the input and output cells need to be populated with appropriate values to obtain sentiment scores.

Choose the most appropriate option that enables you to predict sentiment scores using the Excel Azure Machine Learning add-in.
Page 338 of 340
To compute the sentiment scores the Azure Machine Learning add-in requires input and output values. In the figure provided below the input and output cells need to be populated with appropriate values to obtain sentiment scores.
Choose the most appropriate option that enables you to predict sentiment scores using the Excel Azure Machine Learning add-in.
Solution
scikit-network package contains functions for (pick all correct sentences):
Solution
Shape
Thickness [ / ]
3
All colors