Hands-On One-shot Learning with Python
eBook - ePub

Hands-On One-shot Learning with Python

Learn to implement fast and accurate deep learning models with fewer training samples using PyTorch

  1. 156 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Hands-On One-shot Learning with Python

Learn to implement fast and accurate deep learning models with fewer training samples using PyTorch

About this book

Get to grips with building powerful deep learning models using PyTorch and scikit-learn

Key Features

  • Learn how you can speed up the deep learning process with one-shot learning
  • Use Python and PyTorch to build state-of-the-art one-shot learning models
  • Explore architectures such as Siamese networks, memory-augmented neural networks, model-agnostic meta-learning, and discriminative k-shot learning

Book Description

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.

What you will learn

  • Get to grips with the fundamental concepts of one- and few-shot learning
  • Work with different deep learning architectures for one-shot learning
  • Understand when to use one-shot and transfer learning, respectively
  • Study the Bayesian network approach for one-shot learning
  • Implement one-shot learning approaches based on metrics, models, and optimization in PyTorch
  • Discover different optimization algorithms that help to improve accuracy even with smaller volumes of data
  • Explore various one-shot learning architectures based on classification and regression

Who this book is for

If you're an AI researcher or a machine learning or deep learning expert looking to explore one-shot learning, this book is for you. It will help you get started with implementing various one-shot techniques to train models faster. Some Python programming experience is necessary to understand the concepts covered in this book.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Hands-On One-shot Learning with Python by Shruti Jadon,Ankush Garg in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. About Packt
  4. Contributors
  5. Preface
  6. Section 1: One-shot Learning Introduction
  7. Introduction to One-shot Learning
  8. Section 2: Deep Learning Architectures
  9. Metrics-Based Methods
  10. Model-Based Methods
  11. Optimization-Based Methods
  12. Section 3: Other Methods and Conclusion
  13. Generative Modeling-Based Methods
  14. Conclusions and Other Approaches
  15. Other Books You May Enjoy