Siamese networks

Siamese networks are special types of neural networks and are among the simplest and most popularly used one-shot learning algorithms. As we have learned in the previous section, one-shot learning is a technique where we learn from only one training example per each class. So, siamese networks are predominantly used in applications where we don't have many data points for each of the class.

For instance, let's say we want to build a face recognition model for our organization and say about 500 people are working in our organization. If we want to build our face recognition model using a convolutional neural network (CNN) from scratch then we need many images of all these 500 people, to train the network and attain good accuracy. ...

Get Hands-On Deep Learning Algorithms with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.