Summary
We started off the chapter by understanding what k-shot learning is. We learned that in n-way k-shot learning, n-way implies the number of classes we have in our dataset and k-shot implies the number of data points we have in each class; and support set and the query set are equivalent to the train and test sets. Then we explored siamese networks. We learned how siamese networks use an identical network to learn the similarity of two inputs.
Followed by this, we learned about prototypical networks, which create a prototypical representation of each class and classify a query point (a new point) based on the distance between the class prototype and the query point. We also learned how relation networks use two different functions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access