wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MIS 447 ML - Quiz 2

Total questions: 21

Worksheet time: 34mins

Name
Class
Date
1.

The primary focus of Bagging ensemble methods, such as Random Forest, is to reduce which type of error?

a)

Redundancy

b)

Variance

c)

Noise

d)

Bias

2.

In an ensemble learning context, which statement accurately describes the training process difference between Bagging and Boosting?

a)

Bagging combines predictions using a weighted average, while Boosting uses majority voting.

b)

Bagging models are trained sequentially, while Boosting models are trained in parallel.

c)

Bagging models are trained in parallel, while Boosting models are trained in series (sequentially).

d)

Bagging trains base models independently and in parallel, while Boosting trains models in series, where each model depends on the previous one's errors.

3.

The Random Feature Selection step in the Random Forest algorithm is critical because it ensures:

a)

Optimal hyperparameters are selected for each tree automatically.

b)

The calculation of errors (residuals) for the next tree is accurate.

c)

The majority voting process is always computationally linear.

d)

Individual trees are decorrelated, which reduces the overall ensemble's variance and prevents overfitting.

4.

How does a Random Forest model determine its final prediction for a new data point in a classification task?

a)

By using a weighted average based on individual tree performance.

b)

By using only the prediction from the single best-performing tree.

c)

By calculating the simple average of all individual tree predictions.

d)

By selecting the class that receives the most 'votes' (majority voting) from the trees.

5.

The fundamental idea behind the AdaBoost (Adaptive Boosting) algorithm is to:

a)

Adjust the weight of misclassified samples, forcing subsequent weak learners to focus on these 'harder' data points.

b)

Sequentially train models to predict the residual errors made by the previous ensemble.

c)

Use only deep, unpruned Decision Trees to capture complex patterns.

d)

Train multiple independent weak models on different random subsets of the data in parallel.

6.

Which of the following is a primary disadvantage of the AdaBoost algorithm compared to other ensemble methods?

a)

It is not easily parallelizable due to its sequential nature.

b)

It generally results in low predictive accuracy.

c)

It must use complex, deep learners as base models.

d)

It is highly sensitive to noisy data or outliers, which can be assigned very high weights.

7.

Unlike AdaBoost which re-weights samples, Gradient Boosting (GBM) models achieve sequential improvement by training each new model to predict what?

a)

The residuals (errors) made by the combined predictions of the previous models.

b)

The feature importance scores of the initial model.

c)

The optimal learning rate for the entire ensemble.

d)

The bootstrap samples from the original dataset.

8.

A major drawback of traditional Gradient Boosting Machine (GBM) models compared to Random Forest is:

a)

They suffer from low predictive accuracy.

b)

Their core objective is to increase bias.

c)

The inability to handle categorical features.

d)

The computational intensity and slower training speed due to their sequential nature.

9.

What is a key algorithmic enhancement that makes XGBoost "eXtreme" and helps prevent overfitting, differentiating it from traditional GBM?

a)

It exclusively uses Decision Stumps as base learners.

b)

It incorporates L1 (Lasso) and L2 (Ridge) regularization into the objective function.

c)

It always uses majority voting for regression tasks.

d)

It uses a unique 'random subspace' approach for feature selection in each tree.


10.

The difference in tree construction between XGBoost and LightGBM is that XGBoost generally uses a level-wise (BFS) approach, while LightGBM employs a leaf-wise (DFS) approach. What does the leaf-wise approach prioritize?

a)

The parallel processing of multiple data columns simultaneously.

b)

Minimizing the total number of splits across all trees.

c)

Splitting the leaf node that will result in the maximum reduction in loss (highest gain).

d)

Growing the tree in a highly balanced, symmetrical structure.

11.

For a machine learning task involving a very large dataset with many features, which boosting algorithm is generally recommended for its superior speed and memory efficiency?

a)

Random Forest

b)

XGBoost

c)

LightGBM

d)


AdaBoost

12.

What is the primary characteristic of the input data that necessitates the use of the Yeo-Johnson transformation over the Box-Cox transformation?

a)

The data exhibits significant heteroscedasticity (non-constant variance).

b)

The data is highly sparse and high-dimensional.

c)

The data contains zero or negative values.

d)

The data follows a bimodal or multimodal distribution.

13.

The main machine learning objective for applying a Box-Cox or Yeo-Johnson transformation is to:

a)

Transform the data distribution to better approximate a Gaussian (Normal) distribution.

b)

Scale all feature values into a fixed range like [0, 1].

c)

Convert continuous features into discrete, categorical features.

d)

.Identify and remove correlated features from the dataset.

14.

In Support Vector Machines (SVM), the Kernel Trick is used to overcome which challenge?

a)

The need to balance the bias-variance trade-off in the final model.

b)

The requirement for SVM to process only numerical features.

c)

The inability of SVM to handle large datasets due to memory constraints.

d)

The non-linear separability of data in the original feature space.

15.

In an SVM model, the Support Vectors are defined as:

a)

The data points that lie closest to the separating hyperplane and define the margin boundaries.

b)

The features that have the highest importance score for the classification task.

c)

The samples that are consistently misclassified, regardless of the kernel used.

d)

All data points that are correctly classified by the Maximum Marginal Hyperplane.

16.

The Naive Bayes Classifier is named 'Naive' because it makes a strong, often unrealistic, assumption that:

a)

All feature values must follow a strict Gaussian (Normal) distribution.

b)

The model can only be applied to binary classification problems.

c)

The classifier must be trained on very small datasets to be effective.

d)

All features are conditionally independent of each other, given the class variable.

17.

Despite its 'Naive' assumption, the classifier performs exceptionally well in applications like spam filtering and sentiment analysis. This effectiveness is largely due to:

a)

Its simplicity and computational efficiency, making it robust and fast for high-dimensional feature spaces (like word counts).

b)

The feature sets (like word counts) being naturally independent in text data.

c)

Its capability to implicitly perform feature scaling and selection before classification.

d)

Its reliance on complex iterative optimization algorithms to minimize error.

18.

In the K-Nearest Neighbors (KNN) algorithm for a classification task, how is the class of a new data point determined?

a)

By maximizing the distance between the new point and the hyperplane.

b)

By selecting the class that receives the majority vote among the K nearest neighbors.

c)

By calculating the average feature values of the K nearest neighbors.

d)

By predicting the class with the highest prior probability in the training data.

19.

What is the primary risk associated with choosing a very small value for K (e.g., K=1) in the K-Nearest Neighbors algorithm?

a)

The model becomes highly sensitive to noisy data or outliers, leading to high variance and overfitting.

b)

The model becomes computationally simpler, ignoring features with low importance.

c)

The model is likely to underfit, creating a very smooth decision boundary.

d)

The model becomes too slow during the training phase (a 'lazy' model problem).

20.

Why is feature scaling (e.g., standardization or normalization) considered a critical preprocessing step for the KNN algorithm?

a)

To prevent features with a large magnitude or range from disproportionately dominating the distance calculations.

b)

To reduce the risk of the model suffering from the 'curse of dimensionality'.

c)


To increase the computational speed of the distance calculations.

d)

To ensure the algorithm can handle categorical features correctly.

21.

Pease write your Student Id and Name.

4 lines