Skip to content

Commit a78a4ed

Browse files
authored
Update build-a-k-nearest-neighbor-model-with-p5js.mdx
1 parent 6779aba commit a78a4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/build-a-k-nearest-neighbor-model-with-p5js/build-a-k-nearest-neighbor-model-with-p5js.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To decide, you compare their stats to characters you've already created. If most
3535
width="30%"
3636
></img>
3737

38-
That's KNN: look at the most similar examples, count the votes, and classify the new datapoint as the majority class. If you'd like to learn more about Machine Learning models and KNN, check out our [ML course](https://www.codedex.io/machine-learning)!
38+
That's KNN: look at the most similar examples, count the votes, and classify the new datapoint as the majority class. If you'd like to learn more about ML models and KNN, check out our [ML course](https://www.codedex.io/machine-learning)!
3939

4040
So what's p5.js?
4141

@@ -49,7 +49,7 @@ We'll create a visual demo of a K-Nearest Neighbor machine learning model using
4949

5050
![](https://i.imgur.com/vc2Iy9j.gif)
5151

52-
Instead of warriors and wizards, our “characters” will simply be red 🔴 and green 🟢 dots scattered on a canvas.
52+
Instead of warriors and wizards, our “characters” will simply be red 🔴 and green 🟢 dots on a canvas.
5353

5454
Each character's "stats" are represented by its position on the canvas. For example, the `x` and `y` coordinates could represent a character's health and strength respectively.
5555

0 commit comments

Comments
 (0)