(Conceptual) What is a Classification Report in Scikit-Learn?
15Multiple Choice
(Conceptual) In regression, what does R-squared ($R^2$) indicate?
16Multiple Choice
(Scenario-Based) You perform 5-fold cross-validation. What do you do with the 5
different accuracy scores?
17Multiple Choice
(Conceptual) What is Precision?
18Multiple Choice
(Conceptual) What is Specificity?
19Multiple Choice
(Scenario-Based) An e-mail spam filter must ensure that no legitimate mail is ever
sent to spam. Which metric must be prioritized?
20Multiple Choice
(Conceptual) What does the "Area Under the Curve" (AU
1Multiple Choice
(Conceptual) Why is One-Hot Encoding generally preferred over Label Encoding for
nominal categorical data (e.g., Colors: Red, Green, Blue)?
2Multiple Choice
(Calculation) You have a "House Price" feature that ranges from $10,000 to
$1,000,000. Why should you scale this feature?
3Multiple Choice
(Scenario-Based) A dataset has 500 features, but many are highly correlated with each
other. Which technique should you use to reduce the dimensionality?
4Multiple Choice
(Conceptual) What is the main drawback of using Wrapper Methods for feature
selection?
5Multiple Choice
(Code/Logic) In Pandas, what is the best way to convert a categorical column 'Gender'
(Male, Female) into numeric columns?
6Multiple Choice
(Conceptual) What is the purpose of the L1 Regularization (Lasso) during training?
feature_eng.py
import pandas as pd
df = pd.DataFrame({'Gender': ['Male', 'Female']})
# What command performs one-hot encoding?
7Multiple Choice
(Conceptual) If you have a column "Date" (e.g., 2023-01-01), what is a valid feature
engineering step?
8Multiple Choice
(Comparison) What is the difference between Filter Methods and Wrapper Methods
for feature selection?
9Multiple Choice
(Conceptual) In feature engineering, what does Binning achieve?
10Multiple Choice
(Code/Logic) Looking at this transformation, what is the effect on the data?
11Multiple Choice
(Conceptual) What is a Dummy Variable Trap?
12Multiple Choice
(Conceptual) What is Imputation using the "Median" strategy best for?
1Multiple Choice
(Conceptual) Why are non-linear activation functions (like ReLU) essential in Deep
Learning?
2Multiple Choice
(Calculation) In a simple neuron, the output is calculated as Output =
Activation(Sum(Input * Weight) + Bias). What is the role of the Bias term?
3Multiple Choice
(Scenario-Based) A Deep Learning model has 100 layers and is not learning anything
in the first few layers. What is this phenomenon called?
4Multiple Choice
(Conceptual) Which function is typically used in the output layer of a Multi-class
Classification problem?
5Multiple Choice
(Code/Logic) In a neural network defined by the following snippet, how many
parameters (weights) are in the input layer if there are 10 inputs and 5 neurons in the first
hidden layer?
6Multiple Choice
(Conceptual) What does the Loss Function measure in deep learning training?
7Multiple Choice
(Comparison) What is the difference between Batch Gradient Descent and
Stochastic Gradient Descent (SGD)?
8Multiple Choice
(Conceptual) Why is Dropout used in Deep Neural Networks?
9Multiple Choice
(Conceptual) What is the main purpose of Batch Normalization?
10Multiple Choice
(Scenario-Based) A developer chooses to use a ReLU activation function instead of
Sigmoid. What is the most significant benefit?
11Multiple Choice
(Comparison) What is a Mini-Batch Gradient Descent?
12Multiple Choice
(Conceptual) In the context of weights, what is Weight Initialization?
22Multiple Choice
What problem does the Rectified Linear Unit (ReLU) activation function primarily help prevent compared to the Sigmoid function in deep neural networks?