Predicting is someone adolescent based on weight and height with K-Nearest Neighbor

Hello guys I’m making K-Nearest Neighbor Algorithm on Desmos Calculator.

  • Horizontal axis represent weight and vertical axis represent height.
  • There are only two labels those are red color means adult, blue color means not adult.
  • To predict outcome, you can move the K point (green point) to input the weight and height. You can manually set it or just drag the point interactively.
  • You can set how many neighbors depends on your need.

Let’s check it out: https://www.desmos.com/calculator/vwcy7ro0j7