December 2018
Beginner to intermediate
226 pages
7h 59m
English
In the last section, we saw how Reptile works. Now, we'll understand Reptile better by coding it from scratch. Let's say we have a collection of tasks and the goal of each task is to regress the output of the sine wave given some input. So what do we mean by that?
Let's say y = amplitude*sin(x+phase). The goal of our algorithm is to learn to regress the value of y given x. The value of amplitude is chosen randomly between 0.1 and 5.0 and the value of phase is chosen randomly between 0 and
. So, for each of the tasks, we sample only 10 data points and train the network—that is, for each of the tasks, we sample ...