Your first model: kNN
Lesson 8 of 18 · DS.Micro
A classifier learns from labeled examples and predicts the label of new ones. kNN looks at the k most similar examples and takes a vote.
Model widgets output a Model, not data. The one that trains and measures is Test and Score: it receives the data and one or more models.
In Orange, Test and Score has two inputs: Data and Learner. A single Test and Score accepts several learners at once.
Connect a kNN to the same Test and Score.
Reach an accuracy (CA) of at least 0.90.
Check yourself
What is 5-fold cross-validation?
- Repeating the same test 5 times to double-check
- Training 5 times, each time testing on a different part of the data
Do it in the browser: a real data science tool, a short mission and instant feedback. No install.
Start this lesson — free