Apple Machine Learning Interview Questions
Master your tech interview with our curated database of real questions from top companies.
Construct a Churn-Prediction Pipeline Using Scikit-Learn
Churn Prediction Pipeline in scikit-learn Scenario You are building a churn prediction model for a subscription business. Churn is defined as whether ...
Build leak-safe sklearn model with calibration
You must build an end‑to‑end scikit‑learn pipeline to predict churn_28d at decision time t0 using only features available at or before t0 (no leakage)...
Implement random forest with OOB and imbalance
Implement a Memory-Efficient Random Forest (Binary Classification) Under Constraints You are asked to design and implement a Random Forest for binary ...
Explain CNN shapes, params, and trade-offs
CNN Shapes, Compute, and Design Trade-offs Context You are given an input tensor X with shape H×W×C = 64×64×3. Consider the following convolutional ne...
Implement multi-head self-attention correctly
Implement Multi-Head Self-Attention (from scratch) Context You are given an input tensor X with shape (batch_size, seq_len, d_model). Implement a mult...
Explain annotation agreement and LLM vs human judges
Annotation Agreement Rate: Definition, Measurement, Limitations, and LLM-as-Judge Practices Context In labeling datasets and evaluating models, we oft...