Question · Python course · Module 9: Machine Learning

KNN

How does the K-Nearest Neighbors algorithm work?

Answer options

  • Uses gradient descent
  • Creates decision trees
  • Classifies based on k nearest neighbors
  • Creates neural networks

You can check the correct answer by solving this task in the CodeWorlds game.