Book Image

Hands-On One-shot Learning with Python

By : Shruti Jadon, Ankush Garg
Book Image

Hands-On One-shot Learning with Python

By: Shruti Jadon, Ankush Garg

Overview of this book

One-shot learning has been an active field of research for scientists trying to develop a cognitive machine that mimics human learning. With this book, you'll explore key approaches to one-shot learning, such as metrics-based, model-based, and optimization-based techniques, all with the help of practical examples. Hands-On One-shot Learning with Python will guide you through the exploration and design of deep learning models that can obtain information about an object from one or just a few training samples. The book begins with an overview of deep learning and one-shot learning and then introduces you to the different methods you can use to achieve it, such as deep learning architectures and probabilistic models. Once you've got to grips with the core principles, you'll explore real-world examples and implementations of one-shot learning using PyTorch 1.x on datasets such as Omniglot and MiniImageNet. Finally, you'll explore generative modeling-based methods and discover the key considerations for building systems that exhibit human-level intelligence. By the end of this book, you'll be well-versed with the different one- and few-shot learning methods and be able to use them to build your own deep learning models.
Table of Contents (11 chapters)
1
Section 1: One-shot Learning Introduction
3
Section 2: Deep Learning Architectures
7
Section 3: Other Methods and Conclusion

What this book covers

Chapter 1, Introduction to One-shot Learning, tells us what one-shot learning is and how it works. It also tells us about the human brain's workings and how it translates to machine learning.

Chapter 2, Metrics-Based Methods, explores methods that use different forms of embeddings, and evaluation metrics, by keeping the core as basic k-nearest neighbors.

Chapter 3, Model-Based Methods, explores two architectures whose internal architectures help to train a k-shot learning model.

Chapter 4, Optimization-Based Methods, explores different forms of optimization algorithms, which help in improving accuracy even when the volume of data is low.

Chapter 5, Generative Modeling-Based Methods, explores the development of a Bayesian learning framework based on representing object categories with probabilistic models.

Chapter 6, Conclusions and Other Approaches, goes through certain aspects of architecture, metrics, and algorithms to understand how we can determine whether an approach is close to human brain capability.