every row of  is a classifier for one of the classes

 

 

 

As we saw above, every row of xi=0 would always give score of zero regardless of the weights, so all lines would be forced to cross the origin.

Interpretation of linear classifiers as template matching. Another interpretation for the weights  corresponds to a template (or sometimes also called a prototype) for one of the classes. The score of each class for an image is then obtained by comparing each template with the image using an inner product (or dot product) one by one to find the one that “fits” best. With this terminology, the linear classifier is doing template matching, where the templates are learned. Another way to think of it is that we are still effectively doing Nearest Neighbor, but instead of having thousands of training images we are only using a single image per class (although we will learn it, and it does not necessarily have to be one of the images in the training set), and we use the (negative) inner product as the distance instead of the L1 or L2 distance.

 

 

 

 

 

http://cs231n.github.io/linear-classify/

 

every row of W is a classifier for one of the classes

相关文章:

  • 2022-02-20
  • 2022-12-23
  • 2021-07-13
  • 2022-02-21
  • 2021-09-02
  • 2021-12-25
  • 2021-12-04
  • 2021-10-04
猜你喜欢
  • 2021-09-09
  • 2021-12-03
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-06-18
相关资源
相似解决方案