In the k-NN algorithm, as the value of k increases, the decision boundary becomes __________.
- Linear
- More complex
- More simplified
- Non-existent
As the value of k in k-NN increases, the decision boundary becomes more simplified because it is based on fewer neighboring data points.
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.
Which regression technique is primarily used for predicting a continuous outcome variable (like house price)?
- Decision Tree Regression
- Linear Regression
- Logistic Regression
- Polynomial Regression
Linear Regression is the most common technique for predicting a continuous outcome variable, such as house prices. It establishes a linear relationship between input features and the output.
The Actor-Critic model combines value-based and ________ methods to optimize its decision-making process.
- Policy-Based
- Model-Free
- Model-Based
- Q-Learning
The Actor-Critic model combines value-based (critic) and model-free (actor) methods to optimize decision-making. The critic evaluates actions using value functions, and the actor selects actions based on this evaluation, thus combining two approaches for improved learning.
For text classification problems, the ________ variant of Naive Bayes is often used.
- K-Means
- Multinomial
- Random Forest
- SVM
In text classification, the Multinomial variant of Naive Bayes is commonly used due to its suitability for modeling discrete data like word counts.
For a non-linearly separable dataset, which property of SVMs allows them to classify the data?
- Feature selection
- Kernel functions
- Large training dataset
- Parallel processing
SVMs can classify non-linearly separable data using kernel functions, which map the data into a higher-dimensional space where it becomes linearly separable.
In the context of reinforcement learning, what does the term "gradient" in "Policy Gradient Methods" refer to?
- The direction of steepest ascent in the policy space
- A mathematical term used to describe the rate of change
- The probability distribution of actions
- The value function
In "Policy Gradient Methods," the "gradient" refers to the direction in the policy space that increases the expected reward. It guides policy updates to maximize reward.
Which regression method assumes a linear relationship between the independent and dependent variables?
- Decision Tree Regression
- Logistic Regression
- Polynomial Regression
- Ridge Regression
Polynomial Regression assumes a linear relationship between the independent and dependent variables. It models relationships as polynomial functions, and other regression methods may assume different relationships.
A medical research company is working on image data, where they want to classify microscopic images into cancerous and non-cancerous categories. The boundary between these categories is not linear. Which algorithm would be a strong candidate for this problem?
- Convolutional Neural Network (CNN)
- Logistic Regression
- Naive Bayes Classifier
- Principal Component Analysis
Convolutional Neural Networks (CNNs) are excellent for image classification tasks, especially when dealing with non-linear boundaries. They use convolutional layers to extract features from images, making them suitable for tasks like cancerous/non-cancerous image classification.