A company wants to segment its customers based on their purchasing behavior. They have a fair idea that there are around 5 distinct segments but want to confirm this. Which clustering algorithm might they start with?

  • K-Means Clustering
  • Agglomerative Hierarchical Clustering
  • Mean-Shift Clustering
  • Spectral Clustering
The company might start with K-Means Clustering to confirm their idea of five distinct segments. K-Means is often used for partitioning data into a pre-specified number of clusters and can be a good choice when you have a rough idea of the number of clusters.

Variational autoencoders (VAEs) introduce a probabilistic spin to autoencoders by associating a ________ with the encoded representations.

  • Probability Distribution
  • Singular Value Decomposition
  • Principal Component
  • Regression Function
VAEs introduce a probabilistic element to autoencoders by associating a probability distribution (typically Gaussian) with the encoded representations. This allows for generating new data points.

In CNNs, the ________ layer is responsible for detecting features in an image.

  • Convolutional
  • Pooling
  • Fully Connected
  • Input
The 'Convolutional' layer in a Convolutional Neural Network (CNN) is responsible for detecting features in an image using convolution operations.

Imagine you're developing a model to recognize rare bird species from images. You don't have many labeled examples of these rare birds, but you have a model trained on thousands of common bird species. How might you leverage this existing model for your task?

  • Fine-tuning the Pre-trained Model
  • Random Initialization of Weights
  • Training the Model from Scratch
  • Using the Model Only for Common Bird Recognition
Fine-tuning involves taking a pre-trained model and adjusting its parameters, typically only in the final layers, to specialize it for your specific task, which is recognizing rare bird species in this case.

Which clustering method assigns data points to the nearest cluster center and recalculates the center until convergence?

  • Agglomerative
  • DBSCAN
  • Hierarchical
  • K-Means
K-Means clustering is an iterative algorithm that assigns each data point to the nearest cluster center, recalculating these centers until they converge.

t-SNE is particularly known for preserving which kind of structures from the high-dimensional data in the low-dimensional representation?

  • Global Structures
  • Local Structures
  • Numerical Structures
  • Geometric Structures
t-SNE is known for preserving local structures in the low-dimensional representation, making it effective for visualization and capturing fine-grained relationships.

When both precision and recall are important for a problem, one might consider optimizing the ________ score.

  • Accuracy
  • F1 Score
  • ROC AUC
  • Specificity
The F1 Score is a measure that balances both precision and recall. It is especially useful when you want to consider both false positives and false negatives in your classification problem.

When using K-means clustering, why is it sometimes recommended to run the algorithm multiple times with different initializations?

  • To ensure deterministic results.
  • To make the algorithm run faster.
  • To mitigate sensitivity to initial cluster centers.
  • To reduce the number of clusters.
K-means clustering is sensitive to initial cluster centers. Running it multiple times with different initializations helps find a more stable solution.

________ is a technique where during training, random subsets of neurons are ignored, helping to make the model more robust.

  • Dropout
  • Regularization
  • Batch Normalization
  • Activation Function
Dropout is a regularization technique that involves randomly deactivating a fraction of neurons during training. This helps prevent overfitting, making the model more robust and less dependent on specific neurons.

In the context of decision trees, what is "information gain" used for?

  • To assess the tree's overall accuracy
  • To calculate the depth of the tree
  • To determine the number of leaf nodes
  • To measure the purity of a split
Information gain is used to measure the purity of a split in a decision tree. It helps decide which feature to split on by evaluating how much it reduces uncertainty or entropy.