Skip to content

Commit 46d93de

Browse files
author
xhlulu
committed
Update kNN page
1 parent 5cda611 commit 46d93de

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/python/ml-knn.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ We will train a [k-Nearest Neighbors (kNN)](https://scikit-learn.org/stable/modu
4545

4646
### Display training and test splits
4747

48-
4948
Using Scikit-learn, we first generate synthetic data that form the shape of a moon. We then split it into a training and testing set. Finally, we display the ground truth labels using [a scatter plot](https://plotly.com/python/line-and-scatter/).
5049

5150
In the graph, we display all the negative labels as squares, and positive labels as circles. We differentiate the training and test set by adding a dot to the center of test data.

0 commit comments

Comments
 (0)