Write the Cross-Entropy Loss and Compute Precision, Recall and F1

Quick Overview

An ML fundamentals question in two parts: write the cross-entropy loss for binary and multi-class classification and explain why it is used, then compute precision, recall, F1 and accuracy for a described imbalanced classifier. It tests exact formulas, careful arithmetic and metric choice.

Write the Cross-Entropy Loss and Compute Precision, Recall and F1

Company: ByteDance

Role: Applied Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

Overview: An ML fundamentals question in two parts: write the cross-entropy loss for binary and multi-class classification and explain why it is used, then compute precision, recall, F1 and accuracy for a described imbalanced classifier. It tests exact formulas, careful arithmetic and metric choice.

ByteDance logo
ByteDance
Oct 8, 2026
mediumApplied ScientistTechnical ScreenMachine Learning
3
0
Loading...