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

Quick Answer: 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, 12:00 AM
mediumMachine Learning EngineerTechnical ScreenMachine Learning
292
0
Loading...
Loading comments...