Implement 1NN with NumPy

Quick Overview

This question evaluates implementing a 1-nearest-neighbor classifier with NumPy, testing skills in vectorized numerical computation, distance metrics, tie-breaking label handling, and translating algorithms into linear-algebra operations.

Implement 1NN with NumPy

Company: OpenAI

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

Overview: This question evaluates implementing a 1-nearest-neighbor classifier with NumPy, testing skills in vectorized numerical computation, distance metrics, tie-breaking label handling, and translating algorithms into linear-algebra operations.

|Home/Machine Learning/OpenAI
OpenAI logo
OpenAI
May 19, 2026
mediumMachine Learning EngineerTechnical ScreenMachine Learning
317
0
Loading...
Loading comments...