What this is: a mock ML coding interview with Daniel, a data science interviewer. Read the module notes first.
Format
- One algorithm to implement from scratch in NumPy, shown on the notepad, plus an extension if time allows.
- Ask clarifying questions first, then outline your approach, then code.
- The code is not executed. Test it by walking a tiny example through by hand.
- Then a short discussion: complexity, choosing k, feature scaling.
Tips
- Clarify inputs, outputs, shapes and the distance metric before coding.
- Write small helper functions and comment array shapes.
- Think out loud the whole time.
No feedback during the interview; your written report arrives after the call.