Skip to content

Commit

Permalink
add R
Browse files Browse the repository at this point in the history
  • Loading branch information
jackie840129 committed Jul 6, 2018
1 parent 2670b2a commit 776ac53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lab_2/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ for simplicity). The centroid of each cluster then indicates a visual word.

<img src="./image/hardsum.jpg" alt="hs" width="280px"/> <img src="./image/softsum.jpg" alt="ss" width="280px" /> <img src="./image/softmax.jpg" alt="sm" width="280px"/>

**hint** : You can use `matplotlib.pyplot.bar()` to plot the figure

**hint** : You can use `matplotlib.pyplot.bar()` to plot the figure

4. Finally, We adopt the k-nearest neighbors classifier (**KNN**) to perform classification
using the above BoW features.
Expand Down

0 comments on commit 776ac53

Please sign in to comment.