Goldman Sachs · ML & AI Fundamentals
Evaluate TPR/FPR, sigmoid, and activations
TrueInterview
October 7, 2026 · 1 min read
You are taking a 70-minute assessment that includes several multiple-choice questions on ML fundamentals. Work through the items below, showing calculations when they apply.
1) Confusion matrix versus TPR/FPR
Four candidate confusion matrices for binary classification are provided. In each matrix, rows represent Actual and columns represent Predicted.
Option A
- TP=80, FN=20, FP=10, TN=90
Option B
- TP=45, FN=5, FP=45, TN=5
Option C
- TP=50, FN=50, FP=5, TN=95
Option D
- TP=90, FN=10, FP=30, TN=70
Target requirements:
- True Positive Rate (TPR / Recall) = 0.80
- False Positive Rate (FPR) = 0.10
Question: Which option(s) meet both requirements?
2) Sigmoid neuron computation
A single neuron calculates:
Given:
Question: Compute and to 3 decimal places.
3) Activation functions
Consider these activation functions: sigmoid, tanh, ReLU, Leaky ReLU, softmax.
Questions:
- Which activation function is most often used in the output layer for multi-class single-label classification?
- Give two reasons ReLU-like activations are commonly chosen for hidden layers in deep networks.
- Name one common pitfall of sigmoid/tanh in deep hidden layers and explain why it occurs.
Overview: This question assesses competence in binary classification metrics (confusion matrices, TPR/FPR), basic forward computation in a neural network (sigmoid neuron and output), and knowledge of activation function selection and pitfalls.