An organization wants to develop a system that can identify objects in real-time from video feeds, regardless of the objects' positions or angles in the frames. Which neural network characteristic is crucial for this?
- Invariance to Translation
- Time Series Processing Capability
- Memory of Past Sequences
- Radial Basis Function Network
"Invariance to Translation" is crucial because it allows the network to recognize objects regardless of their position or orientation in the frames, a key requirement for real-time object detection.
Which of the following best describes the dilemma faced in the multi-armed bandit problem?
- Balancing exploration (trying different actions) and exploitation (using the best-known action)
- Choosing the arm with the highest mean reward
- Maximizing rewards from a single arm
- Choosing arms randomly
The multi-armed bandit problem revolves around the exploration-exploitation trade-off, where you must balance trying new actions (exploration) with exploiting the known best action (exploitation) to maximize cumulative rewards.
In hierarchical clustering, as the name suggests, the data is grouped into a hierarchy of clusters. What visualization is commonly used to represent this hierarchy?
- Bar Chart
- Dendrogram
- Heatmap
- Scatter Plot
A dendrogram is commonly used in hierarchical clustering to visualize the hierarchical structure of clusters, showing the merging and splitting of clusters.
For the k-NN algorithm, what could be a potential drawback of using a very large value of k?
- Decreased Model Sensitivity
- Improved Generalization
- Increased Computational Cost
- Reduced Memory Usage
A large value of k in k-NN can make the model less sensitive to local patterns, leading to a loss in predictive accuracy due to averaging over more neighbors.
How does the architecture of a CNN ensure translational invariance?
- CNNs use weight sharing in convolutional layers, making features invariant to translation
- CNNs utilize pooling layers to reduce feature maps size
- CNNs randomly initialize weights to break translational invariance
- CNNs use a large number of layers for translation invariance
CNNs ensure translational invariance by sharing weights in convolutional layers, allowing learned features to detect patterns regardless of their location in the image. This is a key property of CNNs.
For binary classification tasks, which regression outputs a probability score between 0 and 1?
- Lasso Regression
- Linear Regression
- Logistic Regression
- Support Vector Regression
Logistic Regression outputs probability scores between 0 and 1, making it suitable for binary classification. It uses the logistic function to model the probability of the positive class.
If you want to visualize high-dimensional data in a 2D or 3D space, which of the following techniques would be suitable?
- Principal Component Analysis
- Regression Analysis
- Naive Bayes
- Linear Discriminant Analysis
Principal Component Analysis (PCA) is suitable for visualizing high-dimensional data in a lower-dimensional space. It identifies the directions of maximum variance, making data more manageable for visualization.
When an agent overly focuses on actions that have previously yielded rewards without exploring new possibilities, it might fall into a ________ trap.
- Exploitation
- Exploration
- Learning
- Reward
If an agent overly focuses on actions that have yielded rewards in the past, it falls into an exploitation trap, neglecting the exploration needed to find potentially better actions.
A machine learning model trained for predicting whether an email is spam or not has a very high accuracy of 99%. However, almost all emails (including non-spam) are classified as non-spam by the model. What could be a potential issue with relying solely on accuracy in this case?
- Data Imbalance
- Lack of Feature Engineering
- Overfitting
- Underfitting
The issue here is data imbalance, where the model is heavily biased toward the majority class (non-spam). Relying solely on accuracy in imbalanced datasets can be misleading as it doesn't account for the misclassification of the minority class (spam), which is a significant problem.
When the outcome variable is continuous and has a linear relationship with the predictor variables, you would use ________ regression.
- Linear
- Logistic
- Polynomial
- Ridge
Linear regression is used when there is a continuous outcome variable, and the relationship between the predictor variables and the outcome is linear. It's a fundamental technique in statistics and machine learning for regression tasks.