Skip to content

Commit 11249df

Browse files
Update r/2021-07-21-ml-knn.rmd
Co-authored-by: HammadTheOne <30986043+HammadTheOne@users.noreply.github.com>
1 parent 7046279 commit 11249df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r/2021-07-21-ml-knn.rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ We will train a [k-Nearest Neighbors (kNN)](https://parsnip.tidymodels.org/refer
1414

1515
### Display training and test splits
1616

17-
We get the synthetic data that form the shape of a moon. We then split it into a training and testing set. 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/r/line-and-scatter/).
17+
Using Tidymodels, 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/r/line-and-scatter/).
1818

1919
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.
2020

0 commit comments

Comments
 (0)