Goldman Sachs·Machine Learning Engineer·Online Assessment (OA)
- You're given four confusion matrices for a binary classifier. Which one(s) have a True Positive Rate of 0.80 and a False Positive Rate of 0.10?
- Given weights w=[0.5, -1.0], input x=[2.0, 1.0], and bias b=0, compute the pre-activation z and the sigmoid output to three decimal places.
- For multi-class single-label classification, which activation function belongs in the output layer, and why are ReLU-style activations preferred in hidden layers over sigmoid or tanh?
“Had to actually compute TPR and FPR for each option instead of eyeballing it.”