Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kvarada committed Sep 17, 2024
1 parent 5588043 commit c0b7f83
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2916,6 +2916,14 @@
"for idx in test_idx: \n",
" show_nearest_neighbors(idx, nn, Z_valid, X_valid, y_valid)"
]
},
{
"cell_type": "markdown",
"id": "9961525a-1dfe-4f55-a212-18d7bf4460bb",
"metadata": {},
"source": [
"We can use $k$-NNs for more than just classifying images; we can also find the most similar examples in a dataset. You can see how this would be useful in recommendation systems. For instance, if a user is purchasing an item, you can find similar items in the dataset and recommend them to the user! "
]
}
],
"metadata": {
Expand Down

0 comments on commit c0b7f83

Please sign in to comment.