Nearest Neighbor Model
Basketball example: classify a new player using k-nearest neighbors (hours practiced vs free throw %).
StatusLoad the dataset to get started.
Data Guide
Feature 1
hours practiced (0 to 10,000)
Feature 2
free throw % (0 to 100)
Classes
Starter or Bench
Load Training Data
A dataset of 23 basketball players has been prepared. Loading it makes the data available — the model has not learned anything yet.
23 players
model.log
//Nearest Neighbor Model initialized
//features: [hours_practiced, free_throw_pct]
//classes: Starter | Bench
//k: 3
//────────────────────────────
>Waiting for training data...