Why might pruning be necessary in the construction of a Decision Tree?

  • Determine Leaf Nodes
  • Increase Complexity
  • Increase Size
  • Reduce Overfitting
Pruning is necessary to remove unnecessary branches, simplifying the model and reducing the risk of overfitting the training data.

You are using Simple Linear Regression for a time-series dataset, and the residuals show a pattern. What does this imply, and what might be the remedy?

  • Autocorrelation Present, Use Time-Series Model
  • Model is Perfect
  • Multicollinearity, Remove Variables
  • Normal Distribution, No Remedy Needed
If residuals show a pattern in a time-series dataset, autocorrelation might be present, violating the independence assumption. A time-series model like ARIMA may be a more suitable approach.

Imagine you are working with a dataset where the classes are highly overlapped. How would LDA handle this situation, and what might be the challenges?

  • LDA would easily separate the classes; no challenges
  • LDA would ignore the overlap and classify randomly
  • LDA would require additional data for proper classification
  • LDA would struggle to separate the classes; potential misclassification
LDA would "struggle to separate the classes" when there's high overlap, as it relies on maximizing between-class variance. The challenges include potential misclassification and decreased accuracy.

You have a dataset with clusters of varying densities. How would you configure the Epsilon and MinPts in DBSCAN to handle this?

  • Increase Epsilon; Decrease MinPts
  • Increase both Epsilon and MinPts
  • Reduce both Epsilon and MinPts
  • Use a different clustering algorithm
DBSCAN's Epsilon and MinPts are global parameters that apply to all clusters. If clusters have varying densities, tuning these parameters to fit one density might not suit others, leading to misclustering. In such a scenario, a different clustering algorithm that can handle varying densities might be more appropriate.

What is the main difference between Ridge and Lasso regularization?

  • Both use L1 penalty
  • Both use L2 penalty
  • Ridge uses L1 penalty, Lasso uses L2 penalty
  • Ridge uses L2 penalty, Lasso uses L1 penalty
Ridge regularization uses an L2 penalty, which shrinks coefficients but keeps them non-zero, while Lasso uses an L1 penalty, leading to some coefficients being exactly zero.

In PCA, the Eigenvectors are also known as the ________ of the data.

  • components
  • directions
  • eigendata
  • principal directions
In PCA, the Eigenvectors, also known as the "principal directions," define the directions in which the data varies the most. They form the axes of the new feature space and capture the essential structure of the data.

What is the intercept in Simple Linear Regression, and how is it interpreted?

  • Maximum Value of Y
  • Minimum Value of X
  • Start of the Line on X-axis
  • Value of Y when X is Zero
The intercept in Simple Linear Regression is the value of the dependent variable (Y) when the independent variable (X) is zero. It represents where the regression line crosses the Y-axis.

Why might one prefer to use MAE over MSE in evaluating a regression model?

  • MAE considers the direction of errors
  • MAE gives more weight to larger errors
  • MAE is less sensitive to outliers
  • MAE is more computationally expensive
One might prefer to use Mean Absolute Error (MAE) over Mean Squared Error (MSE) because MAE is less sensitive to outliers. While MSE squares the differences and thus gives more weight to larger errors, MAE takes the absolute value of the differences, providing an equal weighting. This makes MAE more robust when there are outliers or when one doesn't want to overly penalize larger deviations from the true values.

The ___________ test in Logistic Regression can be used to assess if the Logit link function is the correct specification for the model.

  • AIC
  • Hosmer-Lemeshow
  • Likelihood-ratio
  • Link
The Link test in Logistic Regression can be used to determine if the Logit link function is the correct specification for the model.

Which field utilizes Machine Learning to recommend products or media to consumers based on their past behavior?

  • Autonomous Driving
  • Education
  • Healthcare
  • Recommender Systems
Recommender Systems use machine learning algorithms to suggest products, media, or content to users based on their past interactions and behavior, creating personalized experiences.