Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 20 published solutions
Question 230 MSQ · 1.0 marks
How do we find (using Python) all the possible values of categories inside a Pandas data-frame
column named ‘book’? The name of the Pandas data-frame is data_df.
A.
data_df.book.unique()
B.
data_df.book.category_name()
C.
data_df['book'].distinct()
D.
data_df['book'].unique()
A published solution is not available for this question yet.
Using cross-validation we find that the ideal K in a K -Nearest Neighbour procedure is 6. Your
friend does not use cross-validation but instead guesses a K of 2. His predictor would:
A.
have higher bias
B.
have higher variance
C.
have lower bias
D.
have lower variance
E.
overfit the data compared to your solution
F.
underfit the data compared to your solution
A published solution is not available for this question yet.
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?
A.
ARIMA(..., trend = (4,1,0))
B.
ARIMA(..., order = (4,1,0))
C.
ARIMA(..., order = (0,4,1))
D.
ARIMA(..., trend = (0,4,1))
A published solution is not available for this question yet.
K-Means clustering algorithm is sensitive to the initial choice of centroids. Which parameter in
kmeans() function helps the user mitigate this problem?
A.
algorithm
B.
max_iter
C.
n_clusters
D.
n_init
A published solution is not available for this question yet.
How can you change the calculation performed in the "Values" area of a Pivot Table?
A.
By selecting a function from the “Summarize Values by” in the “Value Field
settings”
B.
By right-clicking the cell and choosing "Change Calculation"
C.
By dragging a new field into the "Values" area
D.
By adjusting the cell formatting in the "Values" area
**CT**
**Section Id :** 64065349270
**Section Number :** 11
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 18
**Number of Questions to be attempted :** 18
**Section Marks :** 100
A published solution is not available for this question yet.