Which type of learning is characterized by an agent interacting with an environment and learning to make decisions based on rewards and penalties?

  • Supervised Learning
  • Reinforcement Learning
  • Unsupervised Learning
  • Semi-Supervised Learning
Reinforcement learning is the type of learning where an agent learns through interaction with an environment by receiving rewards and penalties.

In reinforcement learning, what do we call the function that determines the value of taking an action in a particular state?

  • Action Evaluator
  • Value Function
  • Policy Function
  • Reward Function
The 'Value Function' in reinforcement learning determines the expected cumulative reward of taking an action in a particular state, guiding decision-making.

In reinforcement learning, ________ focuses on trying new actions, while ________ focuses on leveraging known rewards.

  • Exploration Policy
  • Exploitation Policy
  • Random Policy
  • Deterministic Policy
In reinforcement learning, exploration policy focuses on trying new actions to learn more about the environment. Exploitation policy, on the other hand, leverages known rewards to make optimal decisions based on what's already learned.

One of the hyperparameters in a Random Forest algorithm that determines the maximum depth of the trees is called ______.

  • Entropy
  • Gini Index
  • LeafNodes
  • MaxDepth
The hyperparameter controlling the maximum depth of trees in a Random Forest is typically called "MaxDepth." It determines how deep each decision tree can grow in the ensemble.

The process of adding a penalty to the loss function to discourage complex models is called ________.

  • Normalization
  • Optimization
  • Parameterization
  • Regularization
Regularization is a technique used in machine learning to add a penalty to the loss function, discouraging overly complex models and preventing overfitting. It helps improve a model's generalization to new data.

What is the central idea behind using autoencoders for anomaly detection in data?

  • Autoencoders learn a compressed data representation
  • Autoencoders are trained on anomalies
  • Autoencoders are rule-based
  • Autoencoders use labeled data
Autoencoders for anomaly detection learn a compressed representation of normal data, and anomalies can be detected when the reconstruction error is high.

In convolutional neural networks, using weights from models trained on large datasets like ImageNet as a starting point for training on a new task is an application of ________.

  • Transfer Learning
  • Regularization
  • Batch Normalization
  • Data Augmentation
This application of transfer learning involves using pre-trained CNN models, like those on ImageNet, to initialize weights in a new model for a different task. It accelerates training and leverages existing knowledge.

While LSTMs have three gates, the GRU simplifies the model by using only ________ gates.

  • 1
  • 2
  • 3
  • 4
Gated Recurrent Units (GRUs) simplify the model by using only two gates: an update gate and a reset gate, as opposed to the three gates in LSTMs.

In a situation where you have both numerical and categorical data, which clustering method might pose challenges, and why?

  • Agglomerative Clustering
  • DBSCAN Clustering
  • Hierarchical Clustering
  • K-Means Clustering
K-Means may pose challenges in such a situation because it calculates centroids using the mean, which isn't well-defined for categorical data. Other methods like hierarchical or DBSCAN may be more suitable.

An online retailer wants to create a hierarchical structure of product categories based on product descriptions and features. They want this hierarchy to be easily interpretable and visual. Which clustering approach would be most suitable?

  • Hierarchical Clustering
  • DBSCAN
  • Gaussian Mixture Model (GMM)
  • Affinity Propagation
For creating a hierarchical structure, Hierarchical Clustering is the most suitable approach. It builds a tree-like structure that is interpretable and can be easily visualized. This makes it ideal for organizing product categories based on descriptions and features.