Skip to Content
Hands-On Meta Learning with Python
book

Hands-On Meta Learning with Python

by Sudharsan Ravichandiran
December 2018
Beginner to intermediate
226 pages
7h 59m
English
Packt Publishing
Content preview from Hands-On Meta Learning with Python

Meta-SGD for supervised learning

Now, we'll see how to use Meta-SGD in a supervised learning setting. Like MAML, we can apply Meta-SGD to any of the supervised learning problems, be it regression or classification, that can be trained with gradient descent. First, we need to define the loss function we wish to use. For example, if we're performing classification, we can use cross-entropy as our loss function and, if we're performing regression, we can use mean squared error as our loss function. We can use any loss function suitable for our tasks. Let's go through this step-by-step:

  1. Let's say we have a model parameterized by a parameter ...
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.
Start your free trial

You might also like

Hands-On One-shot Learning with Python

Hands-On One-shot Learning with Python

Shruti Jadon, Ankush Garg
Hands-On Transfer Learning with Python

Hands-On Transfer Learning with Python

Dipanjan Sarkar, Raghav Bali, Tamoghna Ghosh
Python Deep Learning Projects

Python Deep Learning Projects

Matthew Lamons, Rahul Kumar, Abhishek Nagaraja
Advanced Deep Learning with Keras

Advanced Deep Learning with Keras

Rowel Atienza, Neeraj Verma, Valerio Maggio

Publisher Resources

ISBN: 9781789534207Supplemental Content