Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On One-shot Learning with Python

You're reading from   Hands-On One-shot Learning with Python Learn to implement fast and accurate deep learning models with fewer training samples using PyTorch

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781838825461
Length 156 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ankush Garg Ankush Garg
Author Profile Icon Ankush Garg
Ankush Garg
Shruti Jadon Shruti Jadon
Author Profile Icon Shruti Jadon
Shruti Jadon
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Overview of Bayesian learning

In this section, we will briefly discuss the idea behind Bayesian learning from a mathematical perspective, which is the core of the probabilistic models for one-shot learning. The overall goal of Bayesian learning is to model the distribution of the parameters, , given the training data, that is, to learn the distribution, .

In the probabilistic view of machine learning, we try to solve the following equation:

In this setting, we try to find the best set of parameters, theta (), that would explain the data. Consequently, we maximize the given equation over :

We can take the logarithm on both sides, which would not affect the optimization problem but makes the math easy and tractable:

We can drop the P(data) from the right side of the data as it is not dependent on θ for the optimization problem, and consequently, the optimization problem...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image