ML
    beginner

    K-Nearest Neighbors (KNN) 3D

    algorithms.live

    KNN Parameters

    3

    Predicted Class: Class C (Blue)

    Votes:

    Red: 0 | Green: 0 | Blue: 3

    Test Point Location

    0.00
    0.00
    0.50

    Sphere: Training data

    Cube (wireframe): Test point

    White rings: K nearest neighbors

    Lines: Connections to neighbors

    Display

    0.70
    X
    Y
    Z

    Classify one point with KNN

    Sequence

    Order what KNN does at prediction time.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    5. 5Drop a step here
    5 pieces left to place

    Test your knowledge

    22 questions
    Question 1 of 22
    Score: 0

    How does KNN classify a new data point?

    Interview Questions

    Amazon
    Microsoft
    Adobe
    Google
    Airbnb
    Uber
    Pinterest
    Spotify
    Twitter
    LinkedIn
    Shopify
    Zalando

    Love this visualization?

    Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.

    100% free • No credit card required