
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
Q2. A bank wants to build a credit-risk model using historical labeled data — customers are labeled as "default" or "non-default." Which ML method should be applied?
A
Unsupervised learning
B
Supervised learning
C
Transfer learning
D
Reinforcement learning
Explanation:
This is a supervised learning problem because:
Labeled Data: The bank has historical data where customers are already labeled as "default" or "non-default." This means the target variable (the outcome we want to predict) is known for the training data.
Classification Task: The problem involves predicting a categorical outcome (default vs. non-default), which is a classic classification problem in supervised learning.
Why not other options:
Unsupervised learning (A): Used when there are no labels in the data (e.g., clustering, anomaly detection).
Transfer learning (C): Involves using knowledge gained from solving one problem to help solve a different but related problem.
Reinforcement learning (D): Involves an agent learning through trial-and-error interactions with an environment to maximize cumulative reward.
In supervised learning, the model learns the relationship between input features (customer characteristics) and output labels (default/non-default) from the labeled training data, then uses this learned pattern to make predictions on new, unseen data.