WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:01.950 align:start position:0%
 
Hey<00:00:00.280><c> guys,</c><00:00:00.520><c> welcome</c><00:00:00.800><c> back.</c><00:00:01.080><c> So,</c><00:00:01.360><c> today</c><00:00:01.760><c> in</c>

00:00:01.950 --> 00:00:01.960 align:start position:0%
Hey guys, welcome back. So, today in
 

00:00:01.960 --> 00:00:02.790 align:start position:0%
Hey guys, welcome back. So, today in
this<00:00:02.120><c> video,</c><00:00:02.360><c> we're</c><00:00:02.440><c> going</c><00:00:02.560><c> to</c><00:00:02.600><c> be</c><00:00:02.680><c> talking</c>

00:00:02.790 --> 00:00:02.800 align:start position:0%
this video, we're going to be talking
 

00:00:02.800 --> 00:00:04.350 align:start position:0%
this video, we're going to be talking
about<00:00:02.920><c> machine</c><00:00:03.320><c> learning</c><00:00:03.680><c> and</c><00:00:03.880><c> artificial</c>

00:00:04.350 --> 00:00:04.360 align:start position:0%
about machine learning and artificial
 

00:00:04.360 --> 00:00:05.430 align:start position:0%
about machine learning and artificial
intelligence.<00:00:05.000><c> And</c><00:00:05.080><c> we're</c><00:00:05.160><c> actually</c><00:00:05.320><c> going</c>

00:00:05.430 --> 00:00:05.440 align:start position:0%
intelligence. And we're actually going
 

00:00:05.440 --> 00:00:08.070 align:start position:0%
intelligence. And we're actually going
to<00:00:05.480><c> be</c><00:00:05.560><c> building</c><00:00:06.000><c> an</c><00:00:06.200><c> app</c><00:00:06.600><c> for</c><00:00:06.760><c> the</c><00:00:06.960><c> iPad</c><00:00:07.800><c> that</c>

00:00:08.070 --> 00:00:08.080 align:start position:0%
to be building an app for the iPad that
 

00:00:08.080 --> 00:00:10.430 align:start position:0%
to be building an app for the iPad that
is<00:00:08.320><c> basically</c><00:00:08.680><c> a</c><00:00:08.760><c> clone</c><00:00:09.280><c> of</c><00:00:09.520><c> the</c><00:00:09.800><c> popular</c><00:00:10.120><c> game</c>

00:00:10.430 --> 00:00:10.440 align:start position:0%
is basically a clone of the popular game
 

00:00:10.440 --> 00:00:11.550 align:start position:0%
is basically a clone of the popular game
Flappy<00:00:10.760><c> Bird,</c><00:00:11.000><c> which</c><00:00:11.120><c> I'm</c><00:00:11.240><c> sure</c><00:00:11.400><c> you're</c><00:00:11.480><c> all</c>

00:00:11.550 --> 00:00:11.560 align:start position:0%
Flappy Bird, which I'm sure you're all
 

00:00:11.560 --> 00:00:13.350 align:start position:0%
Flappy Bird, which I'm sure you're all
familiar<00:00:11.880><c> with.</c><00:00:12.480><c> But,</c><00:00:12.800><c> the</c><00:00:12.880><c> difference</c><00:00:13.200><c> is</c>

00:00:13.350 --> 00:00:13.360 align:start position:0%
familiar with. But, the difference is
 

00:00:13.360 --> 00:00:14.430 align:start position:0%
familiar with. But, the difference is
that<00:00:13.480><c> this</c><00:00:13.640><c> game</c><00:00:13.920><c> is</c><00:00:14.040><c> going</c><00:00:14.160><c> to</c><00:00:14.200><c> be</c><00:00:14.280><c> able</c><00:00:14.360><c> to</c>

00:00:14.430 --> 00:00:14.440 align:start position:0%
that this game is going to be able to
 

00:00:14.440 --> 00:00:16.390 align:start position:0%
that this game is going to be able to
teach<00:00:14.680><c> itself</c><00:00:15.120><c> to</c><00:00:15.240><c> play</c><00:00:15.960><c> and</c><00:00:16.240><c> should</c>

00:00:16.390 --> 00:00:16.400 align:start position:0%
teach itself to play and should
 

00:00:16.400 --> 00:00:18.350 align:start position:0%
teach itself to play and should
theoretically<00:00:16.920><c> be</c><00:00:17.040><c> able</c><00:00:17.160><c> to</c><00:00:17.240><c> go</c><00:00:17.400><c> on</c><00:00:17.600><c> forever</c>

00:00:18.350 --> 00:00:18.360 align:start position:0%
theoretically be able to go on forever
 

00:00:18.360 --> 00:00:21.030 align:start position:0%
theoretically be able to go on forever
and<00:00:18.480><c> never</c><00:00:18.720><c> die.</c><00:00:19.000><c> So,</c><00:00:19.680><c> this</c><00:00:19.960><c> will</c><00:00:20.200><c> make</c><00:00:20.440><c> use</c><00:00:20.760><c> of</c>

00:00:21.030 --> 00:00:21.040 align:start position:0%
and never die. So, this will make use of
 

00:00:21.040 --> 00:00:23.110 align:start position:0%
and never die. So, this will make use of
machine<00:00:21.440><c> learning</c><00:00:21.840><c> and</c><00:00:22.440><c> particularly</c>

00:00:23.110 --> 00:00:23.120 align:start position:0%
machine learning and particularly
 

00:00:23.120 --> 00:00:25.070 align:start position:0%
machine learning and particularly
specifically<00:00:23.600><c> neural</c><00:00:23.960><c> networks,</c><00:00:24.720><c> which</c><00:00:25.040><c> is</c>

00:00:25.070 --> 00:00:25.080 align:start position:0%
specifically neural networks, which is
 

00:00:25.080 --> 00:00:26.630 align:start position:0%
specifically neural networks, which is
something<00:00:25.280><c> I've</c><00:00:25.400><c> recently</c><00:00:26.000><c> looked</c><00:00:26.240><c> into</c><00:00:26.520><c> and</c>

00:00:26.630 --> 00:00:26.640 align:start position:0%
something I've recently looked into and
 

00:00:26.640 --> 00:00:28.270 align:start position:0%
something I've recently looked into and
got<00:00:26.760><c> interested</c><00:00:27.200><c> in.</c><00:00:27.320><c> So,</c><00:00:27.920><c> I</c><00:00:28.000><c> thought</c><00:00:28.160><c> this</c>

00:00:28.270 --> 00:00:28.280 align:start position:0%
got interested in. So, I thought this
 

00:00:28.280 --> 00:00:30.150 align:start position:0%
got interested in. So, I thought this
would<00:00:28.360><c> be</c><00:00:28.440><c> a</c><00:00:28.480><c> cool</c><00:00:28.640><c> video</c><00:00:29.080><c> to</c><00:00:29.480><c> talk</c><00:00:29.680><c> about</c><00:00:29.920><c> it.</c>

00:00:30.150 --> 00:00:30.160 align:start position:0%
would be a cool video to talk about it.
 

00:00:30.160 --> 00:00:31.910 align:start position:0%
would be a cool video to talk about it.
It's not<00:00:30.320><c> really</c><00:00:30.520><c> going</c><00:00:30.640><c> to</c><00:00:30.720><c> be</c><00:00:30.760><c> a</c><00:00:30.840><c> tutorial,</c>

00:00:31.910 --> 00:00:31.920 align:start position:0%
It's not really going to be a tutorial,
 

00:00:31.920 --> 00:00:33.070 align:start position:0%
It's not really going to be a tutorial,
but<00:00:32.080><c> I'm</c><00:00:32.119><c> just</c><00:00:32.240><c> going</c><00:00:32.360><c> to</c><00:00:32.439><c> be</c><00:00:32.480><c> showing</c><00:00:32.720><c> kind</c><00:00:32.920><c> of</c>

00:00:33.070 --> 00:00:33.080 align:start position:0%
but I'm just going to be showing kind of
 

00:00:33.080 --> 00:00:34.750 align:start position:0%
but I'm just going to be showing kind of
the<00:00:33.320><c> development</c><00:00:33.760><c> of</c><00:00:33.840><c> this</c><00:00:34.080><c> project</c><00:00:34.560><c> as</c><00:00:34.680><c> a</c>

00:00:34.750 --> 00:00:34.760 align:start position:0%
the development of this project as a
 

00:00:34.760 --> 00:00:36.470 align:start position:0%
the development of this project as a
whole<00:00:35.520><c> and</c><00:00:35.680><c> just</c><00:00:35.840><c> talking</c><00:00:36.040><c> about</c><00:00:36.240><c> some</c><00:00:36.360><c> of</c><00:00:36.440><c> the</c>

00:00:36.470 --> 00:00:36.480 align:start position:0%
whole and just talking about some of the
 

00:00:36.480 --> 00:00:37.750 align:start position:0%
whole and just talking about some of the
things<00:00:36.760><c> that</c><00:00:36.840><c> go</c><00:00:37.000><c> into</c><00:00:37.280><c> it</c><00:00:37.360><c> and</c><00:00:37.440><c> stuff</c><00:00:37.640><c> like</c>

00:00:37.750 --> 00:00:37.760 align:start position:0%
things that go into it and stuff like
 

00:00:37.760 --> 00:00:39.550 align:start position:0%
things that go into it and stuff like
that.<00:00:38.000><c> So,</c><00:00:38.800><c> first</c><00:00:39.000><c> of</c><00:00:39.080><c> all,</c><00:00:39.200><c> for</c><00:00:39.280><c> those</c><00:00:39.440><c> of</c><00:00:39.520><c> you</c>

00:00:39.550 --> 00:00:39.560 align:start position:0%
that. So, first of all, for those of you
 

00:00:39.560 --> 00:00:40.430 align:start position:0%
that. So, first of all, for those of you
who<00:00:39.640><c> don't</c><00:00:39.760><c> know</c><00:00:39.800><c> what</c><00:00:39.920><c> I'm</c><00:00:40.000><c> talking</c><00:00:40.200><c> about</c>

00:00:40.430 --> 00:00:40.440 align:start position:0%
who don't know what I'm talking about
 

00:00:40.440 --> 00:00:44.310 align:start position:0%
who don't know what I'm talking about
already,<00:00:41.320><c> neural</c><00:00:41.600><c> networks</c><00:00:42.800><c> are</c><00:00:43.160><c> essentially</c>

00:00:44.310 --> 00:00:44.320 align:start position:0%
already, neural networks are essentially
 

00:00:44.320 --> 00:00:47.470 align:start position:0%
already, neural networks are essentially
a<00:00:44.960><c> model</c><00:00:45.480><c> that</c><00:00:45.720><c> replicate</c><00:00:46.400><c> kind</c><00:00:46.600><c> of</c><00:00:46.800><c> how</c><00:00:47.120><c> human</c>

00:00:47.470 --> 00:00:47.480 align:start position:0%
a model that replicate kind of how human
 

00:00:47.480 --> 00:00:48.830 align:start position:0%
a model that replicate kind of how human
brain<00:00:47.800><c> works.</c>

00:00:48.830 --> 00:00:48.840 align:start position:0%
brain works.
 

00:00:48.840 --> 00:00:51.270 align:start position:0%
brain works.
And<00:00:49.000><c> you</c><00:00:49.080><c> can</c><00:00:49.240><c> use</c><00:00:49.400><c> them</c><00:00:49.720><c> in</c><00:00:50.000><c> software</c><00:00:50.720><c> to</c>

00:00:51.270 --> 00:00:51.280 align:start position:0%
And you can use them in software to
 

00:00:51.280 --> 00:00:53.190 align:start position:0%
And you can use them in software to
essentially<00:00:51.720><c> solve</c><00:00:52.000><c> a</c><00:00:52.040><c> problem,</c><00:00:52.920><c> but</c><00:00:53.120><c> to</c>

00:00:53.190 --> 00:00:53.200 align:start position:0%
essentially solve a problem, but to
 

00:00:53.200 --> 00:00:54.710 align:start position:0%
essentially solve a problem, but to
adapt<00:00:53.840><c> to</c><00:00:53.960><c> solve</c><00:00:54.160><c> a</c><00:00:54.200><c> problem.</c><00:00:54.480><c> They</c><00:00:54.600><c> can</c>

00:00:54.710 --> 00:00:54.720 align:start position:0%
adapt to solve a problem. They can
 

00:00:54.720 --> 00:00:57.190 align:start position:0%
adapt to solve a problem. They can
basically<00:00:55.240><c> be</c><00:00:55.360><c> applied</c><00:00:55.640><c> to</c><00:00:55.800><c> any</c><00:00:56.000><c> problem.</c>

00:00:57.190 --> 00:00:57.200 align:start position:0%
basically be applied to any problem.
 

00:00:57.200 --> 00:00:59.630 align:start position:0%
basically be applied to any problem.
But,<00:00:58.000><c> in</c><00:00:58.200><c> terms</c><00:00:58.520><c> of</c><00:00:58.640><c> a</c><00:00:58.680><c> visual</c><00:00:59.040><c> problem,</c><00:00:59.480><c> this</c>

00:00:59.630 --> 00:00:59.640 align:start position:0%
But, in terms of a visual problem, this
 

00:00:59.640 --> 00:01:00.990 align:start position:0%
But, in terms of a visual problem, this
is<00:00:59.720><c> why</c><00:00:59.800><c> I'm</c><00:00:59.880><c> using</c><00:01:00.120><c> Flappy</c><00:01:00.440><c> Bird.</c><00:01:00.680><c> So,</c><00:01:00.800><c> if</c><00:01:00.920><c> you</c>

00:01:00.990 --> 00:01:01.000 align:start position:0%
is why I'm using Flappy Bird. So, if you
 

00:01:01.000 --> 00:01:02.830 align:start position:0%
is why I'm using Flappy Bird. So, if you
search<00:01:01.240><c> on</c><00:01:01.360><c> YouTube,</c><00:01:02.120><c> Flappy</c><00:01:02.400><c> Bird</c><00:01:02.600><c> neural</c>

00:01:02.830 --> 00:01:02.840 align:start position:0%
search on YouTube, Flappy Bird neural
 

00:01:02.840 --> 00:01:05.509 align:start position:0%
search on YouTube, Flappy Bird neural
network,<00:01:03.240><c> you'll</c><00:01:03.400><c> see</c><00:01:04.040><c> several</c><00:01:04.320><c> videos</c>

00:01:05.509 --> 00:01:05.519 align:start position:0%
network, you'll see several videos
 

00:01:05.519 --> 00:01:07.430 align:start position:0%
network, you'll see several videos
covering<00:01:06.240><c> similar</c><00:01:06.560><c> things.</c><00:01:06.880><c> So,</c><00:01:07.120><c> also</c><00:01:07.360><c> you</c>

00:01:07.430 --> 00:01:07.440 align:start position:0%
covering similar things. So, also you
 

00:01:07.440 --> 00:01:08.590 align:start position:0%
covering similar things. So, also you
can<00:01:07.560><c> do</c><00:01:07.640><c> this</c><00:01:07.760><c> with</c><00:01:07.840><c> other</c><00:01:08.000><c> games</c><00:01:08.320><c> as</c><00:01:08.440><c> well,</c>

00:01:08.590 --> 00:01:08.600 align:start position:0%
can do this with other games as well,
 

00:01:08.600 --> 00:01:09.870 align:start position:0%
can do this with other games as well,
but<00:01:08.800><c> Flappy</c><00:01:09.040><c> Bird</c><00:01:09.200><c> is</c><00:01:09.280><c> just</c><00:01:09.400><c> a</c><00:01:09.440><c> very</c><00:01:09.640><c> very</c>

00:01:09.870 --> 00:01:09.880 align:start position:0%
but Flappy Bird is just a very very
 

00:01:09.880 --> 00:01:12.150 align:start position:0%
but Flappy Bird is just a very very
basic<00:01:10.320><c> simple</c><00:01:10.640><c> one</c><00:01:10.760><c> to</c><00:01:10.840><c> get</c><00:01:11.000><c> started</c><00:01:11.320><c> with.</c>

00:01:12.150 --> 00:01:12.160 align:start position:0%
basic simple one to get started with.
 

00:01:12.160 --> 00:01:13.470 align:start position:0%
basic simple one to get started with.
And<00:01:12.360><c> you</c><00:01:12.440><c> can</c><00:01:12.560><c> see</c><00:01:12.760><c> that</c><00:01:12.880><c> these</c><00:01:13.040><c> videos</c><00:01:13.360><c> here</c>

00:01:13.470 --> 00:01:13.480 align:start position:0%
And you can see that these videos here
 

00:01:13.480 --> 00:01:16.670 align:start position:0%
And you can see that these videos here
basically<00:01:14.320><c> show</c><00:01:15.240><c> a</c><00:01:15.320><c> Flappy</c><00:01:15.640><c> Bird</c><00:01:15.840><c> clone</c><00:01:16.560><c> and</c>

00:01:16.670 --> 00:01:16.680 align:start position:0%
basically show a Flappy Bird clone and
 

00:01:16.680 --> 00:01:18.870 align:start position:0%
basically show a Flappy Bird clone and
then<00:01:16.800><c> they</c><00:01:17.040><c> show</c><00:01:17.320><c> the</c><00:01:17.440><c> process</c><00:01:18.000><c> of</c><00:01:18.400><c> training</c><00:01:18.800><c> a</c>

00:01:18.870 --> 00:01:18.880 align:start position:0%
then they show the process of training a
 

00:01:18.880 --> 00:01:20.710 align:start position:0%
then they show the process of training a
neural<00:01:19.120><c> network</c><00:01:19.680><c> to</c><00:01:19.800><c> play</c><00:01:20.080><c> Flappy</c><00:01:20.360><c> Bird.</c><00:01:20.600><c> So,</c>

00:01:20.710 --> 00:01:20.720 align:start position:0%
neural network to play Flappy Bird. So,
 

00:01:20.720 --> 00:01:23.830 align:start position:0%
neural network to play Flappy Bird. So,
it<00:01:20.840><c> starts</c><00:01:21.240><c> off</c><00:01:21.560><c> with</c><00:01:22.240><c> having</c><00:01:22.520><c> several</c><00:01:22.960><c> birds</c>

00:01:23.830 --> 00:01:23.840 align:start position:0%
it starts off with having several birds
 

00:01:23.840 --> 00:01:25.230 align:start position:0%
it starts off with having several birds
who<00:01:24.160><c> have</c><00:01:24.360><c> no</c><00:01:24.520><c> clue</c><00:01:24.720><c> what</c><00:01:24.840><c> they're</c><00:01:24.920><c> doing</c><00:01:25.160><c> in</c>

00:01:25.230 --> 00:01:25.240 align:start position:0%
who have no clue what they're doing in
 

00:01:25.240 --> 00:01:26.430 align:start position:0%
who have no clue what they're doing in
the<00:01:25.320><c> game.</c><00:01:25.560><c> They</c><00:01:25.640><c> don't</c><00:01:25.840><c> know</c><00:01:25.920><c> anything</c><00:01:26.200><c> about</c>

00:01:26.430 --> 00:01:26.440 align:start position:0%
the game. They don't know anything about
 

00:01:26.440 --> 00:01:27.430 align:start position:0%
the game. They don't know anything about
the<00:01:26.520><c> environment</c><00:01:27.040><c> and</c><00:01:27.120><c> they</c><00:01:27.200><c> don't</c><00:01:27.360><c> they</c>

00:01:27.430 --> 00:01:27.440 align:start position:0%
the environment and they don't they
 

00:01:27.440 --> 00:01:29.110 align:start position:0%
the environment and they don't they
don't<00:01:27.560><c> know</c><00:01:27.680><c> the</c><00:01:27.760><c> rules</c><00:01:28.000><c> of</c><00:01:28.040><c> the</c><00:01:28.120><c> game.</c><00:01:28.880><c> And</c>

00:01:29.110 --> 00:01:29.120 align:start position:0%
don't know the rules of the game. And
 

00:01:29.120 --> 00:01:31.270 align:start position:0%
don't know the rules of the game. And
they<00:01:29.200><c> basically</c><00:01:30.000><c> play</c><00:01:30.520><c> and</c><00:01:30.680><c> they</c><00:01:30.760><c> just</c><00:01:31.000><c> jump</c>

00:01:31.270 --> 00:01:31.280 align:start position:0%
they basically play and they just jump
 

00:01:31.280 --> 00:01:33.750 align:start position:0%
they basically play and they just jump
and<00:01:31.440><c> die</c><00:01:31.680><c> initially.</c><00:01:32.680><c> But,</c><00:01:32.880><c> over</c><00:01:33.080><c> time,</c><00:01:33.680><c> the</c>

00:01:33.750 --> 00:01:33.760 align:start position:0%
and die initially. But, over time, the
 

00:01:33.760 --> 00:01:35.430 align:start position:0%
and die initially. But, over time, the
birds<00:01:34.040><c> get</c><00:01:34.240><c> smarter</c><00:01:34.680><c> and</c><00:01:34.760><c> smarter</c><00:01:35.240><c> and</c>

00:01:35.430 --> 00:01:35.440 align:start position:0%
birds get smarter and smarter and
 

00:01:35.440 --> 00:01:37.030 align:start position:0%
birds get smarter and smarter and
eventually<00:01:36.200><c> they</c><00:01:36.320><c> can</c><00:01:36.440><c> play</c><00:01:36.640><c> the</c><00:01:36.720><c> game</c>

00:01:37.030 --> 00:01:37.040 align:start position:0%
eventually they can play the game
 

00:01:37.040 --> 00:01:38.110 align:start position:0%
eventually they can play the game
without<00:01:37.280><c> ever</c><00:01:37.480><c> dying.</c><00:01:37.800><c> So,</c><00:01:37.880><c> they</c><00:01:37.960><c> just</c>

00:01:38.110 --> 00:01:38.120 align:start position:0%
without ever dying. So, they just
 

00:01:38.120 --> 00:01:39.910 align:start position:0%
without ever dying. So, they just
continue<00:01:38.520><c> forever.</c>

00:01:39.910 --> 00:01:39.920 align:start position:0%
continue forever.
 

00:01:39.920 --> 00:01:40.750 align:start position:0%
continue forever.
And<00:01:40.080><c> that's</c><00:01:40.240><c> what</c><00:01:40.400><c> we're</c><00:01:40.480><c> going</c><00:01:40.600><c> to</c><00:01:40.640><c> be</c>

00:01:40.750 --> 00:01:40.760 align:start position:0%
And that's what we're going to be
 

00:01:40.760 --> 00:01:41.910 align:start position:0%
And that's what we're going to be
looking<00:01:41.040><c> at</c><00:01:41.120><c> into</c><00:01:41.360><c> the</c><00:01:41.480><c> in</c><00:01:41.560><c> this</c><00:01:41.720><c> video.</c>

00:01:41.910 --> 00:01:41.920 align:start position:0%
looking at into the in this video.
 

00:01:41.920 --> 00:01:43.150 align:start position:0%
looking at into the in this video.
That's<00:01:42.080><c> what</c><00:01:42.200><c> we're</c><00:01:42.280><c> going</c><00:01:42.400><c> to</c><00:01:42.440><c> be</c><00:01:42.520><c> building</c>

00:01:43.150 --> 00:01:43.160 align:start position:0%
That's what we're going to be building
 

00:01:43.160 --> 00:01:45.430 align:start position:0%
That's what we're going to be building
for<00:01:43.760><c> the</c><00:01:43.920><c> iPad.</c><00:01:44.280><c> So,</c><00:01:44.920><c> first</c><00:01:45.160><c> of</c><00:01:45.240><c> all,</c><00:01:45.360><c> for</c>

00:01:45.430 --> 00:01:45.440 align:start position:0%
for the iPad. So, first of all, for
 

00:01:45.440 --> 00:01:46.550 align:start position:0%
for the iPad. So, first of all, for
those<00:01:45.640><c> of</c><00:01:45.720><c> you</c><00:01:45.840><c> who</c><00:01:45.920><c> have</c><00:01:46.040><c> not</c><00:01:46.280><c> looked</c><00:01:46.480><c> at</c>

00:01:46.550 --> 00:01:46.560 align:start position:0%
those of you who have not looked at
 

00:01:46.560 --> 00:01:47.990 align:start position:0%
those of you who have not looked at
neural<00:01:46.720><c> networks</c><00:01:47.040><c> before,</c><00:01:47.720><c> we're</c><00:01:47.800><c> going</c><00:01:47.920><c> to</c>

00:01:47.990 --> 00:01:48.000 align:start position:0%
neural networks before, we're going to
 

00:01:48.000 --> 00:01:50.430 align:start position:0%
neural networks before, we're going to
look<00:01:48.160><c> up</c><00:01:48.640><c> some</c><00:01:48.800><c> quick</c><00:01:49.040><c> diagrams</c><00:01:50.040><c> so</c><00:01:50.240><c> you</c><00:01:50.320><c> can</c>

00:01:50.430 --> 00:01:50.440 align:start position:0%
look up some quick diagrams so you can
 

00:01:50.440 --> 00:01:52.470 align:start position:0%
look up some quick diagrams so you can
actually<00:01:50.600><c> see</c><00:01:50.800><c> how</c><00:01:50.960><c> this</c><00:01:51.120><c> structure</c><00:01:51.640><c> is</c><00:01:52.200><c> and</c>

00:01:52.470 --> 00:01:52.480 align:start position:0%
actually see how this structure is and
 

00:01:52.480 --> 00:01:53.790 align:start position:0%
actually see how this structure is and
see<00:01:52.640><c> basically</c><00:01:52.920><c> how</c><00:01:53.040><c> they</c><00:01:53.160><c> work.</c><00:01:53.480><c> So,</c><00:01:53.600><c> if</c><00:01:53.720><c> you</c>

00:01:53.790 --> 00:01:53.800 align:start position:0%
see basically how they work. So, if you
 

00:01:53.800 --> 00:01:55.670 align:start position:0%
see basically how they work. So, if you
search<00:01:54.200><c> neural</c><00:01:54.480><c> network,</c><00:01:55.320><c> you'll</c><00:01:55.440><c> find</c><00:01:55.640><c> the</c>

00:01:55.670 --> 00:01:55.680 align:start position:0%
search neural network, you'll find the
 

00:01:55.680 --> 00:01:57.270 align:start position:0%
search neural network, you'll find the
definition<00:01:56.160><c> obviously.</c><00:01:56.480><c> You</c><00:01:56.520><c> can</c><00:01:56.640><c> see</c><00:01:56.760><c> there</c>

00:01:57.270 --> 00:01:57.280 align:start position:0%
definition obviously. You can see there
 

00:01:57.280 --> 00:01:58.750 align:start position:0%
definition obviously. You can see there
it's<00:01:57.480><c> modeled</c><00:01:57.800><c> on</c><00:01:57.880><c> the</c><00:01:57.960><c> human</c><00:01:58.320><c> brain</c><00:01:58.640><c> and</c>

00:01:58.750 --> 00:01:58.760 align:start position:0%
it's modeled on the human brain and
 

00:01:58.760 --> 00:02:00.070 align:start position:0%
it's modeled on the human brain and
nervous<00:01:59.080><c> system.</c>

00:02:00.070 --> 00:02:00.080 align:start position:0%
nervous system.
 

00:02:00.080 --> 00:02:02.030 align:start position:0%
nervous system.
And<00:02:00.280><c> if</c><00:02:00.360><c> we</c><00:02:00.440><c> go</c><00:02:00.560><c> on</c><00:02:00.680><c> images,</c><00:02:01.360><c> you</c><00:02:01.520><c> will</c><00:02:01.640><c> see</c>

00:02:02.030 --> 00:02:02.040 align:start position:0%
And if we go on images, you will see
 

00:02:02.040 --> 00:02:03.950 align:start position:0%
And if we go on images, you will see
various<00:02:02.680><c> diagrams</c><00:02:03.200><c> that</c><00:02:03.360><c> look</c><00:02:03.560><c> like</c><00:02:03.760><c> this.</c>

00:02:03.950 --> 00:02:03.960 align:start position:0%
various diagrams that look like this.
 

00:02:03.960 --> 00:02:06.390 align:start position:0%
various diagrams that look like this.
So,<00:02:04.080><c> we</c><00:02:04.240><c> have</c><00:02:04.840><c> several</c><00:02:05.440><c> nodes,</c><00:02:06.120><c> which</c><00:02:06.320><c> are</c>

00:02:06.390 --> 00:02:06.400 align:start position:0%
So, we have several nodes, which are
 

00:02:06.400 --> 00:02:08.230 align:start position:0%
So, we have several nodes, which are
just<00:02:06.560><c> these</c><00:02:06.760><c> circles.</c><00:02:07.720><c> And</c><00:02:07.800><c> then</c><00:02:07.880><c> we</c><00:02:08.000><c> have</c>

00:02:08.230 --> 00:02:08.240 align:start position:0%
just these circles. And then we have
 

00:02:08.240 --> 00:02:09.990 align:start position:0%
just these circles. And then we have
these<00:02:08.479><c> lines</c><00:02:08.800><c> between</c><00:02:09.200><c> the</c><00:02:09.360><c> nodes,</c><00:02:09.679><c> which</c><00:02:09.880><c> are</c>

00:02:09.990 --> 00:02:10.000 align:start position:0%
these lines between the nodes, which are
 

00:02:10.000 --> 00:02:11.670 align:start position:0%
these lines between the nodes, which are
connections.

00:02:11.670 --> 00:02:11.680 align:start position:0%
connections.
 

00:02:11.680 --> 00:02:13.470 align:start position:0%
connections.
So,<00:02:12.040><c> you</c><00:02:12.160><c> have</c><00:02:12.400><c> several</c><00:02:12.720><c> layers</c><00:02:13.000><c> of</c><00:02:13.080><c> nodes</c><00:02:13.400><c> in</c>

00:02:13.470 --> 00:02:13.480 align:start position:0%
So, you have several layers of nodes in
 

00:02:13.480 --> 00:02:14.790 align:start position:0%
So, you have several layers of nodes in
a<00:02:13.520><c> network.</c><00:02:14.000><c> So,</c><00:02:14.120><c> for</c><00:02:14.240><c> example,</c><00:02:14.560><c> in</c><00:02:14.640><c> this</c>

00:02:14.790 --> 00:02:14.800 align:start position:0%
a network. So, for example, in this
 

00:02:14.800 --> 00:02:17.190 align:start position:0%
a network. So, for example, in this
network,<00:02:15.120><c> we</c><00:02:15.200><c> have</c><00:02:15.400><c> four</c><00:02:15.600><c> layers.</c><00:02:16.600><c> And</c><00:02:17.080><c> then</c>

00:02:17.190 --> 00:02:17.200 align:start position:0%
network, we have four layers. And then
 

00:02:17.200 --> 00:02:18.470 align:start position:0%
network, we have four layers. And then
we<00:02:17.280><c> have</c><00:02:17.400><c> an</c><00:02:17.520><c> input</c><00:02:17.800><c> layer</c><00:02:18.040><c> here,</c><00:02:18.200><c> which</c><00:02:18.400><c> is</c>

00:02:18.470 --> 00:02:18.480 align:start position:0%
we have an input layer here, which is
 

00:02:18.480 --> 00:02:20.510 align:start position:0%
we have an input layer here, which is
the<00:02:18.560><c> green</c><00:02:18.800><c> one.</c><00:02:19.280><c> We</c><00:02:19.400><c> have</c><00:02:19.640><c> in</c><00:02:19.720><c> this</c><00:02:19.880><c> case</c><00:02:20.200><c> two</c>

00:02:20.510 --> 00:02:20.520 align:start position:0%
the green one. We have in this case two
 

00:02:20.520 --> 00:02:22.070 align:start position:0%
the green one. We have in this case two
hidden<00:02:20.880><c> layers,</c>

00:02:22.070 --> 00:02:22.080 align:start position:0%
hidden layers,
 

00:02:22.080 --> 00:02:23.190 align:start position:0%
hidden layers,
which<00:02:22.240><c> are</c><00:02:22.280><c> the</c><00:02:22.400><c> orange</c><00:02:22.640><c> ones.</c><00:02:22.880><c> And</c><00:02:23.000><c> then</c><00:02:23.080><c> we</c>

00:02:23.190 --> 00:02:23.200 align:start position:0%
which are the orange ones. And then we
 

00:02:23.200 --> 00:02:25.550 align:start position:0%
which are the orange ones. And then we
have<00:02:23.320><c> some</c><00:02:23.520><c> output</c><00:02:23.960><c> nodes</c><00:02:24.560><c> on</c><00:02:24.840><c> the</c><00:02:25.240><c> the</c><00:02:25.360><c> blue</c>

00:02:25.550 --> 00:02:25.560 align:start position:0%
have some output nodes on the the blue
 

00:02:25.560 --> 00:02:27.470 align:start position:0%
have some output nodes on the the blue
ones.<00:02:26.280><c> For</c><00:02:26.520><c> the</c><00:02:26.640><c> Flappy</c><00:02:26.920><c> Bird</c><00:02:27.080><c> one</c><00:02:27.240><c> that</c><00:02:27.360><c> we're</c>

00:02:27.470 --> 00:02:27.480 align:start position:0%
ones. For the Flappy Bird one that we're
 

00:02:27.480 --> 00:02:28.870 align:start position:0%
ones. For the Flappy Bird one that we're
going<00:02:27.600><c> to</c><00:02:27.640><c> be</c><00:02:27.720><c> building,</c><00:02:28.360><c> I've</c><00:02:28.520><c> seen</c><00:02:28.720><c> people</c>

00:02:28.870 --> 00:02:28.880 align:start position:0%
going to be building, I've seen people
 

00:02:28.880 --> 00:02:30.830 align:start position:0%
going to be building, I've seen people
do<00:02:29.000><c> this</c><00:02:29.160><c> slightly</c><00:02:29.440><c> different</c><00:02:29.720><c> ways,</c><00:02:30.080><c> but</c><00:02:30.720><c> for</c>

00:02:30.830 --> 00:02:30.840 align:start position:0%
do this slightly different ways, but for
 

00:02:30.840 --> 00:02:32.870 align:start position:0%
do this slightly different ways, but for
the<00:02:30.960><c> one</c><00:02:31.600><c> for</c><00:02:31.720><c> in</c><00:02:31.840><c> in</c><00:02:31.960><c> this</c><00:02:32.120><c> example,</c><00:02:32.680><c> the</c><00:02:32.760><c> way</c>

00:02:32.870 --> 00:02:32.880 align:start position:0%
the one for in in this example, the way
 

00:02:32.880 --> 00:02:33.830 align:start position:0%
the one for in in this example, the way
I'm<00:02:32.960><c> going</c><00:02:33.080><c> to</c><00:02:33.160><c> be</c><00:02:33.200><c> doing</c><00:02:33.400><c> it</c><00:02:33.480><c> is</c><00:02:33.560><c> I'm</c><00:02:33.640><c> going</c><00:02:33.760><c> to</c>

00:02:33.830 --> 00:02:33.840 align:start position:0%
I'm going to be doing it is I'm going to
 

00:02:33.840 --> 00:02:36.630 align:start position:0%
I'm going to be doing it is I'm going to
have<00:02:34.160><c> a</c><00:02:34.240><c> neural</c><00:02:34.480><c> network</c><00:02:34.880><c> with</c><00:02:35.440><c> three</c><00:02:35.960><c> layers.</c>

00:02:36.630 --> 00:02:36.640 align:start position:0%
have a neural network with three layers.
 

00:02:36.640 --> 00:02:38.230 align:start position:0%
have a neural network with three layers.
So,<00:02:36.720><c> we're</c><00:02:36.800><c> going</c><00:02:36.920><c> to</c><00:02:36.960><c> have</c><00:02:37.120><c> one</c><00:02:37.360><c> input</c><00:02:37.720><c> layer,</c>

00:02:38.230 --> 00:02:38.240 align:start position:0%
So, we're going to have one input layer,
 

00:02:38.240 --> 00:02:40.310 align:start position:0%
So, we're going to have one input layer,
a<00:02:38.320><c> hidden</c><00:02:38.600><c> layer,</c><00:02:38.800><c> and</c><00:02:38.880><c> an</c><00:02:39.000><c> output</c><00:02:39.320><c> layer.</c>

00:02:40.310 --> 00:02:40.320 align:start position:0%
a hidden layer, and an output layer.
 

00:02:40.320 --> 00:02:43.270 align:start position:0%
a hidden layer, and an output layer.
The<00:02:40.600><c> input</c><00:02:40.960><c> layer</c><00:02:41.400><c> will</c><00:02:41.560><c> have</c><00:02:42.120><c> four</c><00:02:42.440><c> nodes,</c>

00:02:43.270 --> 00:02:43.280 align:start position:0%
The input layer will have four nodes,
 

00:02:43.280 --> 00:02:45.630 align:start position:0%
The input layer will have four nodes,
and<00:02:43.440><c> each</c><00:02:43.600><c> of</c><00:02:43.680><c> these</c><00:02:43.880><c> nodes</c><00:02:44.400><c> will</c><00:02:44.640><c> be</c><00:02:45.280><c> a</c><00:02:45.360><c> piece</c>

00:02:45.630 --> 00:02:45.640 align:start position:0%
and each of these nodes will be a piece
 

00:02:45.640 --> 00:02:48.990 align:start position:0%
and each of these nodes will be a piece
of<00:02:45.760><c> data</c><00:02:46.680><c> that</c><00:02:47.080><c> the</c><00:02:47.240><c> bird</c><00:02:47.600><c> needs</c><00:02:47.840><c> to</c><00:02:47.960><c> interpret</c>

00:02:48.990 --> 00:02:49.000 align:start position:0%
of data that the bird needs to interpret
 

00:02:49.000 --> 00:02:50.830 align:start position:0%
of data that the bird needs to interpret
in<00:02:49.200><c> order</c><00:02:49.440><c> to</c><00:02:49.760><c> be</c><00:02:49.840><c> able</c><00:02:49.960><c> to</c><00:02:50.040><c> successfully</c><00:02:50.640><c> play</c>

00:02:50.830 --> 00:02:50.840 align:start position:0%
in order to be able to successfully play
 

00:02:50.840 --> 00:02:52.670 align:start position:0%
in order to be able to successfully play
the<00:02:50.960><c> game.</c><00:02:51.280><c> So,</c><00:02:51.440><c> these</c><00:02:51.720><c> four</c><00:02:52.320><c> these</c><00:02:52.520><c> four</c>

00:02:52.670 --> 00:02:52.680 align:start position:0%
the game. So, these four these four
 

00:02:52.680 --> 00:02:54.470 align:start position:0%
the game. So, these four these four
pieces<00:02:52.880><c> of</c><00:02:52.960><c> data</c><00:02:53.200><c> will</c><00:02:53.360><c> be</c><00:02:53.960><c> first</c><00:02:54.200><c> of</c><00:02:54.280><c> all,</c><00:02:54.360><c> the</c>

00:02:54.470 --> 00:02:54.480 align:start position:0%
pieces of data will be first of all, the
 

00:02:54.480 --> 00:02:56.070 align:start position:0%
pieces of data will be first of all, the
height<00:02:54.800><c> of</c><00:02:54.920><c> the</c><00:02:55.000><c> bird.</c>

00:02:56.070 --> 00:02:56.080 align:start position:0%
height of the bird.
 

00:02:56.080 --> 00:02:58.710 align:start position:0%
height of the bird.
So,<00:02:56.400><c> how</c><00:02:56.760><c> it's</c><00:02:56.880><c> basically</c><00:02:57.160><c> the</c><00:02:57.280><c> Y</c><00:02:58.280><c> position</c><00:02:58.640><c> of</c>

00:02:58.710 --> 00:02:58.720 align:start position:0%
So, how it's basically the Y position of
 

00:02:58.720 --> 00:03:01.230 align:start position:0%
So, how it's basically the Y position of
the<00:02:58.800><c> bird</c><00:02:59.120><c> up</c><00:02:59.360><c> up</c><00:02:59.480><c> and</c><00:02:59.560><c> down</c><00:02:59.720><c> the</c><00:02:59.800><c> screen.</c><00:03:00.640><c> Then</c>

00:03:01.230 --> 00:03:01.240 align:start position:0%
the bird up up and down the screen. Then
 

00:03:01.240 --> 00:03:03.710 align:start position:0%
the bird up up and down the screen. Then
it<00:03:01.320><c> will</c><00:03:01.440><c> be</c><00:03:02.160><c> the</c><00:03:02.640><c> distance</c><00:03:03.280><c> across</c><00:03:03.600><c> the</c>

00:03:03.710 --> 00:03:03.720 align:start position:0%
it will be the distance across the
 

00:03:03.720 --> 00:03:05.430 align:start position:0%
it will be the distance across the
screen<00:03:04.200><c> of</c><00:03:04.440><c> the</c><00:03:04.560><c> pipe.</c><00:03:04.960><c> So,</c><00:03:05.080><c> the</c><00:03:05.160><c> pipe</c>

00:03:05.430 --> 00:03:05.440 align:start position:0%
screen of the pipe. So, the pipe
 

00:03:05.440 --> 00:03:07.070 align:start position:0%
screen of the pipe. So, the pipe
obviously<00:03:05.720><c> will</c><00:03:05.840><c> move.</c><00:03:06.400><c> So,</c><00:03:06.480><c> it'll</c><00:03:06.600><c> be</c><00:03:06.680><c> the</c><00:03:06.840><c> X</c>

00:03:07.070 --> 00:03:07.080 align:start position:0%
obviously will move. So, it'll be the X
 

00:03:07.080 --> 00:03:08.790 align:start position:0%
obviously will move. So, it'll be the X
position<00:03:07.480><c> of</c><00:03:07.600><c> the</c><00:03:07.720><c> pipe.</c>

00:03:08.790 --> 00:03:08.800 align:start position:0%
position of the pipe.
 

00:03:08.800 --> 00:03:11.990 align:start position:0%
position of the pipe.
And<00:03:09.040><c> then</c><00:03:09.120><c> it</c><00:03:09.200><c> will</c><00:03:09.280><c> be</c><00:03:09.520><c> the</c><00:03:10.120><c> top</c><00:03:10.640><c> and</c><00:03:10.880><c> bottom</c>

00:03:11.990 --> 00:03:12.000 align:start position:0%
And then it will be the top and bottom
 

00:03:12.000 --> 00:03:14.390 align:start position:0%
And then it will be the top and bottom
heights<00:03:12.400><c> of</c><00:03:12.480><c> the</c><00:03:12.560><c> pipes.</c><00:03:12.880><c> So,</c><00:03:12.960><c> the</c><00:03:13.080><c> two</c><00:03:13.280><c> pipes</c>

00:03:14.390 --> 00:03:14.400 align:start position:0%
heights of the pipes. So, the two pipes
 

00:03:14.400 --> 00:03:15.670 align:start position:0%
heights of the pipes. So, the two pipes
the<00:03:14.520><c> height</c><00:03:14.840><c> of</c><00:03:14.920><c> the</c><00:03:15.000><c> top</c><00:03:15.240><c> one</c><00:03:15.360><c> and</c><00:03:15.440><c> the</c><00:03:15.520><c> height</c>

00:03:15.670 --> 00:03:15.680 align:start position:0%
the height of the top one and the height
 

00:03:15.680 --> 00:03:16.630 align:start position:0%
the height of the top one and the height
of<00:03:15.760><c> the</c><00:03:15.800><c> bottom</c><00:03:16.040><c> one.</c><00:03:16.160><c> So,</c><00:03:16.240><c> that</c><00:03:16.400><c> they'll</c><00:03:16.520><c> be</c>

00:03:16.630 --> 00:03:16.640 align:start position:0%
of the bottom one. So, that they'll be
 

00:03:16.640 --> 00:03:17.990 align:start position:0%
of the bottom one. So, that they'll be
the<00:03:16.720><c> four</c><00:03:16.920><c> inputs.</c>

00:03:17.990 --> 00:03:18.000 align:start position:0%
the four inputs.
 

00:03:18.000 --> 00:03:20.190 align:start position:0%
the four inputs.
And<00:03:18.760><c> the</c><00:03:18.880><c> middle</c><00:03:19.280><c> layer</c><00:03:19.560><c> is</c><00:03:19.640><c> going</c><00:03:19.760><c> to</c><00:03:19.840><c> have</c>

00:03:20.190 --> 00:03:20.200 align:start position:0%
And the middle layer is going to have
 

00:03:20.200 --> 00:03:23.150 align:start position:0%
And the middle layer is going to have
six<00:03:20.600><c> nodes</c><00:03:20.960><c> on</c><00:03:21.080><c> it.</c><00:03:21.840><c> And</c><00:03:22.400><c> then</c><00:03:22.640><c> the</c><00:03:22.800><c> output</c>

00:03:23.150 --> 00:03:23.160 align:start position:0%
six nodes on it. And then the output
 

00:03:23.160 --> 00:03:24.470 align:start position:0%
six nodes on it. And then the output
layer<00:03:23.360><c> will</c><00:03:23.480><c> only</c><00:03:23.680><c> have</c><00:03:23.800><c> a</c><00:03:23.880><c> single</c><00:03:24.240><c> node</c>

00:03:24.470 --> 00:03:24.480 align:start position:0%
layer will only have a single node
 

00:03:24.480 --> 00:03:25.790 align:start position:0%
layer will only have a single node
because<00:03:24.760><c> all</c><00:03:24.840><c> we</c><00:03:24.920><c> need</c><00:03:25.080><c> to</c><00:03:25.160><c> do</c><00:03:25.360><c> for</c><00:03:25.480><c> this</c>

00:03:25.790 --> 00:03:25.800 align:start position:0%
because all we need to do for this
 

00:03:25.800 --> 00:03:27.270 align:start position:0%
because all we need to do for this
problem<00:03:26.160><c> is</c><00:03:26.280><c> to</c><00:03:26.360><c> basically</c><00:03:26.720><c> determine</c>

00:03:27.270 --> 00:03:27.280 align:start position:0%
problem is to basically determine
 

00:03:27.280 --> 00:03:29.190 align:start position:0%
problem is to basically determine
whether<00:03:27.560><c> or</c><00:03:27.640><c> not</c><00:03:27.840><c> the</c><00:03:27.920><c> bird</c><00:03:28.440><c> is</c><00:03:28.560><c> going</c><00:03:28.680><c> to</c><00:03:28.800><c> jump</c>

00:03:29.190 --> 00:03:29.200 align:start position:0%
whether or not the bird is going to jump
 

00:03:29.200 --> 00:03:31.310 align:start position:0%
whether or not the bird is going to jump
or<00:03:29.280><c> not.</c><00:03:29.520><c> So,</c><00:03:29.600><c> we</c><00:03:29.680><c> don't</c><00:03:29.840><c> actually</c><00:03:30.040><c> need</c><00:03:30.320><c> any</c>

00:03:31.310 --> 00:03:31.320 align:start position:0%
or not. So, we don't actually need any
 

00:03:31.320 --> 00:03:33.310 align:start position:0%
or not. So, we don't actually need any
any<00:03:31.480><c> more</c><00:03:31.680><c> than</c><00:03:31.840><c> one</c><00:03:32.080><c> node</c><00:03:32.400><c> because</c><00:03:33.040><c> we</c><00:03:33.200><c> can</c>

00:03:33.310 --> 00:03:33.320 align:start position:0%
any more than one node because we can
 

00:03:33.320 --> 00:03:34.590 align:start position:0%
any more than one node because we can
have<00:03:33.560><c> this</c>

00:03:34.590 --> 00:03:34.600 align:start position:0%
have this
 

00:03:34.600 --> 00:03:36.350 align:start position:0%
have this
this<00:03:34.800><c> output</c><00:03:35.160><c> if</c><00:03:35.280><c> it</c><00:03:35.400><c> comes</c><00:03:35.640><c> out</c><00:03:35.760><c> as</c><00:03:35.880><c> more</c><00:03:36.120><c> than</c>

00:03:36.350 --> 00:03:36.360 align:start position:0%
this output if it comes out as more than
 

00:03:36.360 --> 00:03:38.790 align:start position:0%
this output if it comes out as more than
0.5,<00:03:37.360><c> then</c><00:03:37.480><c> we</c><00:03:37.560><c> can</c><00:03:37.720><c> say</c><00:03:38.240><c> we</c><00:03:38.360><c> want</c><00:03:38.480><c> the</c><00:03:38.560><c> bird</c><00:03:38.720><c> to</c>

00:03:38.790 --> 00:03:38.800 align:start position:0%
0.5, then we can say we want the bird to
 

00:03:38.800 --> 00:03:40.990 align:start position:0%
0.5, then we can say we want the bird to
jump.<00:03:39.360><c> And</c><00:03:39.480><c> if</c><00:03:39.600><c> not,</c><00:03:40.120><c> then</c><00:03:40.280><c> it</c><00:03:40.360><c> can</c><00:03:40.440><c> just</c><00:03:40.800><c> not</c>

00:03:40.990 --> 00:03:41.000 align:start position:0%
jump. And if not, then it can just not
 

00:03:41.000 --> 00:03:42.990 align:start position:0%
jump. And if not, then it can just not
jump<00:03:41.200><c> and</c><00:03:41.320><c> it</c><00:03:41.360><c> can</c><00:03:41.480><c> stay</c><00:03:41.720><c> falling.</c><00:03:42.160><c> So,</c><00:03:42.800><c> one</c>

00:03:42.990 --> 00:03:43.000 align:start position:0%
jump and it can stay falling. So, one
 

00:03:43.000 --> 00:03:45.070 align:start position:0%
jump and it can stay falling. So, one
output<00:03:43.320><c> node</c><00:03:43.760><c> is</c><00:03:44.120><c> sufficient</c><00:03:44.640><c> for</c><00:03:44.840><c> this</c>

00:03:45.070 --> 00:03:45.080 align:start position:0%
output node is sufficient for this
 

00:03:45.080 --> 00:03:46.630 align:start position:0%
output node is sufficient for this
problem.<00:03:46.000><c> So,</c><00:03:46.200><c> that's</c><00:03:46.320><c> going</c><00:03:46.440><c> to</c><00:03:46.480><c> be</c><00:03:46.560><c> the</c>

00:03:46.630 --> 00:03:46.640 align:start position:0%
problem. So, that's going to be the
 

00:03:46.640 --> 00:03:48.310 align:start position:0%
problem. So, that's going to be the
structure<00:03:47.000><c> of</c><00:03:47.080><c> the</c><00:03:47.160><c> network.</c><00:03:47.560><c> Now,</c><00:03:48.120><c> if</c><00:03:48.240><c> you</c>

00:03:48.310 --> 00:03:48.320 align:start position:0%
structure of the network. Now, if you
 

00:03:48.320 --> 00:03:50.070 align:start position:0%
structure of the network. Now, if you
did<00:03:48.480><c> actually</c><00:03:48.720><c> see</c><00:03:48.880><c> my</c><00:03:49.040><c> tweet</c><00:03:49.360><c> the</c><00:03:49.440><c> other</c><00:03:49.600><c> day,</c>

00:03:50.070 --> 00:03:50.080 align:start position:0%
did actually see my tweet the other day,
 

00:03:50.080 --> 00:03:51.030 align:start position:0%
did actually see my tweet the other day,
you<00:03:50.240><c> would</c><00:03:50.320><c> probably</c><00:03:50.600><c> know</c><00:03:50.760><c> that</c><00:03:50.920><c> I've</c>

00:03:51.030 --> 00:03:51.040 align:start position:0%
you would probably know that I've
 

00:03:51.040 --> 00:03:52.030 align:start position:0%
you would probably know that I've
already<00:03:51.280><c> started</c><00:03:51.640><c> building</c><00:03:51.880><c> this</c>

00:03:52.030 --> 00:03:52.040 align:start position:0%
already started building this
 

00:03:52.040 --> 00:03:53.870 align:start position:0%
already started building this
application<00:03:53.120><c> and</c><00:03:53.240><c> I've</c><00:03:53.320><c> already</c><00:03:53.560><c> made</c>

00:03:53.870 --> 00:03:53.880 align:start position:0%
application and I've already made
 

00:03:53.880 --> 00:03:55.710 align:start position:0%
application and I've already made
significant<00:03:54.320><c> progress.</c><00:03:54.760><c> So,</c>

00:03:55.710 --> 00:03:55.720 align:start position:0%
significant progress. So,
 

00:03:55.720 --> 00:03:57.710 align:start position:0%
significant progress. So,
I've<00:03:55.960><c> actually</c><00:03:56.360><c> already</c><00:03:57.080><c> implemented</c><00:03:57.680><c> a</c>

00:03:57.710 --> 00:03:57.720 align:start position:0%
I've actually already implemented a
 

00:03:57.720 --> 00:03:59.710 align:start position:0%
I've actually already implemented a
neural<00:03:58.080><c> network</c><00:03:58.480><c> class.</c><00:03:59.240><c> So,</c><00:03:59.360><c> I</c><00:03:59.400><c> did</c><00:03:59.560><c> this</c>

00:03:59.710 --> 00:03:59.720 align:start position:0%
neural network class. So, I did this
 

00:03:59.720 --> 00:04:02.390 align:start position:0%
neural network class. So, I did this
from<00:03:59.880><c> scratch</c><00:04:00.760><c> in</c><00:04:00.920><c> Objective-C.</c><00:04:01.960><c> Now,</c><00:04:02.200><c> there</c>

00:04:02.390 --> 00:04:02.400 align:start position:0%
from scratch in Objective-C. Now, there
 

00:04:02.400 --> 00:04:03.830 align:start position:0%
from scratch in Objective-C. Now, there
are<00:04:02.600><c> lots</c><00:04:02.800><c> of</c><00:04:03.000><c> libraries</c><00:04:03.360><c> out</c><00:04:03.480><c> there</c><00:04:03.600><c> that</c><00:04:03.720><c> you</c>

00:04:03.830 --> 00:04:03.840 align:start position:0%
are lots of libraries out there that you
 

00:04:03.840 --> 00:04:05.950 align:start position:0%
are lots of libraries out there that you
can<00:04:04.000><c> use</c><00:04:04.960><c> that</c><00:04:05.120><c> have</c><00:04:05.320><c> pre-built</c><00:04:05.760><c> neural</c>

00:04:05.950 --> 00:04:05.960 align:start position:0%
can use that have pre-built neural
 

00:04:05.960 --> 00:04:07.710 align:start position:0%
can use that have pre-built neural
network<00:04:06.240><c> classes</c><00:04:06.600><c> if</c><00:04:06.720><c> you</c><00:04:06.840><c> want</c><00:04:07.000><c> to</c><00:04:07.400><c> kind</c><00:04:07.560><c> of</c>

00:04:07.710 --> 00:04:07.720 align:start position:0%
network classes if you want to kind of
 

00:04:07.720 --> 00:04:09.550 align:start position:0%
network classes if you want to kind of
do<00:04:07.840><c> it</c><00:04:07.920><c> an</c><00:04:08.000><c> easier</c><00:04:08.240><c> way.</c>

00:04:09.550 --> 00:04:09.560 align:start position:0%
do it an easier way.
 

00:04:09.560 --> 00:04:10.830 align:start position:0%
do it an easier way.
I've<00:04:09.720><c> never</c><00:04:09.920><c> really</c><00:04:10.120><c> used</c><00:04:10.280><c> any</c><00:04:10.400><c> of</c><00:04:10.480><c> those,</c><00:04:10.720><c> so</c>

00:04:10.830 --> 00:04:10.840 align:start position:0%
I've never really used any of those, so
 

00:04:10.840 --> 00:04:12.110 align:start position:0%
I've never really used any of those, so
I<00:04:10.880><c> just</c><00:04:11.080><c> wanted</c><00:04:11.280><c> to</c><00:04:11.320><c> build</c><00:04:11.520><c> a</c><00:04:11.560><c> neural</c><00:04:11.760><c> network</c>

00:04:12.110 --> 00:04:12.120 align:start position:0%
I just wanted to build a neural network
 

00:04:12.120 --> 00:04:14.390 align:start position:0%
I just wanted to build a neural network
from<00:04:12.280><c> scratch</c><00:04:13.160><c> in</c><00:04:13.320><c> Objective-C</c><00:04:13.880><c> to</c><00:04:14.080><c> fully</c>

00:04:14.390 --> 00:04:14.400 align:start position:0%
from scratch in Objective-C to fully
 

00:04:14.400 --> 00:04:16.830 align:start position:0%
from scratch in Objective-C to fully
understand<00:04:14.920><c> how</c><00:04:15.000><c> it</c><00:04:15.120><c> works.</c><00:04:15.960><c> So,</c><00:04:16.480><c> I</c><00:04:16.560><c> have</c><00:04:16.760><c> all</c>

00:04:16.830 --> 00:04:16.840 align:start position:0%
understand how it works. So, I have all
 

00:04:16.840 --> 00:04:19.470 align:start position:0%
understand how it works. So, I have all
the<00:04:17.640><c> nodes</c><00:04:17.959><c> implemented,</c><00:04:18.840><c> the</c><00:04:19.040><c> weights</c>

00:04:19.470 --> 00:04:19.480 align:start position:0%
the nodes implemented, the weights
 

00:04:19.480 --> 00:04:21.349 align:start position:0%
the nodes implemented, the weights
between<00:04:19.880><c> each</c><00:04:20.079><c> of</c><00:04:20.200><c> the</c><00:04:20.280><c> nodes.</c><00:04:20.680><c> These</c><00:04:20.920><c> are</c><00:04:21.040><c> all</c>

00:04:21.349 --> 00:04:21.359 align:start position:0%
between each of the nodes. These are all
 

00:04:21.359 --> 00:04:23.550 align:start position:0%
between each of the nodes. These are all
initially<00:04:22.000><c> set</c><00:04:22.240><c> as</c><00:04:22.440><c> a</c><00:04:22.800><c> a</c><00:04:22.880><c> random</c><00:04:23.280><c> value</c>

00:04:23.550 --> 00:04:23.560 align:start position:0%
initially set as a a random value
 

00:04:23.560 --> 00:04:25.670 align:start position:0%
initially set as a a random value
between<00:04:23.920><c> -1</c><00:04:24.520><c> and</c><00:04:24.680><c> 1.</c>

00:04:25.670 --> 00:04:25.680 align:start position:0%
between -1 and 1.
 

00:04:25.680 --> 00:04:28.390 align:start position:0%
between -1 and 1.
And<00:04:26.440><c> you</c><00:04:26.560><c> can</c><00:04:26.720><c> just</c><00:04:27.480><c> use</c><00:04:27.720><c> these</c><00:04:28.080><c> you</c><00:04:28.160><c> can</c><00:04:28.280><c> use</c>

00:04:28.390 --> 00:04:28.400 align:start position:0%
And you can just use these you can use
 

00:04:28.400 --> 00:04:30.310 align:start position:0%
And you can just use these you can use
this<00:04:28.520><c> class</c><00:04:28.800><c> in</c><00:04:28.920><c> your</c><00:04:29.080><c> in</c><00:04:29.160><c> your</c><00:04:29.240><c> program</c><00:04:29.640><c> to</c>

00:04:30.310 --> 00:04:30.320 align:start position:0%
this class in your in your program to
 

00:04:30.320 --> 00:04:31.470 align:start position:0%
this class in your in your program to
create<00:04:30.600><c> a</c><00:04:30.640><c> neural</c><00:04:30.840><c> network.</c><00:04:31.200><c> So,</c><00:04:31.360><c> for</c>

00:04:31.470 --> 00:04:31.480 align:start position:0%
create a neural network. So, for
 

00:04:31.480 --> 00:04:33.190 align:start position:0%
create a neural network. So, for
example,

00:04:33.190 --> 00:04:33.200 align:start position:0%
example,
 

00:04:33.200 --> 00:04:35.230 align:start position:0%
example,
the<00:04:33.440><c> player</c><00:04:34.320><c> we</c><00:04:34.440><c> have</c><00:04:34.560><c> this</c><00:04:34.680><c> player</c><00:04:34.960><c> class</c>

00:04:35.230 --> 00:04:35.240 align:start position:0%
the player we have this player class
 

00:04:35.240 --> 00:04:37.270 align:start position:0%
the player we have this player class
here.<00:04:35.920><c> This</c><00:04:36.120><c> is</c><00:04:36.400><c> essentially</c><00:04:36.800><c> the</c><00:04:36.880><c> bird</c><00:04:37.200><c> of</c>

00:04:37.270 --> 00:04:37.280 align:start position:0%
here. This is essentially the bird of
 

00:04:37.280 --> 00:04:38.590 align:start position:0%
here. This is essentially the bird of
the<00:04:37.360><c> game.</c>

00:04:38.590 --> 00:04:38.600 align:start position:0%
the game.
 

00:04:38.600 --> 00:04:41.190 align:start position:0%
the game.
And<00:04:38.800><c> this</c><00:04:39.240><c> will</c><00:04:39.640><c> have</c><00:04:40.080><c> a</c><00:04:40.200><c> brain</c><00:04:40.680><c> property</c><00:04:41.080><c> on</c>

00:04:41.190 --> 00:04:41.200 align:start position:0%
And this will have a brain property on
 

00:04:41.200 --> 00:04:42.950 align:start position:0%
And this will have a brain property on
it,<00:04:41.640><c> which</c><00:04:42.000><c> is</c><00:04:42.160><c> a</c><00:04:42.200><c> neural</c><00:04:42.440><c> network.</c><00:04:42.800><c> So,</c><00:04:42.880><c> the</c>

00:04:42.950 --> 00:04:42.960 align:start position:0%
it, which is a neural network. So, the
 

00:04:42.960 --> 00:04:45.390 align:start position:0%
it, which is a neural network. So, the
bird's<00:04:43.240><c> brain</c><00:04:44.120><c> is</c><00:04:44.360><c> an</c><00:04:44.440><c> instance</c><00:04:44.880><c> of</c><00:04:45.320><c> the</c>

00:04:45.390 --> 00:04:45.400 align:start position:0%
bird's brain is an instance of the
 

00:04:45.400 --> 00:04:47.350 align:start position:0%
bird's brain is an instance of the
neural<00:04:45.640><c> network</c><00:04:45.960><c> class.</c>

00:04:47.350 --> 00:04:47.360 align:start position:0%
neural network class.
 

00:04:47.360 --> 00:04:49.670 align:start position:0%
neural network class.
And<00:04:47.640><c> you</c><00:04:47.720><c> can</c><00:04:47.840><c> see</c><00:04:48.080><c> here</c><00:04:48.680><c> when</c><00:04:48.920><c> we</c><00:04:49.360><c> actually</c>

00:04:49.670 --> 00:04:49.680 align:start position:0%
And you can see here when we actually
 

00:04:49.680 --> 00:04:52.110 align:start position:0%
And you can see here when we actually
create<00:04:50.040><c> an</c><00:04:50.120><c> instance</c><00:04:50.480><c> of</c><00:04:50.560><c> the</c><00:04:50.680><c> player,</c><00:04:51.600><c> we</c><00:04:51.880><c> set</c>

00:04:52.110 --> 00:04:52.120 align:start position:0%
create an instance of the player, we set
 

00:04:52.120 --> 00:04:53.790 align:start position:0%
create an instance of the player, we set
the<00:04:52.240><c> brain</c><00:04:53.000><c> of</c><00:04:53.120><c> the</c>

00:04:53.790 --> 00:04:53.800 align:start position:0%
the brain of the
 

00:04:53.800 --> 00:04:55.830 align:start position:0%
the brain of the
bird<00:04:54.280><c> equal</c><00:04:54.600><c> to</c><00:04:54.840><c> a</c><00:04:54.880><c> new</c><00:04:55.040><c> instance</c><00:04:55.400><c> of</c><00:04:55.520><c> a</c><00:04:55.560><c> neural</c>

00:04:55.830 --> 00:04:55.840 align:start position:0%
bird equal to a new instance of a neural
 

00:04:55.840 --> 00:04:57.630 align:start position:0%
bird equal to a new instance of a neural
network.<00:04:56.720><c> And</c><00:04:56.840><c> I've</c><00:04:56.960><c> set</c><00:04:57.120><c> this</c><00:04:57.280><c> up</c><00:04:57.400><c> so</c><00:04:57.520><c> that</c>

00:04:57.630 --> 00:04:57.640 align:start position:0%
network. And I've set this up so that
 

00:04:57.640 --> 00:04:59.950 align:start position:0%
network. And I've set this up so that
you<00:04:57.720><c> can</c><00:04:58.160><c> initialize</c><00:04:58.680><c> it</c><00:04:58.800><c> with</c><00:04:59.200><c> amounts</c><00:04:59.680><c> of</c>

00:04:59.950 --> 00:04:59.960 align:start position:0%
you can initialize it with amounts of
 

00:04:59.960 --> 00:05:02.910 align:start position:0%
you can initialize it with amounts of
nodes<00:05:00.440><c> per</c><00:05:01.000><c> so,</c><00:05:01.840><c> here</c><00:05:02.000><c> you</c><00:05:02.080><c> can</c><00:05:02.200><c> see</c><00:05:02.600><c> I've</c><00:05:02.720><c> got</c>

00:05:02.910 --> 00:05:02.920 align:start position:0%
nodes per so, here you can see I've got
 

00:05:02.920 --> 00:05:04.750 align:start position:0%
nodes per so, here you can see I've got
four<00:05:03.360><c> nodes</c><00:05:03.760><c> on</c><00:05:03.840><c> the</c><00:05:03.960><c> layer</c><00:05:04.200><c> one,</c><00:05:04.480><c> which</c><00:05:04.680><c> is</c>

00:05:04.750 --> 00:05:04.760 align:start position:0%
four nodes on the layer one, which is
 

00:05:04.760 --> 00:05:07.950 align:start position:0%
four nodes on the layer one, which is
the<00:05:04.840><c> input</c><00:05:05.120><c> layer.</c><00:05:05.920><c> Six</c><00:05:06.360><c> nodes</c><00:05:06.680><c> on</c><00:05:06.800><c> layer</c><00:05:07.040><c> two</c>

00:05:07.950 --> 00:05:07.960 align:start position:0%
the input layer. Six nodes on layer two
 

00:05:07.960 --> 00:05:10.030 align:start position:0%
the input layer. Six nodes on layer two
and<00:05:08.200><c> one</c><00:05:08.400><c> output</c><00:05:08.760><c> node.</c><00:05:09.520><c> So,</c><00:05:09.640><c> this</c><00:05:09.840><c> will</c>

00:05:10.030 --> 00:05:10.040 align:start position:0%
and one output node. So, this will
 

00:05:10.040 --> 00:05:12.070 align:start position:0%
and one output node. So, this will
create<00:05:10.320><c> an</c><00:05:10.920><c> instance</c><00:05:11.360><c> of</c><00:05:11.440><c> a</c><00:05:11.480><c> neural</c><00:05:11.720><c> network</c>

00:05:12.070 --> 00:05:12.080 align:start position:0%
create an instance of a neural network
 

00:05:12.080 --> 00:05:14.590 align:start position:0%
create an instance of a neural network
with<00:05:12.200><c> this</c><00:05:12.360><c> amount</c><00:05:12.680><c> of</c><00:05:13.120><c> nodes</c><00:05:13.480><c> on</c><00:05:13.560><c> the</c><00:05:13.680><c> layers.</c>

00:05:14.590 --> 00:05:14.600 align:start position:0%
with this amount of nodes on the layers.
 

00:05:14.600 --> 00:05:16.110 align:start position:0%
with this amount of nodes on the layers.
And<00:05:15.280><c> by</c><00:05:15.400><c> default,</c><00:05:15.760><c> that's</c><00:05:15.920><c> going</c><00:05:16.040><c> to</c>

00:05:16.110 --> 00:05:16.120 align:start position:0%
And by default, that's going to
 

00:05:16.120 --> 00:05:18.550 align:start position:0%
And by default, that's going to
randomize<00:05:16.680><c> the</c><00:05:17.000><c> weights.</c><00:05:17.960><c> And</c><00:05:18.120><c> then</c>

00:05:18.550 --> 00:05:18.560 align:start position:0%
randomize the weights. And then
 

00:05:18.560 --> 00:05:20.630 align:start position:0%
randomize the weights. And then
obviously<00:05:18.960><c> throughout</c><00:05:19.440><c> the</c><00:05:20.160><c> progression</c><00:05:20.560><c> of</c>

00:05:20.630 --> 00:05:20.640 align:start position:0%
obviously throughout the progression of
 

00:05:20.640 --> 00:05:23.070 align:start position:0%
obviously throughout the progression of
the<00:05:20.720><c> game,</c><00:05:21.400><c> you</c><00:05:21.520><c> can</c><00:05:21.640><c> update</c><00:05:22.000><c> the</c><00:05:22.160><c> input</c><00:05:22.600><c> nodes</c>

00:05:23.070 --> 00:05:23.080 align:start position:0%
the game, you can update the input nodes
 

00:05:23.080 --> 00:05:26.630 align:start position:0%
the game, you can update the input nodes
with<00:05:23.560><c> set</c><00:05:23.800><c> values</c><00:05:24.160><c> depending</c><00:05:24.640><c> on</c>

00:05:26.630 --> 00:05:26.640 align:start position:0%
with set values depending on
 

00:05:26.640 --> 00:05:27.870 align:start position:0%
with set values depending on
the<00:05:26.920><c> inputs</c><00:05:27.240><c> that</c><00:05:27.320><c> you</c><00:05:27.400><c> want.</c><00:05:27.640><c> So,</c><00:05:27.720><c> you</c><00:05:27.760><c> can</c>

00:05:27.870 --> 00:05:27.880 align:start position:0%
the inputs that you want. So, you can
 

00:05:27.880 --> 00:05:29.030 align:start position:0%
the inputs that you want. So, you can
see<00:05:28.000><c> here</c><00:05:28.160><c> this</c><00:05:28.280><c> is</c><00:05:28.360><c> how</c><00:05:28.440><c> I've</c><00:05:28.560><c> done</c><00:05:28.760><c> this.</c>

00:05:29.030 --> 00:05:29.040 align:start position:0%
see here this is how I've done this.
 

00:05:29.040 --> 00:05:30.710 align:start position:0%
see here this is how I've done this.
Inputs.

00:05:30.710 --> 00:05:30.720 align:start position:0%
Inputs.
 

00:05:30.720 --> 00:05:32.150 align:start position:0%
Inputs.
And<00:05:30.840><c> so,</c><00:05:30.920><c> you</c><00:05:30.960><c> can</c><00:05:31.080><c> see</c><00:05:31.200><c> the</c><00:05:31.760><c> the</c><00:05:31.880><c> height</c><00:05:32.080><c> of</c>

00:05:32.150 --> 00:05:32.160 align:start position:0%
And so, you can see the the height of
 

00:05:32.160 --> 00:05:33.270 align:start position:0%
And so, you can see the the height of
the<00:05:32.240><c> bird,</c>

00:05:33.270 --> 00:05:33.280 align:start position:0%
the bird,
 

00:05:33.280 --> 00:05:34.310 align:start position:0%
the bird,
the

00:05:34.310 --> 00:05:34.320 align:start position:0%
the
 

00:05:34.320 --> 00:05:35.790 align:start position:0%
the
position<00:05:34.680><c> the</c><00:05:34.760><c> X</c><00:05:34.920><c> position</c><00:05:35.200><c> of</c><00:05:35.280><c> the</c><00:05:35.360><c> pipe,</c><00:05:35.720><c> and</c>

00:05:35.790 --> 00:05:35.800 align:start position:0%
position the X position of the pipe, and
 

00:05:35.800 --> 00:05:39.030 align:start position:0%
position the X position of the pipe, and
then<00:05:35.960><c> the</c><00:05:36.320><c> top</c><00:05:36.680><c> and</c><00:05:36.880><c> bottom</c><00:05:37.200><c> pipe</c><00:05:37.560><c> heights.</c>

00:05:39.030 --> 00:05:39.040 align:start position:0%
then the top and bottom pipe heights.
 

00:05:39.040 --> 00:05:41.430 align:start position:0%
then the top and bottom pipe heights.
And<00:05:39.320><c> that</c><00:05:39.480><c> constantly</c><00:05:40.440><c> gets</c><00:05:40.680><c> updated.</c><00:05:41.120><c> Those</c>

00:05:41.430 --> 00:05:41.440 align:start position:0%
And that constantly gets updated. Those
 

00:05:41.440 --> 00:05:42.870 align:start position:0%
And that constantly gets updated. Those
those<00:05:41.640><c> values</c><00:05:41.880><c> get</c><00:05:42.000><c> updated</c><00:05:42.320><c> every</c><00:05:42.520><c> time</c><00:05:42.760><c> the</c>

00:05:42.870 --> 00:05:42.880 align:start position:0%
those values get updated every time the
 

00:05:42.880 --> 00:05:44.670 align:start position:0%
those values get updated every time the
bird<00:05:43.360><c> moves</c><00:05:43.720><c> essentially.</c><00:05:44.160><c> So,</c><00:05:44.560><c> it's</c>

00:05:44.670 --> 00:05:44.680 align:start position:0%
bird moves essentially. So, it's
 

00:05:44.680 --> 00:05:46.870 align:start position:0%
bird moves essentially. So, it's
happening<00:05:45.280><c> multiple</c><00:05:45.600><c> times</c><00:05:45.800><c> a</c><00:05:45.840><c> second.</c>

00:05:46.870 --> 00:05:46.880 align:start position:0%
happening multiple times a second.
 

00:05:46.880 --> 00:05:48.790 align:start position:0%
happening multiple times a second.
And<00:05:47.560><c> yeah,</c><00:05:47.720><c> so</c><00:05:47.800><c> that's</c><00:05:48.120><c> that's</c><00:05:48.400><c> currently</c><00:05:48.720><c> the</c>

00:05:48.790 --> 00:05:48.800 align:start position:0%
And yeah, so that's that's currently the
 

00:05:48.800 --> 00:05:50.070 align:start position:0%
And yeah, so that's that's currently the
progress<00:05:49.120><c> I've</c><00:05:49.240><c> got.</c><00:05:49.480><c> So,</c><00:05:49.600><c> at</c><00:05:49.640><c> the</c><00:05:49.720><c> moment,</c>

00:05:50.070 --> 00:05:50.080 align:start position:0%
progress I've got. So, at the moment,
 

00:05:50.080 --> 00:05:52.390 align:start position:0%
progress I've got. So, at the moment,
the<00:05:50.240><c> app</c><00:05:50.640><c> actually</c><00:05:51.600><c> it</c><00:05:51.800><c> runs</c><00:05:52.080><c> it</c><00:05:52.160><c> have</c><00:05:52.320><c> the</c>

00:05:52.390 --> 00:05:52.400 align:start position:0%
the app actually it runs it have the
 

00:05:52.400 --> 00:05:54.230 align:start position:0%
the app actually it runs it have the
Flappy<00:05:52.640><c> Bird</c><00:05:52.840><c> game</c><00:05:53.080><c> implanted.</c><00:05:53.920><c> It</c><00:05:54.080><c> will</c>

00:05:54.230 --> 00:05:54.240 align:start position:0%
Flappy Bird game implanted. It will
 

00:05:54.240 --> 00:05:57.470 align:start position:0%
Flappy Bird game implanted. It will
spawn<00:05:55.320><c> several</c><00:05:55.680><c> hundred</c><00:05:56.040><c> birds</c><00:05:56.960><c> each</c><00:05:57.280><c> with</c><00:05:57.400><c> a</c>

00:05:57.470 --> 00:05:57.480 align:start position:0%
spawn several hundred birds each with a
 

00:05:57.480 --> 00:06:00.030 align:start position:0%
spawn several hundred birds each with a
random<00:05:57.960><c> neural</c><00:05:58.240><c> network</c><00:05:58.680><c> initialized.</c><00:05:59.800><c> So,</c>

00:06:00.030 --> 00:06:00.040 align:start position:0%
random neural network initialized. So,
 

00:06:00.040 --> 00:06:02.150 align:start position:0%
random neural network initialized. So,
then<00:06:00.240><c> the</c><00:06:00.320><c> birds</c><00:06:00.560><c> are</c><00:06:00.640><c> essentially</c><00:06:01.080><c> guessing</c>

00:06:02.150 --> 00:06:02.160 align:start position:0%
then the birds are essentially guessing
 

00:06:02.160 --> 00:06:03.750 align:start position:0%
then the birds are essentially guessing
how<00:06:02.360><c> to</c><00:06:02.480><c> play</c><00:06:02.600><c> the</c><00:06:02.720><c> game.</c><00:06:03.000><c> So,</c><00:06:03.080><c> if</c><00:06:03.240><c> the</c><00:06:03.400><c> output</c>

00:06:03.750 --> 00:06:03.760 align:start position:0%
how to play the game. So, if the output
 

00:06:03.760 --> 00:06:05.950 align:start position:0%
how to play the game. So, if the output
node<00:06:04.040><c> of</c><00:06:04.120><c> their</c><00:06:04.240><c> network</c><00:06:04.600><c> comes</c><00:06:04.880><c> out</c><00:06:05.040><c> as</c><00:06:05.320><c> 0.5</c>

00:06:05.950 --> 00:06:05.960 align:start position:0%
node of their network comes out as 0.5
 

00:06:05.960 --> 00:06:08.030 align:start position:0%
node of their network comes out as 0.5
or<00:06:06.080><c> higher,</c><00:06:06.680><c> then</c><00:06:06.800><c> they</c><00:06:06.920><c> will</c><00:06:07.080><c> jump.</c><00:06:07.640><c> If</c><00:06:07.800><c> not,</c>

00:06:08.030 --> 00:06:08.040 align:start position:0%
or higher, then they will jump. If not,
 

00:06:08.040 --> 00:06:09.830 align:start position:0%
or higher, then they will jump. If not,
then<00:06:08.160><c> they'll</c><00:06:08.320><c> continue</c><00:06:08.680><c> to</c><00:06:08.800><c> fall.</c><00:06:09.640><c> So,</c><00:06:09.800><c> I'm</c>

00:06:09.830 --> 00:06:09.840 align:start position:0%
then they'll continue to fall. So, I'm
 

00:06:09.840 --> 00:06:11.790 align:start position:0%
then they'll continue to fall. So, I'm
going<00:06:09.960><c> to</c><00:06:10.040><c> quickly</c><00:06:10.200><c> show</c><00:06:10.360><c> you</c><00:06:10.480><c> a</c><00:06:10.520><c> demo</c><00:06:11.520><c> on</c><00:06:11.640><c> the</c>

00:06:11.790 --> 00:06:11.800 align:start position:0%
going to quickly show you a demo on the
 

00:06:11.800 --> 00:06:13.870 align:start position:0%
going to quickly show you a demo on the
iPad<00:06:12.040><c> itself</c><00:06:12.360><c> of</c><00:06:12.520><c> how</c><00:06:12.680><c> this</c><00:06:12.880><c> works</c><00:06:13.080><c> so</c><00:06:13.240><c> far.</c><00:06:13.800><c> I</c>

00:06:13.870 --> 00:06:13.880 align:start position:0%
iPad itself of how this works so far. I
 

00:06:13.880 --> 00:06:15.670 align:start position:0%
iPad itself of how this works so far. I
haven't<00:06:14.160><c> implemented</c><00:06:14.600><c> any</c><00:06:15.080><c> kind</c><00:06:15.240><c> of</c><00:06:15.360><c> genetic</c>

00:06:15.670 --> 00:06:15.680 align:start position:0%
haven't implemented any kind of genetic
 

00:06:15.680 --> 00:06:16.710 align:start position:0%
haven't implemented any kind of genetic
algorithm<00:06:16.040><c> yet,</c><00:06:16.200><c> which</c><00:06:16.400><c> is</c><00:06:16.440><c> what</c><00:06:16.520><c> we're</c><00:06:16.600><c> going</c>

00:06:16.710 --> 00:06:16.720 align:start position:0%
algorithm yet, which is what we're going
 

00:06:16.720 --> 00:06:18.390 align:start position:0%
algorithm yet, which is what we're going
to<00:06:16.760><c> get</c><00:06:16.920><c> to</c><00:06:17.040><c> later</c><00:06:17.280><c> on.</c><00:06:17.960><c> And</c><00:06:18.040><c> that's</c><00:06:18.200><c> going</c><00:06:18.320><c> to</c>

00:06:18.390 --> 00:06:18.400 align:start position:0%
to get to later on. And that's going to
 

00:06:18.400 --> 00:06:19.870 align:start position:0%
to get to later on. And that's going to
actually<00:06:18.560><c> allow</c><00:06:18.720><c> them</c><00:06:18.880><c> to</c><00:06:19.120><c> learn</c><00:06:19.440><c> how</c><00:06:19.560><c> to</c><00:06:19.680><c> play</c>

00:06:19.870 --> 00:06:19.880 align:start position:0%
actually allow them to learn how to play
 

00:06:19.880 --> 00:06:21.190 align:start position:0%
actually allow them to learn how to play
the<00:06:19.960><c> game.</c><00:06:20.360><c> But,</c><00:06:20.520><c> for</c><00:06:20.640><c> now,</c><00:06:20.920><c> it</c><00:06:21.040><c> just</c>

00:06:21.190 --> 00:06:21.200 align:start position:0%
the game. But, for now, it just
 

00:06:21.200 --> 00:06:23.470 align:start position:0%
the game. But, for now, it just
generates<00:06:21.600><c> random</c><00:06:22.440><c> birds</c><00:06:22.840><c> with</c><00:06:23.080><c> random</c>

00:06:23.470 --> 00:06:23.480 align:start position:0%
generates random birds with random
 

00:06:23.480 --> 00:06:25.430 align:start position:0%
generates random birds with random
neural<00:06:23.720><c> networks</c><00:06:24.240><c> in</c><00:06:24.360><c> their</c><00:06:24.480><c> brains.</c><00:06:25.320><c> So,</c>

00:06:25.430 --> 00:06:25.440 align:start position:0%
neural networks in their brains. So,
 

00:06:25.440 --> 00:06:26.550 align:start position:0%
neural networks in their brains. So,
they<00:06:25.560><c> kind</c><00:06:25.760><c> of</c><00:06:25.840><c> have</c><00:06:26.000><c> no</c><00:06:26.160><c> clue</c><00:06:26.360><c> what</c><00:06:26.480><c> they're</c>

00:06:26.550 --> 00:06:26.560 align:start position:0%
they kind of have no clue what they're
 

00:06:26.560 --> 00:06:28.230 align:start position:0%
they kind of have no clue what they're
doing.<00:06:27.280><c> All</c><00:06:27.440><c> right.</c><00:06:27.560><c> So,</c><00:06:27.640><c> I've</c><00:06:27.720><c> got</c><00:06:27.840><c> the</c><00:06:28.000><c> app</c>

00:06:28.230 --> 00:06:28.240 align:start position:0%
doing. All right. So, I've got the app
 

00:06:28.240 --> 00:06:29.910 align:start position:0%
doing. All right. So, I've got the app
installed<00:06:28.840><c> on</c><00:06:29.000><c> my</c><00:06:29.160><c> iPad</c><00:06:29.480><c> here.</c><00:06:29.640><c> It's</c><00:06:29.760><c> called</c>

00:06:29.910 --> 00:06:29.920 align:start position:0%
installed on my iPad here. It's called
 

00:06:29.920 --> 00:06:31.430 align:start position:0%
installed on my iPad here. It's called
Neural<00:06:30.200><c> Flappy</c><00:06:30.440><c> Bird.</c>

00:06:31.430 --> 00:06:31.440 align:start position:0%
Neural Flappy Bird.
 

00:06:31.440 --> 00:06:32.390 align:start position:0%
Neural Flappy Bird.
And<00:06:31.560><c> this</c><00:06:31.680><c> is</c><00:06:31.760><c> what</c><00:06:31.880><c> it</c><00:06:31.920><c> looks</c><00:06:32.080><c> like</c><00:06:32.200><c> when</c><00:06:32.320><c> you</c>

00:06:32.390 --> 00:06:32.400 align:start position:0%
And this is what it looks like when you
 

00:06:32.400 --> 00:06:34.190 align:start position:0%
And this is what it looks like when you
open<00:06:32.560><c> it</c><00:06:32.640><c> up.</c><00:06:32.760><c> So,</c><00:06:33.360><c> you</c><00:06:33.440><c> can</c><00:06:33.560><c> see</c><00:06:33.680><c> we</c><00:06:33.800><c> have</c><00:06:34.080><c> the</c>

00:06:34.190 --> 00:06:34.200 align:start position:0%
open it up. So, you can see we have the
 

00:06:34.200 --> 00:06:35.710 align:start position:0%
open it up. So, you can see we have the
Flappy<00:06:34.480><c> Bird</c><00:06:34.680><c> game</c><00:06:35.000><c> on</c><00:06:35.080><c> the</c><00:06:35.160><c> left</c><00:06:35.400><c> side</c><00:06:35.600><c> of</c><00:06:35.680><c> the</c>

00:06:35.710 --> 00:06:35.720 align:start position:0%
Flappy Bird game on the left side of the
 

00:06:35.720 --> 00:06:38.950 align:start position:0%
Flappy Bird game on the left side of the
screen.<00:06:36.640><c> And</c><00:06:37.560><c> this</c><00:06:37.800><c> is</c><00:06:37.880><c> just</c><00:06:38.120><c> replicating</c><00:06:38.800><c> the</c>

00:06:38.950 --> 00:06:38.960 align:start position:0%
screen. And this is just replicating the
 

00:06:38.960 --> 00:06:40.350 align:start position:0%
screen. And this is just replicating the
original<00:06:39.320><c> Flappy</c><00:06:39.560><c> Bird</c><00:06:39.760><c> game.</c><00:06:39.960><c> The</c><00:06:40.080><c> rules</c><00:06:40.280><c> are</c>

00:06:40.350 --> 00:06:40.360 align:start position:0%
original Flappy Bird game. The rules are
 

00:06:40.360 --> 00:06:41.870 align:start position:0%
original Flappy Bird game. The rules are
basically<00:06:40.680><c> exactly</c><00:06:41.040><c> the</c><00:06:41.160><c> same.</c><00:06:41.600><c> Obviously,</c>

00:06:41.870 --> 00:06:41.880 align:start position:0%
basically exactly the same. Obviously,
 

00:06:41.880 --> 00:06:43.270 align:start position:0%
basically exactly the same. Obviously,
the<00:06:41.960><c> graphics</c><00:06:42.360><c> are</c><00:06:42.400><c> not</c><00:06:42.600><c> really</c><00:06:42.840><c> there,</c><00:06:43.080><c> but</c><00:06:43.200><c> I</c>

00:06:43.270 --> 00:06:43.280 align:start position:0%
the graphics are not really there, but I
 

00:06:43.280 --> 00:06:45.670 align:start position:0%
the graphics are not really there, but I
just<00:06:43.960><c> threw</c><00:06:44.160><c> this</c><00:06:44.320><c> together</c><00:06:44.680><c> quite</c><00:06:44.880><c> quickly.</c>

00:06:45.670 --> 00:06:45.680 align:start position:0%
just threw this together quite quickly.
 

00:06:45.680 --> 00:06:46.750 align:start position:0%
just threw this together quite quickly.
And<00:06:45.800><c> then</c><00:06:45.960><c> on</c><00:06:46.120><c> the</c><00:06:46.240><c> right</c><00:06:46.480><c> side</c><00:06:46.640><c> of</c><00:06:46.680><c> the</c>

00:06:46.750 --> 00:06:46.760 align:start position:0%
And then on the right side of the
 

00:06:46.760 --> 00:06:48.470 align:start position:0%
And then on the right side of the
screen,<00:06:47.000><c> we</c><00:06:47.080><c> have</c><00:06:47.160><c> a</c><00:06:47.240><c> bigger</c><00:06:47.480><c> area</c><00:06:47.960><c> where</c><00:06:48.320><c> we</c>

00:06:48.470 --> 00:06:48.480 align:start position:0%
screen, we have a bigger area where we
 

00:06:48.480 --> 00:06:50.390 align:start position:0%
screen, we have a bigger area where we
have<00:06:48.800><c> some</c><00:06:49.000><c> controls</c><00:06:49.680><c> as</c><00:06:49.840><c> well</c><00:06:49.960><c> as</c><00:06:50.080><c> a</c><00:06:50.120><c> neural</c>

00:06:50.390 --> 00:06:50.400 align:start position:0%
have some controls as well as a neural
 

00:06:50.400 --> 00:06:51.830 align:start position:0%
have some controls as well as a neural
network<00:06:50.760><c> visualizer.</c><00:06:51.360><c> So,</c><00:06:51.480><c> this</c><00:06:51.640><c> kind</c><00:06:51.760><c> of</c>

00:06:51.830 --> 00:06:51.840 align:start position:0%
network visualizer. So, this kind of
 

00:06:51.840 --> 00:06:53.390 align:start position:0%
network visualizer. So, this kind of
helps<00:06:52.040><c> you</c><00:06:52.120><c> understand</c><00:06:52.560><c> neural</c><00:06:52.720><c> networks</c><00:06:53.160><c> if</c>

00:06:53.390 --> 00:06:53.400 align:start position:0%
helps you understand neural networks if
 

00:06:53.400 --> 00:06:55.230 align:start position:0%
helps you understand neural networks if
you<00:06:53.800><c> not</c><00:06:53.920><c> really</c><00:06:54.080><c> looked</c><00:06:54.280><c> at</c><00:06:54.320><c> them</c><00:06:54.440><c> before.</c>

00:06:55.230 --> 00:06:55.240 align:start position:0%
you not really looked at them before.
 

00:06:55.240 --> 00:06:56.470 align:start position:0%
you not really looked at them before.
And<00:06:55.440><c> you</c><00:06:55.520><c> can</c><00:06:55.600><c> actually</c><00:06:55.800><c> see</c><00:06:55.960><c> this</c><00:06:56.160><c> live</c>

00:06:56.470 --> 00:06:56.480 align:start position:0%
And you can actually see this live
 

00:06:56.480 --> 00:06:59.190 align:start position:0%
And you can actually see this live
update<00:06:56.880><c> as</c><00:06:57.040><c> the</c><00:06:57.160><c> game</c><00:06:57.720><c> progresses.</c><00:06:58.280><c> So,</c><00:06:58.960><c> first</c>

00:06:59.190 --> 00:06:59.200 align:start position:0%
update as the game progresses. So, first
 

00:06:59.200 --> 00:07:00.510 align:start position:0%
update as the game progresses. So, first
of<00:06:59.320><c> all,</c><00:06:59.520><c> you</c><00:06:59.640><c> can</c><00:06:59.760><c> see</c><00:06:59.840><c> we</c><00:06:59.920><c> have</c><00:07:00.040><c> a</c><00:07:00.080><c> slider</c>

00:07:00.510 --> 00:07:00.520 align:start position:0%
of all, you can see we have a slider
 

00:07:00.520 --> 00:07:02.310 align:start position:0%
of all, you can see we have a slider
here<00:07:01.040><c> to</c><00:07:01.160><c> choose</c><00:07:01.440><c> how</c><00:07:01.520><c> many</c><00:07:01.720><c> birds</c><00:07:02.120><c> you</c><00:07:02.200><c> want</c>

00:07:02.310 --> 00:07:02.320 align:start position:0%
here to choose how many birds you want
 

00:07:02.320 --> 00:07:05.430 align:start position:0%
here to choose how many birds you want
to<00:07:02.400><c> spawn</c><00:07:02.920><c> per</c><00:07:03.120><c> generation.</c><00:07:03.840><c> So,</c>

00:07:05.430 --> 00:07:05.440 align:start position:0%
to spawn per generation. So,
 

00:07:05.440 --> 00:07:07.550 align:start position:0%
to spawn per generation. So,
we're<00:07:05.560><c> going</c><00:07:05.680><c> to</c><00:07:05.760><c> just</c><00:07:06.360><c> set</c><00:07:06.640><c> a</c><00:07:06.720><c> thousand</c><00:07:07.440><c> for</c>

00:07:07.550 --> 00:07:07.560 align:start position:0%
we're going to just set a thousand for
 

00:07:07.560 --> 00:07:09.190 align:start position:0%
we're going to just set a thousand for
the<00:07:07.640><c> sake</c><00:07:07.840><c> of</c><00:07:07.880><c> this</c><00:07:08.040><c> so</c><00:07:08.120><c> you</c><00:07:08.200><c> can</c><00:07:08.320><c> see</c><00:07:08.920><c> as</c><00:07:09.000><c> many</c>

00:07:09.190 --> 00:07:09.200 align:start position:0%
the sake of this so you can see as many
 

00:07:09.200 --> 00:07:10.310 align:start position:0%
the sake of this so you can see as many
as<00:07:09.280><c> possible.</c>

00:07:10.310 --> 00:07:10.320 align:start position:0%
as possible.
 

00:07:10.320 --> 00:07:11.910 align:start position:0%
as possible.
And<00:07:10.600><c> then</c><00:07:10.840><c> we're</c><00:07:10.960><c> going</c><00:07:11.080><c> to</c><00:07:11.160><c> click</c><00:07:11.360><c> the</c><00:07:11.480><c> start</c>

00:07:11.910 --> 00:07:11.920 align:start position:0%
And then we're going to click the start
 

00:07:11.920 --> 00:07:13.110 align:start position:0%
And then we're going to click the start
button.<00:07:12.200><c> And</c><00:07:12.320><c> what</c><00:07:12.440><c> this</c><00:07:12.560><c> is</c><00:07:12.640><c> going</c><00:07:12.760><c> to</c><00:07:12.840><c> do</c><00:07:13.000><c> is</c>

00:07:13.110 --> 00:07:13.120 align:start position:0%
button. And what this is going to do is
 

00:07:13.120 --> 00:07:16.030 align:start position:0%
button. And what this is going to do is
it's<00:07:13.240><c> going</c><00:07:13.360><c> to</c><00:07:13.520><c> generate</c><00:07:14.280><c> 1,000</c><00:07:14.920><c> birds</c><00:07:15.600><c> each</c>

00:07:16.030 --> 00:07:16.040 align:start position:0%
it's going to generate 1,000 birds each
 

00:07:16.040 --> 00:07:17.670 align:start position:0%
it's going to generate 1,000 birds each
with<00:07:16.240><c> their</c><00:07:16.440><c> own</c><00:07:16.680><c> brains,</c><00:07:17.320><c> which</c><00:07:17.560><c> is</c>

00:07:17.670 --> 00:07:17.680 align:start position:0%
with their own brains, which is
 

00:07:17.680 --> 00:07:19.310 align:start position:0%
with their own brains, which is
essentially<00:07:18.040><c> a</c><00:07:18.080><c> neural</c><00:07:18.320><c> network.</c><00:07:19.040><c> And</c><00:07:19.160><c> each</c>

00:07:19.310 --> 00:07:19.320 align:start position:0%
essentially a neural network. And each
 

00:07:19.320 --> 00:07:20.470 align:start position:0%
essentially a neural network. And each
of<00:07:19.400><c> those</c><00:07:19.560><c> neural</c><00:07:19.760><c> networks</c><00:07:20.120><c> is</c><00:07:20.200><c> going</c><00:07:20.320><c> to</c><00:07:20.400><c> be</c>

00:07:20.470 --> 00:07:20.480 align:start position:0%
of those neural networks is going to be
 

00:07:20.480 --> 00:07:23.150 align:start position:0%
of those neural networks is going to be
randomly<00:07:21.000><c> initialized</c><00:07:21.800><c> with</c><00:07:22.040><c> weight</c><00:07:22.320><c> values</c>

00:07:23.150 --> 00:07:23.160 align:start position:0%
randomly initialized with weight values
 

00:07:23.160 --> 00:07:24.270 align:start position:0%
randomly initialized with weight values
that<00:07:23.280><c> are</c><00:07:23.400><c> all</c><00:07:23.520><c> going</c><00:07:23.640><c> to</c><00:07:23.680><c> be</c><00:07:23.800><c> different</c><00:07:24.120><c> from</c>

00:07:24.270 --> 00:07:24.280 align:start position:0%
that are all going to be different from
 

00:07:24.280 --> 00:07:25.630 align:start position:0%
that are all going to be different from
each<00:07:24.480><c> other.</c><00:07:24.640><c> So,</c><00:07:24.800><c> all</c><00:07:24.960><c> of</c><00:07:25.040><c> these</c><00:07:25.240><c> birds</c><00:07:25.560><c> are</c>

00:07:25.630 --> 00:07:25.640 align:start position:0%
each other. So, all of these birds are
 

00:07:25.640 --> 00:07:26.910 align:start position:0%
each other. So, all of these birds are
going<00:07:25.760><c> to</c><00:07:25.840><c> have</c><00:07:26.280><c> completely</c><00:07:26.600><c> different</c>

00:07:26.910 --> 00:07:26.920 align:start position:0%
going to have completely different
 

00:07:26.920 --> 00:07:29.350 align:start position:0%
going to have completely different
brains.<00:07:27.880><c> The</c><00:07:28.280><c> inputs</c><00:07:28.760><c> for</c><00:07:28.880><c> the</c><00:07:28.960><c> birds</c><00:07:29.240><c> will</c>

00:07:29.350 --> 00:07:29.360 align:start position:0%
brains. The inputs for the birds will
 

00:07:29.360 --> 00:07:31.110 align:start position:0%
brains. The inputs for the birds will
obviously<00:07:29.720><c> be</c><00:07:29.840><c> the</c><00:07:29.960><c> same</c><00:07:30.440><c> apart</c><00:07:30.640><c> from</c><00:07:30.880><c> their</c>

00:07:31.110 --> 00:07:31.120 align:start position:0%
obviously be the same apart from their
 

00:07:31.120 --> 00:07:33.030 align:start position:0%
obviously be the same apart from their
height<00:07:31.400><c> after</c><00:07:31.600><c> they've</c><00:07:31.760><c> become</c><00:07:32.040><c> jumping.</c>

00:07:33.030 --> 00:07:33.040 align:start position:0%
height after they've become jumping.
 

00:07:33.040 --> 00:07:34.950 align:start position:0%
height after they've become jumping.
But,<00:07:33.480><c> the</c><00:07:33.880><c> because</c><00:07:34.120><c> the</c><00:07:34.200><c> brains</c><00:07:34.520><c> are</c><00:07:34.600><c> wired</c>

00:07:34.950 --> 00:07:34.960 align:start position:0%
But, the because the brains are wired
 

00:07:34.960 --> 00:07:37.990 align:start position:0%
But, the because the brains are wired
differently,<00:07:35.920><c> the</c><00:07:36.480><c> the</c><00:07:36.600><c> way</c><00:07:36.800><c> they</c><00:07:37.000><c> act</c><00:07:37.520><c> in</c>

00:07:37.990 --> 00:07:38.000 align:start position:0%
differently, the the way they act in
 

00:07:38.000 --> 00:07:39.510 align:start position:0%
differently, the the way they act in
response<00:07:38.520><c> to</c><00:07:38.600><c> these</c><00:07:38.760><c> inputs</c><00:07:39.160><c> is</c><00:07:39.320><c> going</c><00:07:39.440><c> to</c>

00:07:39.510 --> 00:07:39.520 align:start position:0%
response to these inputs is going to
 

00:07:39.520 --> 00:07:41.030 align:start position:0%
response to these inputs is going to
actually<00:07:39.760><c> be</c><00:07:39.880><c> different.</c><00:07:40.240><c> So,</c><00:07:40.680><c> for</c><00:07:40.800><c> some</c><00:07:40.960><c> of</c>

00:07:41.030 --> 00:07:41.040 align:start position:0%
actually be different. So, for some of
 

00:07:41.040 --> 00:07:42.070 align:start position:0%
actually be different. So, for some of
the<00:07:41.080><c> birds,</c><00:07:41.360><c> they're</c><00:07:41.480><c> going</c><00:07:41.600><c> to</c><00:07:41.680><c> choose</c><00:07:41.960><c> to</c>

00:07:42.070 --> 00:07:42.080 align:start position:0%
the birds, they're going to choose to
 

00:07:42.080 --> 00:07:43.470 align:start position:0%
the birds, they're going to choose to
jump.<00:07:42.720><c> Some</c><00:07:42.920><c> of</c><00:07:42.960><c> them</c><00:07:43.080><c> are</c><00:07:43.120><c> going</c><00:07:43.240><c> to</c><00:07:43.320><c> choose</c>

00:07:43.470 --> 00:07:43.480 align:start position:0%
jump. Some of them are going to choose
 

00:07:43.480 --> 00:07:46.230 align:start position:0%
jump. Some of them are going to choose
to<00:07:43.600><c> not</c><00:07:43.760><c> jump.</c><00:07:44.040><c> And</c><00:07:44.680><c> over</c><00:07:44.920><c> time,</c><00:07:45.760><c> as</c><00:07:45.920><c> we'll</c><00:07:46.040><c> see</c>

00:07:46.230 --> 00:07:46.240 align:start position:0%
to not jump. And over time, as we'll see
 

00:07:46.240 --> 00:07:47.790 align:start position:0%
to not jump. And over time, as we'll see
later<00:07:46.520><c> on</c><00:07:46.640><c> as</c><00:07:46.760><c> we</c><00:07:46.840><c> actually</c><00:07:47.040><c> implement</c><00:07:47.360><c> the</c>

00:07:47.790 --> 00:07:47.800 align:start position:0%
later on as we actually implement the
 

00:07:47.800 --> 00:07:49.150 align:start position:0%
later on as we actually implement the
genetic<00:07:48.160><c> algorithm</c><00:07:48.600><c> to</c><00:07:48.720><c> actually</c><00:07:48.920><c> kind</c><00:07:49.080><c> of</c>

00:07:49.150 --> 00:07:49.160 align:start position:0%
genetic algorithm to actually kind of
 

00:07:49.160 --> 00:07:50.990 align:start position:0%
genetic algorithm to actually kind of
evolve<00:07:49.600><c> these</c><00:07:49.800><c> birds,</c><00:07:50.520><c> they</c><00:07:50.680><c> will</c><00:07:50.840><c> get</c>

00:07:50.990 --> 00:07:51.000 align:start position:0%
evolve these birds, they will get
 

00:07:51.000 --> 00:07:52.990 align:start position:0%
evolve these birds, they will get
progressively<00:07:51.520><c> smarter.</c><00:07:52.040><c> So,</c>

00:07:52.990 --> 00:07:53.000 align:start position:0%
progressively smarter. So,
 

00:07:53.000 --> 00:07:54.070 align:start position:0%
progressively smarter. So,
we're<00:07:53.200><c> just</c><00:07:53.320><c> going</c><00:07:53.440><c> to</c><00:07:53.520><c> run</c><00:07:53.640><c> it</c><00:07:53.720><c> first</c><00:07:53.920><c> of</c><00:07:54.000><c> all</c>

00:07:54.070 --> 00:07:54.080 align:start position:0%
we're just going to run it first of all
 

00:07:54.080 --> 00:07:56.390 align:start position:0%
we're just going to run it first of all
and<00:07:54.200><c> see</c><00:07:54.400><c> how</c><00:07:54.640><c> many</c><00:07:54.880><c> of</c><00:07:54.960><c> these</c><00:07:55.200><c> 1,000</c><00:07:55.720><c> birds</c>

00:07:56.390 --> 00:07:56.400 align:start position:0%
and see how many of these 1,000 birds
 

00:07:56.400 --> 00:07:58.910 align:start position:0%
and see how many of these 1,000 birds
make<00:07:56.640><c> it</c><00:07:56.840><c> through</c><00:07:57.080><c> the</c><00:07:57.160><c> pipe.</c><00:07:58.000><c> And</c><00:07:58.760><c> yeah,</c>

00:07:58.910 --> 00:07:58.920 align:start position:0%
make it through the pipe. And yeah,
 

00:07:58.920 --> 00:08:00.110 align:start position:0%
make it through the pipe. And yeah,
we'll<00:07:59.040><c> go</c><00:07:59.120><c> from</c><00:07:59.280><c> there.</c><00:07:59.440><c> So,</c><00:07:59.880><c> I'm</c><00:07:59.920><c> going</c><00:08:00.040><c> to</c>

00:08:00.110 --> 00:08:00.120 align:start position:0%
we'll go from there. So, I'm going to
 

00:08:00.120 --> 00:08:01.470 align:start position:0%
we'll go from there. So, I'm going to
click<00:08:00.320><c> start.</c><00:08:00.760><c> So,</c><00:08:00.840><c> you</c><00:08:00.920><c> can</c><00:08:01.000><c> see</c><00:08:01.080><c> we</c><00:08:01.200><c> have</c>

00:08:01.470 --> 00:08:01.480 align:start position:0%
click start. So, you can see we have
 

00:08:01.480 --> 00:08:02.670 align:start position:0%
click start. So, you can see we have
several<00:08:01.800><c> different</c><00:08:02.040><c> birds.</c><00:08:02.280><c> At</c><00:08:02.360><c> the</c><00:08:02.400><c> moment,</c>

00:08:02.670 --> 00:08:02.680 align:start position:0%
several different birds. At the moment,
 

00:08:02.680 --> 00:08:05.310 align:start position:0%
several different birds. At the moment,
they're<00:08:02.800><c> just</c><00:08:03.560><c> colored</c><00:08:03.920><c> boxes.</c><00:08:04.840><c> And</c><00:08:05.080><c> you</c><00:08:05.160><c> can</c>

00:08:05.310 --> 00:08:05.320 align:start position:0%
they're just colored boxes. And you can
 

00:08:05.320 --> 00:08:06.750 align:start position:0%
they're just colored boxes. And you can
see<00:08:05.680><c> the</c><00:08:05.840><c> amount</c><00:08:06.080><c> of</c><00:08:06.160><c> birds</c><00:08:06.360><c> that</c><00:08:06.480><c> are</c><00:08:06.520><c> left.</c>

00:08:06.750 --> 00:08:06.760 align:start position:0%
see the amount of birds that are left.
 

00:08:06.760 --> 00:08:07.990 align:start position:0%
see the amount of birds that are left.
So,<00:08:06.800><c> only</c><00:08:07.040><c> three</c><00:08:07.320><c> birds</c><00:08:07.560><c> have</c><00:08:07.640><c> made</c><00:08:07.880><c> it</c>

00:08:07.990 --> 00:08:08.000 align:start position:0%
So, only three birds have made it
 

00:08:08.000 --> 00:08:10.270 align:start position:0%
So, only three birds have made it
through<00:08:08.160><c> the</c><00:08:08.240><c> first</c><00:08:08.480><c> pipe.</c><00:08:09.280><c> And</c><00:08:09.920><c> there's</c><00:08:10.120><c> two</c>

00:08:10.270 --> 00:08:10.280 align:start position:0%
through the first pipe. And there's two
 

00:08:10.280 --> 00:08:11.470 align:start position:0%
through the first pipe. And there's two
left<00:08:10.560><c> and</c><00:08:10.640><c> now</c><00:08:10.720><c> they're</c><00:08:10.880><c> all</c><00:08:10.960><c> dead.</c><00:08:11.280><c> And</c><00:08:11.360><c> then</c>

00:08:11.470 --> 00:08:11.480 align:start position:0%
left and now they're all dead. And then
 

00:08:11.480 --> 00:08:14.190 align:start position:0%
left and now they're all dead. And then
the<00:08:11.560><c> new</c><00:08:11.760><c> generation</c><00:08:12.360><c> starts.</c><00:08:13.240><c> So,</c><00:08:13.840><c> this</c><00:08:14.080><c> is</c>

00:08:14.190 --> 00:08:14.200 align:start position:0%
the new generation starts. So, this is
 

00:08:14.200 --> 00:08:15.470 align:start position:0%
the new generation starts. So, this is
essentially<00:08:14.760><c> all</c><00:08:14.960><c> I've</c><00:08:15.040><c> implemented</c><00:08:15.400><c> at</c><00:08:15.440><c> the</c>

00:08:15.470 --> 00:08:15.480 align:start position:0%
essentially all I've implemented at the
 

00:08:15.480 --> 00:08:16.590 align:start position:0%
essentially all I've implemented at the
moment.<00:08:15.680><c> You</c><00:08:15.760><c> can</c><00:08:15.840><c> see</c><00:08:15.960><c> the</c><00:08:16.040><c> neural</c><00:08:16.280><c> network</c>

00:08:16.590 --> 00:08:16.600 align:start position:0%
moment. You can see the neural network
 

00:08:16.600 --> 00:08:19.350 align:start position:0%
moment. You can see the neural network
values<00:08:17.320><c> live</c><00:08:17.640><c> update</c><00:08:18.200><c> on</c><00:08:18.360><c> the</c><00:08:18.720><c> actual</c><00:08:18.960><c> diagram</c>

00:08:19.350 --> 00:08:19.360 align:start position:0%
values live update on the actual diagram
 

00:08:19.360 --> 00:08:20.150 align:start position:0%
values live update on the actual diagram
there.<00:08:19.520><c> You</c><00:08:19.560><c> can</c><00:08:19.680><c> see</c><00:08:19.800><c> them</c><00:08:19.920><c> quickly</c>

00:08:20.150 --> 00:08:20.160 align:start position:0%
there. You can see them quickly
 

00:08:20.160 --> 00:08:22.550 align:start position:0%
there. You can see them quickly
updating.<00:08:21.160><c> And</c><00:08:21.680><c> that</c><00:08:21.840><c> is</c><00:08:21.920><c> essentially</c><00:08:22.440><c> all</c>

00:08:22.550 --> 00:08:22.560 align:start position:0%
updating. And that is essentially all
 

00:08:22.560 --> 00:08:25.270 align:start position:0%
updating. And that is essentially all
that's<00:08:22.680><c> been</c><00:08:22.800><c> implemented.</c><00:08:23.200><c> So,</c><00:08:23.960><c> that</c><00:08:24.360><c> is</c><00:08:25.160><c> the</c>

00:08:25.270 --> 00:08:25.280 align:start position:0%
that's been implemented. So, that is the
 

00:08:25.280 --> 00:08:26.910 align:start position:0%
that's been implemented. So, that is the
way<00:08:25.480><c> it's</c><00:08:25.600><c> going</c><00:08:25.720><c> to</c><00:08:25.800><c> work</c><00:08:26.120><c> per</c><00:08:26.320><c> generation.</c>

00:08:26.910 --> 00:08:26.920 align:start position:0%
way it's going to work per generation.
 

00:08:26.920 --> 00:08:28.190 align:start position:0%
way it's going to work per generation.
So,<00:08:27.240><c> when</c><00:08:27.400><c> I've</c><00:08:27.480><c> actually</c><00:08:27.720><c> implemented</c><00:08:28.120><c> the</c>

00:08:28.190 --> 00:08:28.200 align:start position:0%
So, when I've actually implemented the
 

00:08:28.200 --> 00:08:29.950 align:start position:0%
So, when I've actually implemented the
genetic<00:08:28.720><c> algorithm,</c>

00:08:29.950 --> 00:08:29.960 align:start position:0%
genetic algorithm,
 

00:08:29.960 --> 00:08:31.270 align:start position:0%
genetic algorithm,
that's<00:08:30.200><c> going</c><00:08:30.360><c> to</c>

00:08:31.270 --> 00:08:31.280 align:start position:0%
that's going to
 

00:08:31.280 --> 00:08:32.670 align:start position:0%
that's going to
you<00:08:31.440><c> generate</c><00:08:32.000><c> a</c><00:08:32.039><c> series</c><00:08:32.320><c> of</c><00:08:32.400><c> birds,</c><00:08:32.640><c> a</c>

00:08:32.670 --> 00:08:32.680 align:start position:0%
you generate a series of birds, a
 

00:08:32.680 --> 00:08:34.430 align:start position:0%
you generate a series of birds, a
thousand<00:08:33.039><c> birds.</c><00:08:33.760><c> They</c><00:08:33.960><c> progress,</c><00:08:34.320><c> they</c>

00:08:34.430 --> 00:08:34.440 align:start position:0%
thousand birds. They progress, they
 

00:08:34.440 --> 00:08:37.430 align:start position:0%
thousand birds. They progress, they
play.<00:08:34.960><c> Whoever</c><00:08:35.240><c> survives</c><00:08:36.120><c> the</c><00:08:36.240><c> longest,</c>

00:08:37.430 --> 00:08:37.440 align:start position:0%
play. Whoever survives the longest,
 

00:08:37.440 --> 00:08:39.550 align:start position:0%
play. Whoever survives the longest,
you<00:08:37.719><c> use</c><00:08:37.960><c> that</c><00:08:38.200><c> bird</c><00:08:38.479><c> or</c><00:08:38.560><c> use</c><00:08:38.800><c> those</c><00:08:39.039><c> two</c><00:08:39.240><c> birds</c>

00:08:39.550 --> 00:08:39.560 align:start position:0%
you use that bird or use those two birds
 

00:08:39.560 --> 00:08:42.190 align:start position:0%
you use that bird or use those two birds
or<00:08:39.599><c> whatever</c><00:08:40.200><c> to</c><00:08:40.360><c> kind</c><00:08:40.560><c> of</c><00:08:40.680><c> generate</c><00:08:41.200><c> a</c><00:08:41.280><c> new</c>

00:08:42.190 --> 00:08:42.200 align:start position:0%
or whatever to kind of generate a new
 

00:08:42.200 --> 00:08:44.430 align:start position:0%
or whatever to kind of generate a new
generation<00:08:42.680><c> of</c><00:08:42.760><c> birds</c><00:08:43.599><c> kind</c><00:08:43.800><c> of</c><00:08:43.880><c> like</c><00:08:44.080><c> natural</c>

00:08:44.430 --> 00:08:44.440 align:start position:0%
generation of birds kind of like natural
 

00:08:44.440 --> 00:08:47.590 align:start position:0%
generation of birds kind of like natural
selection<00:08:45.360><c> in</c><00:08:45.720><c> biology.</c><00:08:46.400><c> So,</c><00:08:47.080><c> that's</c><00:08:47.400><c> how</c>

00:08:47.590 --> 00:08:47.600 align:start position:0%
selection in biology. So, that's how
 

00:08:47.600 --> 00:08:49.670 align:start position:0%
selection in biology. So, that's how
it's<00:08:47.720><c> going</c><00:08:47.840><c> to</c><00:08:48.080><c> evolve.</c><00:08:48.480><c> So,</c><00:08:48.640><c> over</c><00:08:49.360><c> however</c>

00:08:49.670 --> 00:08:49.680 align:start position:0%
it's going to evolve. So, over however
 

00:08:49.680 --> 00:08:51.990 align:start position:0%
it's going to evolve. So, over however
many<00:08:50.080><c> generations,</c><00:08:51.200><c> the</c><00:08:51.400><c> birds</c><00:08:51.840><c> will</c>

00:08:51.990 --> 00:08:52.000 align:start position:0%
many generations, the birds will
 

00:08:52.000 --> 00:08:53.310 align:start position:0%
many generations, the birds will
progressively<00:08:52.480><c> get</c><00:08:52.640><c> smarter</c><00:08:53.040><c> because</c>

00:08:53.310 --> 00:08:53.320 align:start position:0%
progressively get smarter because
 

00:08:53.320 --> 00:08:56.190 align:start position:0%
progressively get smarter because
they'll<00:08:53.520><c> be</c><00:08:53.680><c> regenerated</c><00:08:54.520><c> using</c><00:08:55.400><c> the</c><00:08:55.520><c> weights</c>

00:08:56.190 --> 00:08:56.200 align:start position:0%
they'll be regenerated using the weights
 

00:08:56.200 --> 00:08:58.630 align:start position:0%
they'll be regenerated using the weights
of<00:08:56.720><c> the</c><00:08:56.800><c> most</c><00:08:57.040><c> successful</c><00:08:57.560><c> bird.</c><00:08:57.920><c> So,</c>

00:08:58.630 --> 00:08:58.640 align:start position:0%
of the most successful bird. So,
 

00:08:58.640 --> 00:08:59.670 align:start position:0%
of the most successful bird. So,
obviously<00:08:58.920><c> they</c><00:08:59.000><c> won't</c><00:08:59.120><c> be</c><00:08:59.200><c> exactly</c><00:08:59.600><c> the</c>

00:08:59.670 --> 00:08:59.680 align:start position:0%
obviously they won't be exactly the
 

00:08:59.680 --> 00:09:00.910 align:start position:0%
obviously they won't be exactly the
same.<00:08:59.960><c> They</c><00:09:00.040><c> won't</c><00:09:00.160><c> be</c><00:09:00.280><c> clones</c><00:09:00.680><c> of</c><00:09:00.760><c> that</c>

00:09:00.910 --> 00:09:00.920 align:start position:0%
same. They won't be clones of that
 

00:09:00.920 --> 00:09:03.270 align:start position:0%
same. They won't be clones of that
successful<00:09:01.360><c> bird.</c><00:09:01.920><c> They'll</c><00:09:02.080><c> also</c><00:09:02.360><c> be</c><00:09:02.840><c> mutated</c>

00:09:03.270 --> 00:09:03.280 align:start position:0%
successful bird. They'll also be mutated
 

00:09:03.280 --> 00:09:04.230 align:start position:0%
successful bird. They'll also be mutated
a<00:09:03.320><c> little</c><00:09:03.480><c> bit</c><00:09:03.640><c> to</c><00:09:03.760><c> give</c><00:09:03.920><c> some</c><00:09:04.040><c> more</c>

00:09:04.230 --> 00:09:04.240 align:start position:0%
a little bit to give some more
 

00:09:04.240 --> 00:09:06.070 align:start position:0%
a little bit to give some more
randomization<00:09:05.400><c> so</c><00:09:05.520><c> that</c><00:09:05.640><c> they</c><00:09:05.760><c> can</c><00:09:05.880><c> then</c>

00:09:06.070 --> 00:09:06.080 align:start position:0%
randomization so that they can then
 

00:09:06.080 --> 00:09:07.990 align:start position:0%
randomization so that they can then
progress<00:09:06.440><c> even</c><00:09:06.640><c> further.</c><00:09:07.560><c> So,</c><00:09:07.800><c> we're</c><00:09:07.880><c> going</c>

00:09:07.990 --> 00:09:08.000 align:start position:0%
progress even further. So, we're going
 

00:09:08.000 --> 00:09:09.950 align:start position:0%
progress even further. So, we're going
to<00:09:08.040><c> quickly</c><00:09:08.320><c> look</c><00:09:08.480><c> up</c><00:09:08.680><c> the</c><00:09:09.000><c> genetic</c><00:09:09.480><c> algorithm</c>

00:09:09.950 --> 00:09:09.960 align:start position:0%
to quickly look up the genetic algorithm
 

00:09:09.960 --> 00:09:11.670 align:start position:0%
to quickly look up the genetic algorithm
just<00:09:10.120><c> so</c><00:09:10.200><c> I</c><00:09:10.280><c> can</c><00:09:10.400><c> show</c><00:09:10.560><c> you</c><00:09:10.680><c> guys</c><00:09:11.400><c> what</c><00:09:11.560><c> this</c>

00:09:11.670 --> 00:09:11.680 align:start position:0%
just so I can show you guys what this
 

00:09:11.680 --> 00:09:13.790 align:start position:0%
just so I can show you guys what this
all<00:09:11.840><c> is.</c><00:09:12.040><c> So,</c><00:09:12.480><c> genetic</c><00:09:12.920><c> algorithm</c><00:09:13.520><c> and</c><00:09:13.720><c> we'll</c>

00:09:13.790 --> 00:09:13.800 align:start position:0%
all is. So, genetic algorithm and we'll
 

00:09:13.800 --> 00:09:15.870 align:start position:0%
all is. So, genetic algorithm and we'll
type<00:09:14.040><c> in</c><00:09:14.160><c> neural</c><00:09:14.400><c> networks</c><00:09:14.840><c> because</c><00:09:15.640><c> we</c><00:09:15.720><c> want</c>

00:09:15.870 --> 00:09:15.880 align:start position:0%
type in neural networks because we want
 

00:09:15.880 --> 00:09:20.550 align:start position:0%
type in neural networks because we want
it<00:09:15.960><c> specifically</c><00:09:16.440><c> applied</c><00:09:16.680><c> to</c><00:09:16.800><c> that.</c>

00:09:20.550 --> 00:09:20.560 align:start position:0%
 
 

00:09:20.560 --> 00:09:22.670 align:start position:0%
 
And<00:09:21.600><c> you</c><00:09:21.680><c> can</c><00:09:21.800><c> see</c><00:09:21.920><c> this</c><00:09:22.160><c> link</c><00:09:22.360><c> here,</c><00:09:22.560><c> which</c>

00:09:22.670 --> 00:09:22.680 align:start position:0%
And you can see this link here, which
 

00:09:22.680 --> 00:09:24.670 align:start position:0%
And you can see this link here, which
I've<00:09:22.760><c> already</c><00:09:22.960><c> been</c><00:09:23.160><c> on</c><00:09:23.360><c> recently.</c>

00:09:24.670 --> 00:09:24.680 align:start position:0%
I've already been on recently.
 

00:09:24.680 --> 00:09:27.510 align:start position:0%
I've already been on recently.
So,<00:09:25.760><c> this</c><00:09:26.040><c> will</c><00:09:26.280><c> explain</c><00:09:26.800><c> roughly</c><00:09:27.160><c> what</c><00:09:27.400><c> the</c>

00:09:27.510 --> 00:09:27.520 align:start position:0%
So, this will explain roughly what the
 

00:09:27.520 --> 00:09:29.030 align:start position:0%
So, this will explain roughly what the
genetic<00:09:27.920><c> algorithm</c><00:09:28.360><c> is,</c><00:09:28.680><c> or</c><00:09:28.760><c> at</c><00:09:28.800><c> least</c><00:09:28.960><c> I'm</c>

00:09:29.030 --> 00:09:29.040 align:start position:0%
genetic algorithm is, or at least I'm
 

00:09:29.040 --> 00:09:30.630 align:start position:0%
genetic algorithm is, or at least I'm
hoping<00:09:29.320><c> so.</c><00:09:29.560><c> So,</c>

00:09:30.630 --> 00:09:30.640 align:start position:0%
hoping so. So,
 

00:09:30.640 --> 00:09:32.350 align:start position:0%
hoping so. So,
So,<00:09:30.880><c> how</c><00:09:31.000><c> do</c><00:09:31.120><c> genetic</c><00:09:31.440><c> algorithms</c><00:09:31.960><c> work?</c><00:09:32.200><c> Here</c>

00:09:32.350 --> 00:09:32.360 align:start position:0%
So, how do genetic algorithms work? Here
 

00:09:32.360 --> 00:09:34.310 align:start position:0%
So, how do genetic algorithms work? Here
are<00:09:32.440><c> five</c><00:09:33.000><c> or</c><00:09:33.080><c> sorry,</c><00:09:33.280><c> six</c><00:09:33.560><c> steps</c><00:09:34.200><c> that</c>

00:09:34.310 --> 00:09:34.320 align:start position:0%
are five or sorry, six steps that
 

00:09:34.320 --> 00:09:35.870 align:start position:0%
are five or sorry, six steps that
basically<00:09:34.640><c> show</c><00:09:34.840><c> this</c><00:09:35.040><c> process.</c><00:09:35.480><c> So,</c><00:09:35.600><c> first</c>

00:09:35.870 --> 00:09:35.880 align:start position:0%
basically show this process. So, first
 

00:09:35.880 --> 00:09:37.750 align:start position:0%
basically show this process. So, first
of<00:09:36.000><c> all,</c><00:09:36.400><c> we</c><00:09:36.560><c> create</c><00:09:36.880><c> a</c><00:09:36.920><c> population</c><00:09:37.560><c> of</c>

00:09:37.750 --> 00:09:37.760 align:start position:0%
of all, we create a population of
 

00:09:37.760 --> 00:09:39.550 align:start position:0%
of all, we create a population of
randomly<00:09:38.320><c> generated</c><00:09:38.880><c> members,</c><00:09:39.280><c> which</c><00:09:39.440><c> has</c>

00:09:39.550 --> 00:09:39.560 align:start position:0%
randomly generated members, which has
 

00:09:39.560 --> 00:09:40.710 align:start position:0%
randomly generated members, which has
already<00:09:39.840><c> been</c><00:09:39.960><c> implemented</c><00:09:40.400><c> as</c><00:09:40.520><c> I</c><00:09:40.560><c> just</c>

00:09:40.710 --> 00:09:40.720 align:start position:0%
already been implemented as I just
 

00:09:40.720 --> 00:09:41.870 align:start position:0%
already been implemented as I just
showed<00:09:40.880><c> you</c><00:09:40.960><c> guys.</c><00:09:41.200><c> So,</c><00:09:41.280><c> we</c><00:09:41.360><c> generate</c><00:09:41.840><c> a</c>

00:09:41.870 --> 00:09:41.880 align:start position:0%
showed you guys. So, we generate a
 

00:09:41.880 --> 00:09:44.870 align:start position:0%
showed you guys. So, we generate a
thousand<00:09:42.320><c> birds</c><00:09:43.000><c> each</c><00:09:43.240><c> with</c><00:09:43.440><c> random</c><00:09:43.800><c> brains.</c>

00:09:44.870 --> 00:09:44.880 align:start position:0%
thousand birds each with random brains.
 

00:09:44.880 --> 00:09:46.590 align:start position:0%
thousand birds each with random brains.
Then<00:09:45.240><c> we</c><00:09:45.440><c> score</c><00:09:45.920><c> each</c><00:09:46.160><c> member</c><00:09:46.480><c> of</c><00:09:46.560><c> the</c>

00:09:46.590 --> 00:09:46.600 align:start position:0%
Then we score each member of the
 

00:09:46.600 --> 00:09:48.790 align:start position:0%
Then we score each member of the
population<00:09:47.280><c> based</c><00:09:47.680><c> on</c><00:09:48.000><c> some</c><00:09:48.320><c> goal.</c><00:09:48.600><c> And</c><00:09:48.680><c> this</c>

00:09:48.790 --> 00:09:48.800 align:start position:0%
population based on some goal. And this
 

00:09:48.800 --> 00:09:50.270 align:start position:0%
population based on some goal. And this
is<00:09:48.920><c> known</c><00:09:49.040><c> as</c><00:09:49.160><c> the</c><00:09:49.240><c> fitness</c><00:09:49.600><c> function.</c><00:09:50.000><c> So,</c><00:09:50.160><c> in</c>

00:09:50.270 --> 00:09:50.280 align:start position:0%
is known as the fitness function. So, in
 

00:09:50.280 --> 00:09:52.190 align:start position:0%
is known as the fitness function. So, in
the<00:09:50.360><c> case</c><00:09:50.640><c> of</c><00:09:50.760><c> Flappy</c><00:09:51.040><c> Bird,</c><00:09:51.680><c> the</c><00:09:51.800><c> fitness</c>

00:09:52.190 --> 00:09:52.200 align:start position:0%
the case of Flappy Bird, the fitness
 

00:09:52.200 --> 00:09:54.510 align:start position:0%
the case of Flappy Bird, the fitness
function<00:09:52.600><c> of</c><00:09:52.720><c> a</c><00:09:52.800><c> bird</c><00:09:53.200><c> is</c><00:09:53.320><c> going</c><00:09:53.480><c> to</c><00:09:53.560><c> be</c><00:09:54.240><c> how</c>

00:09:54.510 --> 00:09:54.520 align:start position:0%
function of a bird is going to be how
 

00:09:54.520 --> 00:09:56.510 align:start position:0%
function of a bird is going to be how
well<00:09:54.680><c> it</c><00:09:54.800><c> does</c><00:09:55.040><c> at</c><00:09:55.160><c> the</c><00:09:55.240><c> game.</c><00:09:55.600><c> So,</c><00:09:55.960><c> how</c><00:09:56.280><c> many</c>

00:09:56.510 --> 00:09:56.520 align:start position:0%
well it does at the game. So, how many
 

00:09:56.520 --> 00:09:58.910 align:start position:0%
well it does at the game. So, how many
pipes<00:09:56.840><c> it</c><00:09:57.000><c> makes</c><00:09:57.560><c> through</c><00:09:57.760><c> before</c><00:09:58.000><c> it</c><00:09:58.080><c> dies.</c>

00:09:58.910 --> 00:09:58.920 align:start position:0%
pipes it makes through before it dies.
 

00:09:58.920 --> 00:10:00.670 align:start position:0%
pipes it makes through before it dies.
So,<00:09:59.640><c> that</c><00:09:59.760><c> will</c><00:09:59.880><c> be,</c><00:10:00.120><c> for</c><00:10:00.240><c> example,</c><00:10:00.560><c> in</c><00:10:00.600><c> the</c>

00:10:00.670 --> 00:10:00.680 align:start position:0%
So, that will be, for example, in the
 

00:10:00.680 --> 00:10:01.870 align:start position:0%
So, that will be, for example, in the
last<00:10:00.920><c> example,</c><00:10:01.280><c> I</c><00:10:01.320><c> think</c><00:10:01.480><c> they</c><00:10:01.600><c> made</c><00:10:01.800><c> it</c>

00:10:01.870 --> 00:10:01.880 align:start position:0%
last example, I think they made it
 

00:10:01.880 --> 00:10:03.390 align:start position:0%
last example, I think they made it
through<00:10:02.040><c> two</c><00:10:02.200><c> pipes,</c><00:10:02.520><c> so</c><00:10:02.600><c> that</c><00:10:02.720><c> would</c><00:10:02.800><c> be</c><00:10:03.120><c> two</c>

00:10:03.390 --> 00:10:03.400 align:start position:0%
through two pipes, so that would be two
 

00:10:03.400 --> 00:10:05.670 align:start position:0%
through two pipes, so that would be two
for<00:10:03.520><c> those</c><00:10:03.720><c> last</c><00:10:04.080><c> surviving</c><00:10:04.480><c> birds.</c>

00:10:05.670 --> 00:10:05.680 align:start position:0%
for those last surviving birds.
 

00:10:05.680 --> 00:10:07.950 align:start position:0%
for those last surviving birds.
Then<00:10:05.800><c> what</c><00:10:05.920><c> we</c><00:10:06.000><c> do</c><00:10:06.160><c> is</c><00:10:06.240><c> we</c><00:10:06.360><c> select</c><00:10:07.040><c> the</c><00:10:07.120><c> most</c>

00:10:07.950 --> 00:10:07.960 align:start position:0%
Then what we do is we select the most
 

00:10:07.960 --> 00:10:10.990 align:start position:0%
Then what we do is we select the most
fit<00:10:08.200><c> birds,</c><00:10:08.920><c> and</c><00:10:09.120><c> we</c><00:10:09.240><c> breed</c><00:10:09.640><c> them</c><00:10:10.280><c> to</c><00:10:10.680><c> create</c><00:10:10.960><c> a</c>

00:10:10.990 --> 00:10:11.000 align:start position:0%
fit birds, and we breed them to create a
 

00:10:11.000 --> 00:10:12.510 align:start position:0%
fit birds, and we breed them to create a
new<00:10:11.200><c> generation,</c>

00:10:12.510 --> 00:10:12.520 align:start position:0%
new generation,
 

00:10:12.520 --> 00:10:15.350 align:start position:0%
new generation,
which,<00:10:12.880><c> as</c><00:10:13.040><c> I</c><00:10:13.080><c> said,</c><00:10:13.800><c> we</c><00:10:13.960><c> use</c><00:10:14.200><c> their</c><00:10:14.880><c> genes</c>

00:10:15.350 --> 00:10:15.360 align:start position:0%
which, as I said, we use their genes
 

00:10:15.360 --> 00:10:16.670 align:start position:0%
which, as I said, we use their genes
essentially,<00:10:15.920><c> what's</c><00:10:16.200><c> basically</c><00:10:16.520><c> their</c>

00:10:16.670 --> 00:10:16.680 align:start position:0%
essentially, what's basically their
 

00:10:16.680 --> 00:10:18.470 align:start position:0%
essentially, what's basically their
weights<00:10:17.040><c> in</c><00:10:17.120><c> their</c><00:10:17.240><c> neural</c><00:10:17.440><c> network.</c><00:10:18.160><c> We</c><00:10:18.320><c> use</c>

00:10:18.470 --> 00:10:18.480 align:start position:0%
weights in their neural network. We use
 

00:10:18.480 --> 00:10:19.750 align:start position:0%
weights in their neural network. We use
these<00:10:18.680><c> weights</c><00:10:19.000><c> to</c><00:10:19.120><c> generate</c><00:10:19.480><c> another</c>

00:10:19.750 --> 00:10:19.760 align:start position:0%
these weights to generate another
 

00:10:19.760 --> 00:10:22.390 align:start position:0%
these weights to generate another
generation<00:10:20.160><c> of</c><00:10:20.240><c> birds</c><00:10:21.000><c> who</c><00:10:21.240><c> have</c><00:10:21.720><c> not</c><00:10:22.040><c> random</c>

00:10:22.390 --> 00:10:22.400 align:start position:0%
generation of birds who have not random
 

00:10:22.400 --> 00:10:24.150 align:start position:0%
generation of birds who have not random
brains<00:10:22.640><c> this</c><00:10:22.760><c> time,</c><00:10:22.960><c> but</c><00:10:23.120><c> brains</c><00:10:23.600><c> based</c><00:10:24.000><c> off</c>

00:10:24.150 --> 00:10:24.160 align:start position:0%
brains this time, but brains based off
 

00:10:24.160 --> 00:10:26.390 align:start position:0%
brains this time, but brains based off
of<00:10:24.280><c> the</c><00:10:24.400><c> most</c><00:10:24.640><c> successful</c><00:10:25.160><c> brain.</c><00:10:25.960><c> So,</c><00:10:26.160><c> again,</c>

00:10:26.390 --> 00:10:26.400 align:start position:0%
of the most successful brain. So, again,
 

00:10:26.400 --> 00:10:27.550 align:start position:0%
of the most successful brain. So, again,
it<00:10:26.480><c> won't</c><00:10:26.600><c> be</c><00:10:26.720><c> exactly</c><00:10:27.080><c> the</c><00:10:27.160><c> same.</c><00:10:27.400><c> There'll</c>

00:10:27.550 --> 00:10:27.560 align:start position:0%
it won't be exactly the same. There'll
 

00:10:27.560 --> 00:10:28.910 align:start position:0%
it won't be exactly the same. There'll
be<00:10:27.680><c> some</c><00:10:27.840><c> mutations,</c><00:10:28.440><c> as</c><00:10:28.480><c> you</c><00:10:28.560><c> can</c><00:10:28.640><c> see</c><00:10:28.760><c> in</c><00:10:28.840><c> the</c>

00:10:28.910 --> 00:10:28.920 align:start position:0%
be some mutations, as you can see in the
 

00:10:28.920 --> 00:10:31.030 align:start position:0%
be some mutations, as you can see in the
next<00:10:29.160><c> step.</c><00:10:29.680><c> Mutate</c><00:10:30.160><c> some</c><00:10:30.600><c> some</c><00:10:30.760><c> members</c>

00:10:31.030 --> 00:10:31.040 align:start position:0%
next step. Mutate some some members
 

00:10:31.040 --> 00:10:32.990 align:start position:0%
next step. Mutate some some members
randomly<00:10:31.760><c> to</c><00:10:31.840><c> attempt</c><00:10:32.080><c> to</c><00:10:32.160><c> find</c><00:10:32.440><c> even</c><00:10:32.720><c> better</c>

00:10:32.990 --> 00:10:33.000 align:start position:0%
randomly to attempt to find even better
 

00:10:33.000 --> 00:10:34.390 align:start position:0%
randomly to attempt to find even better
candidates.<00:10:33.520><c> So,</c><00:10:33.600><c> this</c><00:10:33.760><c> is</c><00:10:33.880><c> how</c><00:10:34.040><c> natural</c>

00:10:34.390 --> 00:10:34.400 align:start position:0%
candidates. So, this is how natural
 

00:10:34.400 --> 00:10:36.550 align:start position:0%
candidates. So, this is how natural
selection<00:10:34.800><c> works</c><00:10:35.200><c> in</c><00:10:35.360><c> biology.</c><00:10:36.200><c> You</c><00:10:36.320><c> have</c>

00:10:36.550 --> 00:10:36.560 align:start position:0%
selection works in biology. You have
 

00:10:36.560 --> 00:10:39.150 align:start position:0%
selection works in biology. You have
random<00:10:36.920><c> genetic</c><00:10:37.320><c> mutations,</c><00:10:38.360><c> and</c><00:10:38.600><c> the</c><00:10:39.120><c> the</c>

00:10:39.150 --> 00:10:39.160 align:start position:0%
random genetic mutations, and the the
 

00:10:39.160 --> 00:10:41.270 align:start position:0%
random genetic mutations, and the the
those<00:10:39.880><c> those</c><00:10:40.120><c> genes</c><00:10:40.680><c> result</c><00:10:41.000><c> in</c><00:10:41.120><c> new</c>

00:10:41.270 --> 00:10:41.280 align:start position:0%
those those genes result in new
 

00:10:41.280 --> 00:10:43.110 align:start position:0%
those those genes result in new
characteristics<00:10:41.880><c> forming.</c>

00:10:43.110 --> 00:10:43.120 align:start position:0%
characteristics forming.
 

00:10:43.120 --> 00:10:44.990 align:start position:0%
characteristics forming.
And<00:10:43.240><c> obviously,</c><00:10:43.520><c> the</c><00:10:43.640><c> more</c><00:10:44.480><c> preferable</c>

00:10:44.990 --> 00:10:45.000 align:start position:0%
And obviously, the more preferable
 

00:10:45.000 --> 00:10:46.470 align:start position:0%
And obviously, the more preferable
characteristics<00:10:45.720><c> in</c><00:10:45.840><c> terms</c><00:10:46.080><c> of</c><00:10:46.200><c> playing</c><00:10:46.440><c> the</c>

00:10:46.470 --> 00:10:46.480 align:start position:0%
characteristics in terms of playing the
 

00:10:46.480 --> 00:10:49.190 align:start position:0%
characteristics in terms of playing the
game<00:10:47.120><c> are</c><00:10:47.240><c> the</c><00:10:47.320><c> ones</c><00:10:47.560><c> we</c><00:10:47.640><c> want</c><00:10:47.760><c> to</c><00:10:47.800><c> keep.</c>

00:10:49.190 --> 00:10:49.200 align:start position:0%
game are the ones we want to keep.
 

00:10:49.200 --> 00:10:51.430 align:start position:0%
game are the ones we want to keep.
Then<00:10:49.280><c> we</c><00:10:49.400><c> kill</c><00:10:49.560><c> off</c><00:10:49.680><c> the</c><00:10:49.800><c> rest,</c><00:10:50.520><c> and</c><00:10:50.920><c> we</c><00:10:51.040><c> repeat</c>

00:10:51.430 --> 00:10:51.440 align:start position:0%
Then we kill off the rest, and we repeat
 

00:10:51.440 --> 00:10:53.590 align:start position:0%
Then we kill off the rest, and we repeat
that<00:10:51.720><c> step</c><00:10:52.280><c> until</c>

00:10:53.590 --> 00:10:53.600 align:start position:0%
that step until
 

00:10:53.600 --> 00:10:56.030 align:start position:0%
that step until
uh<00:10:53.680><c> we</c><00:10:53.880><c> find</c><00:10:54.840><c> a</c><00:10:54.960><c> perfect</c><00:10:55.360><c> generation</c><00:10:55.880><c> or</c><00:10:56.000><c> a</c>

00:10:56.030 --> 00:10:56.040 align:start position:0%
uh we find a perfect generation or a
 

00:10:56.040 --> 00:10:57.910 align:start position:0%
uh we find a perfect generation or a
perfect<00:10:56.480><c> bird</c><00:10:57.160><c> to</c><00:10:57.280><c> play</c><00:10:57.440><c> the</c><00:10:57.520><c> game.</c><00:10:57.800><c> So,</c>

00:10:57.910 --> 00:10:57.920 align:start position:0%
perfect bird to play the game. So,
 

00:10:57.920 --> 00:10:59.070 align:start position:0%
perfect bird to play the game. So,
that's<00:10:58.080><c> essentially</c><00:10:58.480><c> the</c><00:10:58.800><c> kind</c><00:10:58.960><c> of</c><00:10:59.040><c> a</c>

00:10:59.070 --> 00:10:59.080 align:start position:0%
that's essentially the kind of a
 

00:10:59.080 --> 00:11:00.150 align:start position:0%
that's essentially the kind of a
high-level

00:11:00.150 --> 00:11:00.160 align:start position:0%
high-level
 

00:11:00.160 --> 00:11:01.790 align:start position:0%
high-level
uh<00:11:00.320><c> method</c><00:11:00.560><c> of</c><00:11:00.680><c> how</c><00:11:00.839><c> these</c><00:11:01.320><c> genetic</c>

00:11:01.790 --> 00:11:01.800 align:start position:0%
uh method of how these genetic
 

00:11:01.800 --> 00:11:03.350 align:start position:0%
uh method of how these genetic
algorithms<00:11:02.280><c> work.</c>

00:11:03.350 --> 00:11:03.360 align:start position:0%
algorithms work.
 

00:11:03.360 --> 00:11:04.870 align:start position:0%
algorithms work.
So,<00:11:03.440><c> we</c><00:11:03.560><c> use</c><00:11:03.720><c> breeding,</c><00:11:04.200><c> where</c><00:11:04.360><c> we</c><00:11:04.480><c> take</c><00:11:04.720><c> two</c>

00:11:04.870 --> 00:11:04.880 align:start position:0%
So, we use breeding, where we take two
 

00:11:04.880 --> 00:11:06.670 align:start position:0%
So, we use breeding, where we take two
members<00:11:05.120><c> of</c><00:11:05.240><c> a</c><00:11:05.280><c> population</c><00:11:05.880><c> and</c><00:11:06.000><c> generate</c><00:11:06.480><c> one</c>

00:11:06.670 --> 00:11:06.680 align:start position:0%
members of a population and generate one
 

00:11:06.680 --> 00:11:08.430 align:start position:0%
members of a population and generate one
or<00:11:06.760><c> more</c><00:11:06.960><c> child,</c><00:11:07.680><c> where</c><00:11:07.839><c> that</c><00:11:08.080><c> child</c>

00:11:08.430 --> 00:11:08.440 align:start position:0%
or more child, where that child
 

00:11:08.440 --> 00:11:10.510 align:start position:0%
or more child, where that child
represents<00:11:08.880><c> a</c><00:11:08.920><c> combination</c><00:11:09.720><c> of</c><00:11:09.880><c> its</c><00:11:10.040><c> parents.</c>

00:11:10.510 --> 00:11:10.520 align:start position:0%
represents a combination of its parents.
 

00:11:10.520 --> 00:11:12.750 align:start position:0%
represents a combination of its parents.
So,<00:11:10.640><c> just</c><00:11:10.920><c> again,</c><00:11:11.160><c> within</c><00:11:11.400><c> biology,</c><00:11:12.360><c> the</c>

00:11:12.750 --> 00:11:12.760 align:start position:0%
So, just again, within biology, the
 

00:11:12.760 --> 00:11:15.829 align:start position:0%
So, just again, within biology, the
genes<00:11:13.120><c> are</c><00:11:13.160><c> kind</c><00:11:13.400><c> of</c><00:11:13.800><c> crossed</c><00:11:14.240><c> over</c><00:11:15.000><c> to</c><00:11:15.520><c> create</c>

00:11:15.829 --> 00:11:15.839 align:start position:0%
genes are kind of crossed over to create
 

00:11:15.839 --> 00:11:18.110 align:start position:0%
genes are kind of crossed over to create
a<00:11:15.880><c> new</c><00:11:16.400><c> gene</c><00:11:16.960><c> a</c><00:11:17.000><c> new</c><00:11:17.160><c> gene</c><00:11:17.360><c> pattern</c><00:11:17.720><c> for</c><00:11:17.960><c> this</c>

00:11:18.110 --> 00:11:18.120 align:start position:0%
a new gene a new gene pattern for this
 

00:11:18.120 --> 00:11:19.790 align:start position:0%
a new gene a new gene pattern for this
new<00:11:18.280><c> bird,</c><00:11:19.040><c> and</c><00:11:19.200><c> then</c><00:11:19.280><c> it's</c><00:11:19.400><c> going</c><00:11:19.520><c> to</c><00:11:19.600><c> have</c><00:11:19.720><c> a</c>

00:11:19.790 --> 00:11:19.800 align:start position:0%
new bird, and then it's going to have a
 

00:11:19.800 --> 00:11:20.630 align:start position:0%
new bird, and then it's going to have a
kind<00:11:19.920><c> of</c><00:11:20.000><c> a</c><00:11:20.040><c> mixture</c><00:11:20.360><c> of</c><00:11:20.440><c> both</c>

00:11:20.630 --> 00:11:20.640 align:start position:0%
kind of a mixture of both
 

00:11:20.640 --> 00:11:22.390 align:start position:0%
kind of a mixture of both
characteristics<00:11:21.240><c> from</c><00:11:21.480><c> the</c><00:11:21.600><c> parents.</c><00:11:22.280><c> So,</c>

00:11:22.390 --> 00:11:22.400 align:start position:0%
characteristics from the parents. So,
 

00:11:22.400 --> 00:11:24.350 align:start position:0%
characteristics from the parents. So,
here's<00:11:22.600><c> a</c><00:11:22.640><c> post</c><00:11:23.000><c> on</c><00:11:23.240><c> stackoverflow.com,</c><00:11:24.240><c> and</c>

00:11:24.350 --> 00:11:24.360 align:start position:0%
here's a post on stackoverflow.com, and
 

00:11:24.360 --> 00:11:25.710 align:start position:0%
here's a post on stackoverflow.com, and
this<00:11:24.480><c> gives</c><00:11:24.640><c> you</c><00:11:24.720><c> kind</c><00:11:24.880><c> of</c><00:11:25.040><c> tips</c><00:11:25.240><c> on</c><00:11:25.360><c> how</c><00:11:25.560><c> to</c>

00:11:25.710 --> 00:11:25.720 align:start position:0%
this gives you kind of tips on how to
 

00:11:25.720 --> 00:11:28.670 align:start position:0%
this gives you kind of tips on how to
actually<00:11:26.680><c> uh</c><00:11:26.800><c> genetically</c><00:11:27.360><c> mutate</c><00:11:28.240><c> the</c>

00:11:28.670 --> 00:11:28.680 align:start position:0%
actually uh genetically mutate the
 

00:11:28.680 --> 00:11:30.750 align:start position:0%
actually uh genetically mutate the
weights<00:11:29.040><c> of</c><00:11:29.120><c> a</c><00:11:29.160><c> neural</c><00:11:29.400><c> network.</c><00:11:29.800><c> So,</c><00:11:30.560><c> here</c>

00:11:30.750 --> 00:11:30.760 align:start position:0%
weights of a neural network. So, here
 

00:11:30.760 --> 00:11:32.590 align:start position:0%
weights of a neural network. So, here
you<00:11:30.839><c> can</c><00:11:30.960><c> see</c><00:11:31.160><c> it</c><00:11:31.280><c> says</c><00:11:31.800><c> uh</c><00:11:31.960><c> swap</c><00:11:32.320><c> either</c>

00:11:32.590 --> 00:11:32.600 align:start position:0%
you can see it says uh swap either
 

00:11:32.600 --> 00:11:33.910 align:start position:0%
you can see it says uh swap either
single<00:11:32.920><c> weights</c><00:11:33.240><c> or</c><00:11:33.360><c> all</c><00:11:33.480><c> weights</c><00:11:33.760><c> for</c><00:11:33.880><c> a</c>

00:11:33.910 --> 00:11:33.920 align:start position:0%
single weights or all weights for a
 

00:11:33.920 --> 00:11:36.910 align:start position:0%
single weights or all weights for a
given<00:11:34.200><c> neuron</c><00:11:34.720><c> in</c><00:11:34.839><c> the</c><00:11:34.920><c> network.</c><00:11:35.880><c> Um</c><00:11:36.680><c> we</c><00:11:36.800><c> can</c>

00:11:36.910 --> 00:11:36.920 align:start position:0%
given neuron in the network. Um we can
 

00:11:36.920 --> 00:11:39.070 align:start position:0%
given neuron in the network. Um we can
swap<00:11:37.120><c> an</c><00:11:37.200><c> entire</c><00:11:37.560><c> layer's</c><00:11:37.880><c> weights.</c><00:11:38.880><c> And</c><00:11:38.960><c> then</c>

00:11:39.070 --> 00:11:39.080 align:start position:0%
swap an entire layer's weights. And then
 

00:11:39.080 --> 00:11:40.750 align:start position:0%
swap an entire layer's weights. And then
for<00:11:39.240><c> the</c><00:11:39.320><c> mutation,</c><00:11:40.000><c> we</c><00:11:40.160><c> can</c><00:11:40.280><c> completely</c>

00:11:40.750 --> 00:11:40.760 align:start position:0%
for the mutation, we can completely
 

00:11:40.760 --> 00:11:42.270 align:start position:0%
for the mutation, we can completely
replace<00:11:41.120><c> it</c><00:11:41.200><c> with</c><00:11:41.320><c> a</c><00:11:41.360><c> random</c><00:11:41.680><c> value.</c><00:11:41.960><c> So,</c><00:11:42.120><c> one</c>

00:11:42.270 --> 00:11:42.280 align:start position:0%
replace it with a random value. So, one
 

00:11:42.280 --> 00:11:43.430 align:start position:0%
replace it with a random value. So, one
of<00:11:42.360><c> the</c><00:11:42.440><c> weights,</c><00:11:42.680><c> we</c><00:11:42.760><c> could</c><00:11:42.920><c> just</c><00:11:43.160><c> change</c>

00:11:43.430 --> 00:11:43.440 align:start position:0%
of the weights, we could just change
 

00:11:43.440 --> 00:11:45.350 align:start position:0%
of the weights, we could just change
that<00:11:43.600><c> completely</c><00:11:44.040><c> to</c><00:11:44.160><c> a</c><00:11:44.200><c> random</c><00:11:44.440><c> value.</c><00:11:45.240><c> We</c>

00:11:45.350 --> 00:11:45.360 align:start position:0%
that completely to a random value. We
 

00:11:45.360 --> 00:11:46.430 align:start position:0%
that completely to a random value. We
could<00:11:45.520><c> change</c><00:11:45.800><c> the</c><00:11:45.880><c> weight</c><00:11:46.080><c> by</c><00:11:46.240><c> some</c>

00:11:46.430 --> 00:11:46.440 align:start position:0%
could change the weight by some
 

00:11:46.440 --> 00:11:48.230 align:start position:0%
could change the weight by some
percentage,<00:11:47.120><c> so</c><00:11:47.280><c> it's</c><00:11:47.400><c> kind</c><00:11:47.600><c> of</c><00:11:47.839><c> slightly</c>

00:11:48.230 --> 00:11:48.240 align:start position:0%
percentage, so it's kind of slightly
 

00:11:48.240 --> 00:11:50.590 align:start position:0%
percentage, so it's kind of slightly
adjusted<00:11:48.920><c> either</c><00:11:49.440><c> up</c><00:11:49.600><c> or</c><00:11:49.680><c> down.</c>

00:11:50.590 --> 00:11:50.600 align:start position:0%
adjusted either up or down.
 

00:11:50.600 --> 00:11:52.590 align:start position:0%
adjusted either up or down.
Uh<00:11:50.920><c> subtract</c><00:11:51.720><c> add</c><00:11:51.880><c> or</c><00:11:51.960><c> subtract</c><00:11:52.320><c> a</c><00:11:52.360><c> value</c>

00:11:52.590 --> 00:11:52.600 align:start position:0%
Uh subtract add or subtract a value
 

00:11:52.600 --> 00:11:54.510 align:start position:0%
Uh subtract add or subtract a value
between<00:11:52.880><c> 0</c><00:11:53.120><c> and</c><00:11:53.240><c> 1.</c><00:11:53.720><c> Change</c><00:11:54.000><c> the</c><00:11:54.080><c> sign</c><00:11:54.400><c> of</c><00:11:54.480><c> a</c>

00:11:54.510 --> 00:11:54.520 align:start position:0%
between 0 and 1. Change the sign of a
 

00:11:54.520 --> 00:11:55.829 align:start position:0%
between 0 and 1. Change the sign of a
weight,<00:11:54.760><c> so</c><00:11:54.880><c> it</c><00:11:54.960><c> goes</c><00:11:55.200><c> from</c><00:11:55.320><c> negative</c><00:11:55.720><c> to</c>

00:11:55.829 --> 00:11:55.839 align:start position:0%
weight, so it goes from negative to
 

00:11:55.839 --> 00:11:58.750 align:start position:0%
weight, so it goes from negative to
positive<00:11:56.280><c> or</c><00:11:56.400><c> positive</c><00:11:56.720><c> to</c><00:11:56.800><c> negative.</c><00:11:57.800><c> And</c><00:11:58.680><c> uh</c>

00:11:58.750 --> 00:11:58.760 align:start position:0%
positive or positive to negative. And uh
 

00:11:58.760 --> 00:12:00.390 align:start position:0%
positive or positive to negative. And uh
swap<00:11:59.080><c> weights</c><00:11:59.400><c> on</c><00:11:59.520><c> a</c><00:11:59.560><c> single</c><00:11:59.880><c> neuron.</c><00:12:00.200><c> So,</c>

00:12:00.390 --> 00:12:00.400 align:start position:0%
swap weights on a single neuron. So,
 

00:12:00.400 --> 00:12:01.670 align:start position:0%
swap weights on a single neuron. So,
there's<00:12:00.640><c> various</c><00:12:00.880><c> different</c><00:12:01.080><c> ways.</c><00:12:01.280><c> The</c><00:12:01.440><c> idea</c>

00:12:01.670 --> 00:12:01.680 align:start position:0%
there's various different ways. The idea
 

00:12:01.680 --> 00:12:03.430 align:start position:0%
there's various different ways. The idea
is<00:12:01.800><c> basically</c><00:12:02.080><c> just</c><00:12:02.320><c> kind</c><00:12:02.520><c> of</c><00:12:02.760><c> randomize</c><00:12:03.320><c> it</c><00:12:03.400><c> a</c>

00:12:03.430 --> 00:12:03.440 align:start position:0%
is basically just kind of randomize it a
 

00:12:03.440 --> 00:12:05.790 align:start position:0%
is basically just kind of randomize it a
little<00:12:03.680><c> bit</c><00:12:03.920><c> while</c><00:12:04.120><c> still</c><00:12:04.440><c> keeping</c><00:12:05.320><c> some</c><00:12:05.560><c> kind</c>

00:12:05.790 --> 00:12:05.800 align:start position:0%
little bit while still keeping some kind
 

00:12:05.800 --> 00:12:08.550 align:start position:0%
little bit while still keeping some kind
of<00:12:06.400><c> basis</c><00:12:07.000><c> from</c><00:12:07.560><c> the</c><00:12:07.680><c> parents</c><00:12:08.040><c> or</c><00:12:08.240><c> some</c><00:12:08.400><c> kind</c>

00:12:08.550 --> 00:12:08.560 align:start position:0%
of basis from the parents or some kind
 

00:12:08.560 --> 00:12:11.070 align:start position:0%
of basis from the parents or some kind
of<00:12:09.040><c> uh</c><00:12:09.120><c> inheritance</c><00:12:09.600><c> from</c><00:12:09.720><c> the</c><00:12:09.800><c> parent.</c><00:12:10.760><c> So,</c>

00:12:11.070 --> 00:12:11.080 align:start position:0%
of uh inheritance from the parent. So,
 

00:12:11.080 --> 00:12:12.150 align:start position:0%
of uh inheritance from the parent. So,
we're<00:12:11.160><c> going</c><00:12:11.280><c> to</c><00:12:11.320><c> try</c><00:12:11.440><c> and</c><00:12:11.520><c> implement</c><00:12:11.800><c> this</c><00:12:11.960><c> in</c>

00:12:12.150 --> 00:12:12.160 align:start position:0%
we're going to try and implement this in
 

00:12:12.160 --> 00:12:14.110 align:start position:0%
we're going to try and implement this in
code<00:12:12.480><c> now</c><00:12:12.640><c> to</c><00:12:12.760><c> see</c><00:12:13.000><c> how</c><00:12:13.160><c> this</c><00:12:13.320><c> actually</c><00:12:13.640><c> goes.</c>

00:12:14.110 --> 00:12:14.120 align:start position:0%
code now to see how this actually goes.
 

00:12:14.120 --> 00:12:15.430 align:start position:0%
code now to see how this actually goes.
Uh<00:12:14.240><c> this</c><00:12:14.360><c> is</c><00:12:14.440><c> my</c><00:12:14.520><c> first</c><00:12:14.760><c> time</c><00:12:14.920><c> doing</c><00:12:15.080><c> this</c><00:12:15.320><c> on</c>

00:12:15.430 --> 00:12:15.440 align:start position:0%
Uh this is my first time doing this on
 

00:12:15.440 --> 00:12:16.870 align:start position:0%
Uh this is my first time doing this on
video,<00:12:15.680><c> so</c><00:12:15.880><c> I'm</c><00:12:16.000><c> not</c><00:12:16.120><c> actually</c><00:12:16.400><c> too</c><00:12:16.560><c> sure</c><00:12:16.760><c> how</c>

00:12:16.870 --> 00:12:16.880 align:start position:0%
video, so I'm not actually too sure how
 

00:12:16.880 --> 00:12:18.829 align:start position:0%
video, so I'm not actually too sure how
this<00:12:17.000><c> is</c><00:12:17.080><c> going</c><00:12:17.200><c> to</c><00:12:17.280><c> work,</c><00:12:17.640><c> but</c><00:12:18.600><c> let's</c><00:12:18.720><c> get</c>

00:12:18.829 --> 00:12:18.839 align:start position:0%
this is going to work, but let's get
 

00:12:18.839 --> 00:12:20.310 align:start position:0%
this is going to work, but let's get
started.<00:12:19.520><c> So,</c><00:12:19.760><c> I</c><00:12:19.800><c> think</c><00:12:20.000><c> what</c><00:12:20.080><c> we're</c><00:12:20.160><c> going</c><00:12:20.280><c> to</c>

00:12:20.310 --> 00:12:20.320 align:start position:0%
started. So, I think what we're going to
 

00:12:20.320 --> 00:12:21.910 align:start position:0%
started. So, I think what we're going to
need<00:12:20.520><c> is</c><00:12:20.839><c> two</c><00:12:21.160><c> arrays.</c><00:12:21.600><c> I'm</c><00:12:21.640><c> just</c><00:12:21.760><c> going</c><00:12:21.880><c> to</c>

00:12:21.910 --> 00:12:21.920 align:start position:0%
need is two arrays. I'm just going to
 

00:12:21.920 --> 00:12:23.310 align:start position:0%
need is two arrays. I'm just going to
create<00:12:22.160><c> two</c><00:12:22.280><c> NS</c><00:12:22.520><c> mutable</c><00:12:22.839><c> arrays,</c><00:12:23.120><c> and</c><00:12:23.200><c> these</c>

00:12:23.310 --> 00:12:23.320 align:start position:0%
create two NS mutable arrays, and these
 

00:12:23.320 --> 00:12:25.990 align:start position:0%
create two NS mutable arrays, and these
are<00:12:23.400><c> going</c><00:12:23.520><c> to</c><00:12:23.560><c> be</c><00:12:24.160><c> the</c><00:12:24.360><c> best</c><00:12:25.080><c> layer</c><00:12:25.680><c> one</c>

00:12:25.990 --> 00:12:26.000 align:start position:0%
are going to be the best layer one
 

00:12:26.000 --> 00:12:27.190 align:start position:0%
are going to be the best layer one
weights

00:12:27.190 --> 00:12:27.200 align:start position:0%
weights
 

00:12:27.200 --> 00:12:29.230 align:start position:0%
weights
and<00:12:27.760><c> the</c><00:12:27.839><c> best</c><00:12:28.280><c> layer</c><00:12:28.560><c> two</c><00:12:28.800><c> weights.</c><00:12:29.080><c> So,</c>

00:12:29.230 --> 00:12:29.240 align:start position:0%
and the best layer two weights. So,
 

00:12:29.240 --> 00:12:30.750 align:start position:0%
and the best layer two weights. So,
basically,<00:12:29.560><c> we're</c><00:12:29.640><c> just</c><00:12:29.800><c> going</c><00:12:29.920><c> to</c><00:12:30.000><c> store</c><00:12:30.600><c> the</c>

00:12:30.750 --> 00:12:30.760 align:start position:0%
basically, we're just going to store the
 

00:12:30.760 --> 00:12:34.190 align:start position:0%
basically, we're just going to store the
weights<00:12:31.520><c> from</c><00:12:32.520><c> each</c><00:12:33.200><c> uh</c><00:12:33.400><c> each</c><00:12:33.600><c> the</c><00:12:33.720><c> best</c><00:12:33.960><c> bird</c>

00:12:34.190 --> 00:12:34.200 align:start position:0%
weights from each uh each the best bird
 

00:12:34.200 --> 00:12:36.110 align:start position:0%
weights from each uh each the best bird
essentially<00:12:34.600><c> into</c><00:12:34.800><c> here.</c><00:12:35.000><c> So,</c><00:12:35.560><c> we</c><00:12:35.680><c> have</c><00:12:35.880><c> layer</c>

00:12:36.110 --> 00:12:36.120 align:start position:0%
essentially into here. So, we have layer
 

00:12:36.120 --> 00:12:37.390 align:start position:0%
essentially into here. So, we have layer
one<00:12:36.320><c> weights,</c><00:12:36.520><c> by</c><00:12:36.640><c> that</c><00:12:36.800><c> I</c><00:12:36.839><c> mean</c><00:12:37.080><c> the</c><00:12:37.280><c> the</c>

00:12:37.390 --> 00:12:37.400 align:start position:0%
one weights, by that I mean the the
 

00:12:37.400 --> 00:12:38.910 align:start position:0%
one weights, by that I mean the the
weights<00:12:37.680><c> between</c><00:12:38.120><c> layer</c><00:12:38.320><c> one</c><00:12:38.560><c> and</c><00:12:38.640><c> the</c><00:12:38.720><c> middle</c>

00:12:38.910 --> 00:12:38.920 align:start position:0%
weights between layer one and the middle
 

00:12:38.920 --> 00:12:41.030 align:start position:0%
weights between layer one and the middle
layer,<00:12:39.560><c> and</c><00:12:39.760><c> layer</c><00:12:39.920><c> two</c><00:12:40.160><c> weights</c><00:12:40.640><c> is</c><00:12:40.839><c> the</c>

00:12:41.030 --> 00:12:41.040 align:start position:0%
layer, and layer two weights is the
 

00:12:41.040 --> 00:12:42.150 align:start position:0%
layer, and layer two weights is the
second<00:12:41.320><c> layer</c><00:12:41.480><c> of</c><00:12:41.560><c> weights,</c><00:12:41.760><c> so</c><00:12:41.839><c> the</c><00:12:41.920><c> weights</c>

00:12:42.150 --> 00:12:42.160 align:start position:0%
second layer of weights, so the weights
 

00:12:42.160 --> 00:12:43.630 align:start position:0%
second layer of weights, so the weights
between<00:12:42.520><c> the</c><00:12:42.640><c> middle</c><00:12:42.839><c> layer</c><00:12:43.120><c> and</c><00:12:43.240><c> the</c><00:12:43.320><c> output</c>

00:12:43.630 --> 00:12:43.640 align:start position:0%
between the middle layer and the output
 

00:12:43.640 --> 00:12:45.190 align:start position:0%
between the middle layer and the output
layer.<00:12:43.839><c> So,</c><00:12:44.560><c> we're</c><00:12:44.720><c> going</c><00:12:44.839><c> to</c><00:12:44.880><c> basically</c>

00:12:45.190 --> 00:12:45.200 align:start position:0%
layer. So, we're going to basically
 

00:12:45.200 --> 00:12:46.750 align:start position:0%
layer. So, we're going to basically
initialize<00:12:45.680><c> these</c><00:12:45.880><c> at</c><00:12:45.960><c> the</c><00:12:46.120><c> end</c><00:12:46.560><c> of</c><00:12:46.680><c> a</c>

00:12:46.750 --> 00:12:46.760 align:start position:0%
initialize these at the end of a
 

00:12:46.760 --> 00:12:49.430 align:start position:0%
initialize these at the end of a
generation,<00:12:47.360><c> so</c><00:12:47.560><c> once</c><00:12:48.000><c> the</c><00:12:48.400><c> player</c><00:12:48.760><c> dies</c><00:12:49.360><c> or</c>

00:12:49.430 --> 00:12:49.440 align:start position:0%
generation, so once the player dies or
 

00:12:49.440 --> 00:12:51.590 align:start position:0%
generation, so once the player dies or
once<00:12:49.600><c> the</c><00:12:49.680><c> last</c><00:12:49.920><c> player</c><00:12:50.080><c> dies,</c><00:12:51.040><c> uh</c><00:12:51.240><c> this</c>

00:12:51.590 --> 00:12:51.600 align:start position:0%
once the last player dies, uh this
 

00:12:51.600 --> 00:12:53.470 align:start position:0%
once the last player dies, uh this
restart<00:12:52.120><c> function</c><00:12:52.760><c> is</c><00:12:52.920><c> automatically</c>

00:12:53.470 --> 00:12:53.480 align:start position:0%
restart function is automatically
 

00:12:53.480 --> 00:12:55.270 align:start position:0%
restart function is automatically
called,<00:12:53.800><c> which</c><00:12:54.120><c> kind</c><00:12:54.320><c> of</c><00:12:54.360><c> generates</c><00:12:54.720><c> the</c><00:12:54.760><c> next</c>

00:12:55.270 --> 00:12:55.280 align:start position:0%
called, which kind of generates the next
 

00:12:55.280 --> 00:12:57.670 align:start position:0%
called, which kind of generates the next
um<00:12:55.880><c> next</c><00:12:56.120><c> generation.</c><00:12:56.880><c> Now,</c><00:12:57.120><c> at</c><00:12:57.200><c> the</c><00:12:57.240><c> moment,</c>

00:12:57.670 --> 00:12:57.680 align:start position:0%
um next generation. Now, at the moment,
 

00:12:57.680 --> 00:12:59.070 align:start position:0%
um next generation. Now, at the moment,
this<00:12:57.839><c> is</c><00:12:57.960><c> obviously</c><00:12:58.280><c> still</c><00:12:58.560><c> doing</c><00:12:58.760><c> another</c>

00:12:59.070 --> 00:12:59.080 align:start position:0%
this is obviously still doing another
 

00:12:59.080 --> 00:13:00.790 align:start position:0%
this is obviously still doing another
random<00:12:59.480><c> generation</c><00:12:59.960><c> of</c><00:13:00.080><c> birds,</c><00:13:00.400><c> which</c><00:13:00.520><c> we</c><00:13:00.640><c> no</c>

00:13:00.790 --> 00:13:00.800 align:start position:0%
random generation of birds, which we no
 

00:13:00.800 --> 00:13:01.950 align:start position:0%
random generation of birds, which we no
longer<00:13:01.040><c> want.</c><00:13:01.280><c> We</c><00:13:01.400><c> want</c><00:13:01.560><c> the</c><00:13:01.640><c> second</c>

00:13:01.950 --> 00:13:01.960 align:start position:0%
longer want. We want the second
 

00:13:01.960 --> 00:13:05.790 align:start position:0%
longer want. We want the second
generation<00:13:03.040><c> to</c><00:13:03.240><c> be</c><00:13:04.080><c> um</c><00:13:04.560><c> slightly</c><00:13:04.960><c> evolved.</c>

00:13:05.790 --> 00:13:05.800 align:start position:0%
generation to be um slightly evolved.
 

00:13:05.800 --> 00:13:07.070 align:start position:0%
generation to be um slightly evolved.
So,<00:13:06.000><c> the</c><00:13:06.080><c> way</c><00:13:06.160><c> we're</c><00:13:06.240><c> going</c><00:13:06.360><c> to</c><00:13:06.400><c> do</c><00:13:06.520><c> that</c><00:13:06.760><c> is</c>

00:13:07.070 --> 00:13:07.080 align:start position:0%
So, the way we're going to do that is
 

00:13:07.080 --> 00:13:08.710 align:start position:0%
So, the way we're going to do that is
we're<00:13:07.200><c> going</c><00:13:07.320><c> to</c><00:13:07.400><c> check</c><00:13:07.839><c> if</c><00:13:08.160><c> these</c><00:13:08.400><c> arrays</c>

00:13:08.710 --> 00:13:08.720 align:start position:0%
we're going to check if these arrays
 

00:13:08.720 --> 00:13:10.910 align:start position:0%
we're going to check if these arrays
have<00:13:08.800><c> been</c><00:13:08.960><c> yet</c><00:13:09.160><c> initialized,</c><00:13:09.760><c> and</c><00:13:09.839><c> if</c><00:13:10.000><c> not,</c>

00:13:10.910 --> 00:13:10.920 align:start position:0%
have been yet initialized, and if not,
 

00:13:10.920 --> 00:13:12.470 align:start position:0%
have been yet initialized, and if not,
then<00:13:11.400><c> obviously,</c><00:13:11.880><c> that's</c><00:13:12.160><c> the</c><00:13:12.240><c> first</c>

00:13:12.470 --> 00:13:12.480 align:start position:0%
then obviously, that's the first
 

00:13:12.480 --> 00:13:14.350 align:start position:0%
then obviously, that's the first
generation,<00:13:12.960><c> so</c><00:13:13.080><c> we</c><00:13:13.160><c> generate</c><00:13:13.520><c> randomly.</c><00:13:14.240><c> But</c>

00:13:14.350 --> 00:13:14.360 align:start position:0%
generation, so we generate randomly. But
 

00:13:14.360 --> 00:13:15.990 align:start position:0%
generation, so we generate randomly. But
if<00:13:14.440><c> they</c><00:13:14.560><c> have</c><00:13:14.800><c> been</c><00:13:14.920><c> initialized,</c><00:13:15.880><c> then</c>

00:13:15.990 --> 00:13:16.000 align:start position:0%
if they have been initialized, then
 

00:13:16.000 --> 00:13:17.190 align:start position:0%
if they have been initialized, then
we're<00:13:16.080><c> going</c><00:13:16.200><c> to</c><00:13:16.280><c> need</c><00:13:16.400><c> to</c><00:13:16.480><c> implement</c><00:13:16.880><c> a</c><00:13:16.960><c> new</c>

00:13:17.190 --> 00:13:17.200 align:start position:0%
we're going to need to implement a new
 

00:13:17.200 --> 00:13:19.670 align:start position:0%
we're going to need to implement a new
function<00:13:17.839><c> into</c><00:13:18.320><c> the</c><00:13:18.440><c> neural</c><00:13:18.680><c> network</c><00:13:19.120><c> class</c>

00:13:19.670 --> 00:13:19.680 align:start position:0%
function into the neural network class
 

00:13:19.680 --> 00:13:21.510 align:start position:0%
function into the neural network class
that's<00:13:19.880><c> going</c><00:13:20.000><c> to</c><00:13:20.080><c> allow</c><00:13:20.360><c> us</c><00:13:20.520><c> to</c><00:13:20.680><c> kind</c><00:13:20.920><c> of</c><00:13:21.320><c> have</c>

00:13:21.510 --> 00:13:21.520 align:start position:0%
that's going to allow us to kind of have
 

00:13:21.520 --> 00:13:23.310 align:start position:0%
that's going to allow us to kind of have
some<00:13:21.640><c> influence</c><00:13:22.200><c> over</c><00:13:22.520><c> the</c><00:13:22.839><c> weights</c><00:13:23.200><c> that</c>

00:13:23.310 --> 00:13:23.320 align:start position:0%
some influence over the weights that
 

00:13:23.320 --> 00:13:25.110 align:start position:0%
some influence over the weights that
have<00:13:23.400><c> been</c><00:13:24.080><c> uh</c><00:13:24.160><c> applied</c><00:13:24.560><c> to</c><00:13:24.640><c> the</c><00:13:24.720><c> network,</c>

00:13:25.110 --> 00:13:25.120 align:start position:0%
have been uh applied to the network,
 

00:13:25.120 --> 00:13:26.910 align:start position:0%
have been uh applied to the network,
because<00:13:25.360><c> by</c><00:13:25.480><c> default,</c><00:13:26.280><c> they're</c><00:13:26.440><c> always</c><00:13:26.720><c> just</c>

00:13:26.910 --> 00:13:26.920 align:start position:0%
because by default, they're always just
 

00:13:26.920 --> 00:13:27.990 align:start position:0%
because by default, they're always just
random.

00:13:27.990 --> 00:13:28.000 align:start position:0%
random.
 

00:13:28.000 --> 00:13:29.870 align:start position:0%
random.
All<00:13:28.080><c> right,</c><00:13:28.280><c> so</c><00:13:28.600><c> what</c><00:13:28.720><c> we're</c><00:13:28.800><c> going</c><00:13:28.920><c> to</c><00:13:28.960><c> do</c><00:13:29.320><c> is</c>

00:13:29.870 --> 00:13:29.880 align:start position:0%
All right, so what we're going to do is
 

00:13:29.880 --> 00:13:31.670 align:start position:0%
All right, so what we're going to do is
down<00:13:30.200><c> here</c><00:13:30.600><c> at</c><00:13:30.680><c> the</c><00:13:30.760><c> bottom</c><00:13:31.080><c> of</c><00:13:31.160><c> the</c><00:13:31.240><c> restart</c>

00:13:31.670 --> 00:13:31.680 align:start position:0%
down here at the bottom of the restart
 

00:13:31.680 --> 00:13:34.990 align:start position:0%
down here at the bottom of the restart
function,<00:13:32.600><c> we're</c><00:13:32.760><c> going</c><00:13:33.120><c> to</c><00:13:34.080><c> um</c>

00:13:34.990 --> 00:13:35.000 align:start position:0%
function, we're going to um
 

00:13:35.000 --> 00:13:36.590 align:start position:0%
function, we're going to um
well,<00:13:35.120><c> as</c><00:13:35.240><c> I</c><00:13:35.280><c> said,</c><00:13:35.440><c> we're</c><00:13:35.520><c> going</c><00:13:35.640><c> to</c><00:13:35.720><c> check</c><00:13:36.120><c> if</c>

00:13:36.590 --> 00:13:36.600 align:start position:0%
well, as I said, we're going to check if
 

00:13:36.600 --> 00:13:38.110 align:start position:0%
well, as I said, we're going to check if
the<00:13:37.520><c> uh</c>

00:13:38.110 --> 00:13:38.120 align:start position:0%
the uh
 

00:13:38.120 --> 00:13:40.670 align:start position:0%
the uh
best<00:13:38.760><c> layer</c><00:13:39.000><c> one</c><00:13:39.240><c> weights</c><00:13:39.520><c> array</c>

00:13:40.670 --> 00:13:40.680 align:start position:0%
best layer one weights array
 

00:13:40.680 --> 00:13:42.110 align:start position:0%
best layer one weights array
is<00:13:41.120><c> nil.</c>

00:13:42.110 --> 00:13:42.120 align:start position:0%
is nil.
 

00:13:42.120 --> 00:13:43.310 align:start position:0%
is nil.
So, we're<00:13:42.200><c> going</c><00:13:42.320><c> to</c><00:13:42.360><c> check</c><00:13:42.520><c> if</c><00:13:42.640><c> they're</c><00:13:42.839><c> both</c>

00:13:43.310 --> 00:13:43.320 align:start position:0%
So, we're going to check if they're both
 

00:13:43.320 --> 00:13:46.310 align:start position:0%
So, we're going to check if they're both
nil,<00:13:43.920><c> and</c><00:13:44.320><c> if</c><00:13:44.440><c> they</c><00:13:44.720><c> are,</c><00:13:45.120><c> then</c><00:13:45.480><c> obviously,</c>

00:13:46.310 --> 00:13:46.320 align:start position:0%
nil, and if they are, then obviously,
 

00:13:46.320 --> 00:13:47.990 align:start position:0%
nil, and if they are, then obviously,
this<00:13:46.480><c> is</c><00:13:46.600><c> the</c><00:13:46.720><c> first</c><00:13:47.240><c> generation,</c><00:13:47.880><c> and</c>

00:13:47.990 --> 00:13:48.000 align:start position:0%
this is the first generation, and
 

00:13:48.000 --> 00:13:49.550 align:start position:0%
this is the first generation, and
therefore,<00:13:48.360><c> we</c><00:13:48.480><c> just</c><00:13:48.680><c> want</c><00:13:48.839><c> to</c><00:13:48.960><c> spawn</c><00:13:49.440><c> the</c>

00:13:49.550 --> 00:13:49.560 align:start position:0%
therefore, we just want to spawn the
 

00:13:49.560 --> 00:13:51.910 align:start position:0%
therefore, we just want to spawn the
random<00:13:50.000><c> bird.</c><00:13:50.280><c> So,</c><00:13:50.960><c> we'll</c><00:13:51.160><c> use</c><00:13:51.520><c> we'll</c><00:13:51.640><c> just</c>

00:13:51.910 --> 00:13:51.920 align:start position:0%
random bird. So, we'll use we'll just
 

00:13:51.920 --> 00:13:54.230 align:start position:0%
random bird. So, we'll use we'll just
copy<00:13:52.160><c> this</c><00:13:52.360><c> for</c><00:13:52.560><c> loop</c><00:13:52.760><c> here,</c><00:13:52.920><c> which</c><00:13:53.080><c> basically</c>

00:13:54.230 --> 00:13:54.240 align:start position:0%
copy this for loop here, which basically
 

00:13:54.240 --> 00:13:54.790 align:start position:0%
copy this for loop here, which basically
um

00:13:54.790 --> 00:13:54.800 align:start position:0%
um
 

00:13:54.800 --> 00:13:56.590 align:start position:0%
um
loops<00:13:55.080><c> around</c><00:13:55.320><c> the</c><00:13:55.400><c> amount</c><00:13:55.600><c> of</c><00:13:55.680><c> times</c><00:13:56.040><c> for</c><00:13:56.480><c> the</c>

00:13:56.590 --> 00:13:56.600 align:start position:0%
loops around the amount of times for the
 

00:13:56.600 --> 00:13:58.710 align:start position:0%
loops around the amount of times for the
slider<00:13:56.960><c> value,</c><00:13:57.520><c> and</c><00:13:57.720><c> then</c><00:13:57.800><c> it</c><00:13:57.880><c> will</c><00:13:58.000><c> create</c>

00:13:58.710 --> 00:13:58.720 align:start position:0%
slider value, and then it will create
 

00:13:58.720 --> 00:14:00.590 align:start position:0%
slider value, and then it will create
players<00:13:59.280><c> using</c><00:13:59.600><c> the</c><00:13:59.720><c> default</c><00:14:00.120><c> create</c><00:14:00.400><c> player</c>

00:14:00.590 --> 00:14:00.600 align:start position:0%
players using the default create player
 

00:14:00.600 --> 00:14:02.470 align:start position:0%
players using the default create player
method,<00:14:00.920><c> which</c><00:14:01.080><c> I</c><00:14:01.120><c> implemented</c><00:14:01.560><c> already.</c><00:14:02.360><c> And</c>

00:14:02.470 --> 00:14:02.480 align:start position:0%
method, which I implemented already. And
 

00:14:02.480 --> 00:14:03.829 align:start position:0%
method, which I implemented already. And
that's<00:14:02.680><c> the</c><00:14:02.760><c> one</c><00:14:02.920><c> that</c><00:14:03.080><c> creates</c><00:14:03.400><c> them</c><00:14:03.600><c> with</c>

00:14:03.829 --> 00:14:03.839 align:start position:0%
that's the one that creates them with
 

00:14:03.839 --> 00:14:05.790 align:start position:0%
that's the one that creates them with
randomly<00:14:04.400><c> initialized</c><00:14:05.040><c> values.</c><00:14:05.440><c> Now,</c><00:14:05.640><c> if</c>

00:14:05.790 --> 00:14:05.800 align:start position:0%
randomly initialized values. Now, if
 

00:14:05.800 --> 00:14:07.350 align:start position:0%
randomly initialized values. Now, if
that's<00:14:06.040><c> not</c><00:14:06.200><c> the</c><00:14:06.320><c> case,</c><00:14:06.680><c> so</c><00:14:06.920><c> we're</c><00:14:07.040><c> going</c><00:14:07.160><c> to</c>

00:14:07.350 --> 00:14:07.360 align:start position:0%
that's not the case, so we're going to
 

00:14:07.360 --> 00:14:09.230 align:start position:0%
that's not the case, so we're going to
else<00:14:07.720><c> here,</c><00:14:08.520><c> then</c><00:14:08.800><c> we're</c><00:14:08.880><c> going</c><00:14:09.000><c> to</c><00:14:09.040><c> do</c><00:14:09.160><c> the</c>

00:14:09.230 --> 00:14:09.240 align:start position:0%
else here, then we're going to do the
 

00:14:09.240 --> 00:14:10.870 align:start position:0%
else here, then we're going to do the
same<00:14:09.640><c> loop,</c><00:14:10.120><c> but</c><00:14:10.240><c> this</c><00:14:10.400><c> time</c><00:14:10.600><c> we're</c><00:14:10.680><c> going</c>

00:14:10.870 --> 00:14:10.880 align:start position:0%
same loop, but this time we're going
 

00:14:10.880 --> 00:14:12.590 align:start position:0%
same loop, but this time we're going
implement<00:14:11.200><c> a</c><00:14:11.280><c> new</c><00:14:11.600><c> create</c><00:14:12.000><c> player</c><00:14:12.240><c> method</c>

00:14:12.590 --> 00:14:12.600 align:start position:0%
implement a new create player method
 

00:14:12.600 --> 00:14:13.990 align:start position:0%
implement a new create player method
that's<00:14:12.720><c> going</c><00:14:12.839><c> to</c><00:14:12.880><c> have</c><00:14:13.040><c> a</c><00:14:13.079><c> create</c><00:14:13.480><c> player</c>

00:14:13.990 --> 00:14:14.000 align:start position:0%
that's going to have a create player
 

00:14:14.000 --> 00:14:15.870 align:start position:0%
that's going to have a create player
with<00:14:14.600><c> weights</c><00:14:14.959><c> method,</c><00:14:15.320><c> so</c><00:14:15.400><c> we</c><00:14:15.480><c> can</c><00:14:15.600><c> actually</c>

00:14:15.870 --> 00:14:15.880 align:start position:0%
with weights method, so we can actually
 

00:14:15.880 --> 00:14:17.230 align:start position:0%
with weights method, so we can actually
have<00:14:16.040><c> some</c><00:14:16.160><c> influence</c><00:14:16.560><c> over</c><00:14:16.760><c> what</c><00:14:16.959><c> weights</c>

00:14:17.230 --> 00:14:17.240 align:start position:0%
have some influence over what weights
 

00:14:17.240 --> 00:14:18.949 align:start position:0%
have some influence over what weights
they<00:14:17.360><c> have.</c>

00:14:18.949 --> 00:14:18.959 align:start position:0%
they have.
 

00:14:18.959 --> 00:14:21.949 align:start position:0%
they have.
Copy<00:14:19.200><c> this</c><00:14:19.760><c> create</c><00:14:20.200><c> player</c><00:14:20.560><c> method,</c><00:14:21.560><c> and</c>

00:14:21.949 --> 00:14:21.959 align:start position:0%
Copy this create player method, and
 

00:14:21.959 --> 00:14:25.150 align:start position:0%
Copy this create player method, and
we'll<00:14:22.079><c> call</c><00:14:22.360><c> create</c><00:14:22.680><c> player</c><00:14:23.079><c> with</c><00:14:24.120><c> weights.</c>

00:14:25.150 --> 00:14:25.160 align:start position:0%
we'll call create player with weights.
 

00:14:25.160 --> 00:14:27.390 align:start position:0%
we'll call create player with weights.
And<00:14:25.320><c> we'll</c><00:14:25.440><c> take</c><00:14:25.680><c> in</c><00:14:25.959><c> NS</c><00:14:26.280><c> mutable</c><00:14:26.600><c> array.</c>

00:14:27.390 --> 00:14:27.400 align:start position:0%
And we'll take in NS mutable array.
 

00:14:27.400 --> 00:14:28.350 align:start position:0%
And we'll take in NS mutable array.
Okay,<00:14:27.560><c> so</c><00:14:27.640><c> this</c><00:14:27.800><c> method</c><00:14:28.000><c> is</c><00:14:28.079><c> now</c><00:14:28.160><c> going</c><00:14:28.280><c> to</c>

00:14:28.350 --> 00:14:28.360 align:start position:0%
Okay, so this method is now going to
 

00:14:28.360 --> 00:14:31.150 align:start position:0%
Okay, so this method is now going to
take<00:14:28.600><c> in</c><00:14:29.000><c> two</c><00:14:29.280><c> NS</c><00:14:29.560><c> mutable</c><00:14:29.880><c> array.</c>

00:14:31.150 --> 00:14:31.160 align:start position:0%
take in two NS mutable array.
 

00:14:31.160 --> 00:14:31.990 align:start position:0%
take in two NS mutable array.
All<00:14:31.200><c> right,</c><00:14:31.360><c> so</c><00:14:31.480><c> I'm</c><00:14:31.600><c> just</c><00:14:31.720><c> thinking</c><00:14:31.920><c> it's</c>

00:14:31.990 --> 00:14:32.000 align:start position:0%
All right, so I'm just thinking it's
 

00:14:32.000 --> 00:14:32.829 align:start position:0%
All right, so I'm just thinking it's
probably<00:14:32.200><c> going</c><00:14:32.320><c> to</c><00:14:32.360><c> be</c><00:14:32.400><c> easier</c><00:14:32.560><c> to</c><00:14:32.640><c> start</c>

00:14:32.829 --> 00:14:32.839 align:start position:0%
probably going to be easier to start
 

00:14:32.839 --> 00:14:34.190 align:start position:0%
probably going to be easier to start
with<00:14:32.959><c> the</c><00:14:33.040><c> actual</c><00:14:33.240><c> neural</c><00:14:33.440><c> network</c><00:14:33.720><c> class.</c>

00:14:34.190 --> 00:14:34.200 align:start position:0%
with the actual neural network class.
 

00:14:34.200 --> 00:14:36.310 align:start position:0%
with the actual neural network class.
So,<00:14:35.000><c> we're</c><00:14:35.120><c> going</c><00:14:35.240><c> to</c><00:14:35.280><c> need</c><00:14:35.760><c> a</c><00:14:36.079><c> new</c>

00:14:36.310 --> 00:14:36.320 align:start position:0%
So, we're going to need a new
 

00:14:36.320 --> 00:14:38.910 align:start position:0%
So, we're going to need a new
initializer<00:14:36.880><c> method</c><00:14:37.959><c> for</c><00:14:38.640><c> the</c><00:14:38.720><c> neural</c>

00:14:38.910 --> 00:14:38.920 align:start position:0%
initializer method for the neural
 

00:14:38.920 --> 00:14:40.829 align:start position:0%
initializer method for the neural
network,<00:14:39.440><c> so</c><00:14:39.600><c> that</c><00:14:39.720><c> we</c><00:14:39.839><c> can</c>

00:14:40.829 --> 00:14:40.839 align:start position:0%
network, so that we can
 

00:14:40.839 --> 00:14:42.230 align:start position:0%
network, so that we can
add<00:14:41.000><c> the</c><00:14:41.360><c> the</c><00:14:41.480><c> weights</c><00:14:41.760><c> that</c><00:14:41.880><c> we</c><00:14:42.000><c> already</c>

00:14:42.230 --> 00:14:42.240 align:start position:0%
add the the weights that we already
 

00:14:42.240 --> 00:14:43.390 align:start position:0%
add the the weights that we already
know.<00:14:42.400><c> So,</c>

00:14:43.390 --> 00:14:43.400 align:start position:0%
know. So,
 

00:14:43.400 --> 00:14:44.550 align:start position:0%
know. So,
um

00:14:44.550 --> 00:14:44.560 align:start position:0%
um
 

00:14:44.560 --> 00:14:46.310 align:start position:0%
um
we're<00:14:44.600><c> just</c><00:14:44.800><c> going</c><00:14:44.920><c> to</c><00:14:45.880><c> actually,</c><00:14:46.120><c> we</c><00:14:46.200><c> don't</c>

00:14:46.310 --> 00:14:46.320 align:start position:0%
we're just going to actually, we don't
 

00:14:46.320 --> 00:14:48.030 align:start position:0%
we're just going to actually, we don't
need<00:14:46.440><c> a</c><00:14:46.480><c> new</c><00:14:46.600><c> initializer.</c><00:14:47.040><c> We'll</c><00:14:47.120><c> just</c><00:14:47.600><c> have</c>

00:14:48.030 --> 00:14:48.040 align:start position:0%
need a new initializer. We'll just have
 

00:14:48.040 --> 00:14:50.230 align:start position:0%
need a new initializer. We'll just have
a<00:14:48.120><c> method</c><00:14:48.520><c> that</c><00:14:48.640><c> allows</c><00:14:49.000><c> us</c><00:14:49.200><c> to</c><00:14:49.839><c> set</c><00:14:50.160><c> the</c>

00:14:50.230 --> 00:14:50.240 align:start position:0%
a method that allows us to set the
 

00:14:50.240 --> 00:14:51.430 align:start position:0%
a method that allows us to set the
weights<00:14:50.560><c> ourselves.</c><00:14:51.000><c> So,</c><00:14:51.079><c> at</c><00:14:51.160><c> the</c><00:14:51.200><c> moment,</c>

00:14:51.430 --> 00:14:51.440 align:start position:0%
weights ourselves. So, at the moment,
 

00:14:51.440 --> 00:14:53.430 align:start position:0%
weights ourselves. So, at the moment,
we've<00:14:51.560><c> got</c><00:14:51.760><c> two</c><00:14:52.000><c> getters</c><00:14:52.480><c> for</c><00:14:52.640><c> the</c><00:14:53.040><c> get</c><00:14:53.240><c> layer</c>

00:14:53.430 --> 00:14:53.440 align:start position:0%
we've got two getters for the get layer
 

00:14:53.440 --> 00:14:55.270 align:start position:0%
we've got two getters for the get layer
one<00:14:53.560><c> weights,</c><00:14:53.839><c> get</c><00:14:54.000><c> layer</c><00:14:54.200><c> two</c><00:14:54.400><c> weights.</c>

00:14:55.270 --> 00:14:55.280 align:start position:0%
one weights, get layer two weights.
 

00:14:55.280 --> 00:14:57.069 align:start position:0%
one weights, get layer two weights.
We'll<00:14:55.400><c> just</c><00:14:55.640><c> have</c><00:14:56.079><c> two</c><00:14:56.200><c> new</c><00:14:56.360><c> methods,</c><00:14:56.839><c> so</c>

00:14:57.069 --> 00:14:57.079 align:start position:0%
We'll just have two new methods, so
 

00:14:57.079 --> 00:14:59.670 align:start position:0%
We'll just have two new methods, so
we'll<00:14:57.160><c> want</c><00:14:57.400><c> set</c><00:14:58.120><c> layer</c>

00:14:59.670 --> 00:14:59.680 align:start position:0%
we'll want set layer
 

00:14:59.680 --> 00:15:01.790 align:start position:0%
we'll want set layer
one<00:14:59.880><c> weights</c><00:15:00.680><c> and</c><00:15:00.959><c> set</c><00:15:01.160><c> layer</c><00:15:01.360><c> two</c><00:15:01.560><c> weights.</c>

00:15:01.790 --> 00:15:01.800 align:start position:0%
one weights and set layer two weights.
 

00:15:01.800 --> 00:15:04.030 align:start position:0%
one weights and set layer two weights.
So,<00:15:01.880><c> these</c><00:15:02.079><c> are</c><00:15:02.160><c> going</c><00:15:02.280><c> to</c><00:15:02.360><c> both</c><00:15:02.680><c> allow</c><00:15:02.959><c> us</c><00:15:03.120><c> to</c>

00:15:04.030 --> 00:15:04.040 align:start position:0%
So, these are going to both allow us to
 

00:15:04.040 --> 00:15:07.230 align:start position:0%
So, these are going to both allow us to
simply<00:15:04.360><c> set</c><00:15:04.680><c> the</c><00:15:04.760><c> weights</c><00:15:05.400><c> for</c><00:15:05.560><c> these</c><00:15:05.839><c> layers.</c>

00:15:07.230 --> 00:15:07.240 align:start position:0%
simply set the weights for these layers.
 

00:15:07.240 --> 00:15:08.110 align:start position:0%
simply set the weights for these layers.
And<00:15:07.360><c> of</c><00:15:07.440><c> course,</c><00:15:07.600><c> these</c><00:15:07.720><c> are</c><00:15:07.760><c> both</c><00:15:07.959><c> going</c><00:15:08.079><c> to</c>

00:15:08.110 --> 00:15:08.120 align:start position:0%
And of course, these are both going to
 

00:15:08.120 --> 00:15:10.110 align:start position:0%
And of course, these are both going to
need<00:15:08.280><c> to</c><00:15:08.320><c> take</c><00:15:08.520><c> in</c><00:15:09.079><c> uh</c><00:15:09.240><c> an</c><00:15:09.360><c> NS</c><00:15:09.600><c> mutable</c><00:15:09.880><c> array</c>

00:15:10.110 --> 00:15:10.120 align:start position:0%
need to take in uh an NS mutable array
 

00:15:10.120 --> 00:15:11.790 align:start position:0%
need to take in uh an NS mutable array
of<00:15:10.240><c> weights.</c>

00:15:11.790 --> 00:15:11.800 align:start position:0%
of weights.
 

00:15:11.800 --> 00:15:12.870 align:start position:0%
of weights.
All<00:15:11.839><c> right,</c><00:15:11.959><c> so</c><00:15:12.079><c> that's</c><00:15:12.200><c> the</c><00:15:12.280><c> way</c><00:15:12.400><c> of</c><00:15:12.560><c> setting</c>

00:15:12.870 --> 00:15:12.880 align:start position:0%
All right, so that's the way of setting
 

00:15:12.880 --> 00:15:14.069 align:start position:0%
All right, so that's the way of setting
the<00:15:12.959><c> weights.</c><00:15:13.200><c> So,</c>

00:15:14.069 --> 00:15:14.079 align:start position:0%
the weights. So,
 

00:15:14.079 --> 00:15:15.949 align:start position:0%
the weights. So,
uh<00:15:14.320><c> we</c><00:15:14.480><c> can</c><00:15:14.640><c> call</c><00:15:14.839><c> these</c><00:15:15.280><c> from</c><00:15:15.560><c> within</c><00:15:15.800><c> our</c>

00:15:15.949 --> 00:15:15.959 align:start position:0%
uh we can call these from within our
 

00:15:15.959 --> 00:15:17.710 align:start position:0%
uh we can call these from within our
player<00:15:16.320><c> class</c><00:15:16.640><c> now,</c>

00:15:17.710 --> 00:15:17.720 align:start position:0%
player class now,
 

00:15:17.720 --> 00:15:19.350 align:start position:0%
player class now,
and<00:15:18.280><c> we're</c><00:15:18.400><c> going</c><00:15:18.520><c> to</c><00:15:18.600><c> need</c><00:15:18.760><c> a</c><00:15:18.800><c> method</c><00:15:19.200><c> that</c>

00:15:19.350 --> 00:15:19.360 align:start position:0%
and we're going to need a method that
 

00:15:19.360 --> 00:15:21.990 align:start position:0%
and we're going to need a method that
basically<00:15:20.320><c> allows</c><00:15:20.640><c> us</c><00:15:20.720><c> to</c><00:15:20.839><c> update</c><00:15:21.400><c> the</c><00:15:21.600><c> brain</c>

00:15:21.990 --> 00:15:22.000 align:start position:0%
basically allows us to update the brain
 

00:15:22.000 --> 00:15:23.390 align:start position:0%
basically allows us to update the brain
of<00:15:22.240><c> the</c><00:15:22.360><c> player.</c><00:15:22.720><c> So,</c><00:15:22.880><c> we're</c><00:15:23.000><c> just</c><00:15:23.160><c> going</c><00:15:23.280><c> to</c>

00:15:23.390 --> 00:15:23.400 align:start position:0%
of the player. So, we're just going to
 

00:15:23.400 --> 00:15:27.190 align:start position:0%
of the player. So, we're just going to
have<00:15:24.079><c> void</c>

00:15:27.190 --> 00:15:27.200 align:start position:0%
 
 

00:15:27.200 --> 00:15:28.870 align:start position:0%
 
update.<00:15:27.959><c> And</c><00:15:28.079><c> again,</c><00:15:28.480><c> we're</c><00:15:28.560><c> going</c><00:15:28.680><c> to</c><00:15:28.720><c> need</c>

00:15:28.870 --> 00:15:28.880 align:start position:0%
update. And again, we're going to need
 

00:15:28.880 --> 00:15:30.430 align:start position:0%
update. And again, we're going to need
to<00:15:28.959><c> take</c><00:15:29.280><c> in</c>

00:15:30.430 --> 00:15:30.440 align:start position:0%
to take in
 

00:15:30.440 --> 00:15:32.310 align:start position:0%
to take in
uh<00:15:30.520><c> let's</c><00:15:30.680><c> say</c><00:15:30.839><c> with</c>

00:15:32.310 --> 00:15:32.320 align:start position:0%
uh let's say with
 

00:15:32.320 --> 00:15:39.350 align:start position:0%
uh let's say with
layer<00:15:32.720><c> one</c><00:15:33.280><c> weights.</c>

00:15:39.350 --> 00:15:39.360 align:start position:0%
 
 

00:15:39.360 --> 00:15:41.910 align:start position:0%
 
And<00:15:39.560><c> then</c><00:15:39.680><c> it'll</c><00:15:39.839><c> be</c><00:15:40.040><c> self.brain,</c>

00:15:41.910 --> 00:15:41.920 align:start position:0%
And then it'll be self.brain,
 

00:15:41.920 --> 00:15:43.949 align:start position:0%
And then it'll be self.brain,
and<00:15:42.079><c> we</c><00:15:42.200><c> can</c><00:15:42.440><c> call</c>

00:15:43.949 --> 00:15:43.959 align:start position:0%
and we can call
 

00:15:43.959 --> 00:15:45.430 align:start position:0%
and we can call
set

00:15:45.430 --> 00:15:45.440 align:start position:0%
set
 

00:15:45.440 --> 00:15:47.590 align:start position:0%
set
layer<00:15:45.760><c> one</c><00:15:46.280><c> weights</c>

00:15:47.590 --> 00:15:47.600 align:start position:0%
layer one weights
 

00:15:47.600 --> 00:15:48.910 align:start position:0%
layer one weights
with<00:15:47.800><c> L1.</c>

00:15:48.910 --> 00:15:48.920 align:start position:0%
with L1.
 

00:15:48.920 --> 00:15:51.430 align:start position:0%
with L1.
And<00:15:49.120><c> then</c><00:15:49.280><c> the</c><00:15:49.360><c> same</c><00:15:49.600><c> thing</c><00:15:49.920><c> for</c><00:15:50.160><c> layer</c><00:15:50.400><c> two.</c>

00:15:51.430 --> 00:15:51.440 align:start position:0%
And then the same thing for layer two.
 

00:15:51.440 --> 00:15:52.590 align:start position:0%
And then the same thing for layer two.
All<00:15:51.520><c> right,</c><00:15:51.600><c> so</c><00:15:51.680><c> now</c><00:15:51.800><c> we</c><00:15:51.880><c> have</c><00:15:51.959><c> a</c><00:15:52.040><c> way</c><00:15:52.240><c> of</c><00:15:52.480><c> to</c>

00:15:52.590 --> 00:15:52.600 align:start position:0%
All right, so now we have a way of to
 

00:15:52.600 --> 00:15:54.750 align:start position:0%
All right, so now we have a way of to
update<00:15:53.040><c> the</c><00:15:53.280><c> weights</c><00:15:54.280><c> uh</c><00:15:54.440><c> in</c><00:15:54.520><c> the</c><00:15:54.600><c> neural</c>

00:15:54.750 --> 00:15:54.760 align:start position:0%
update the weights uh in the neural
 

00:15:54.760 --> 00:15:56.470 align:start position:0%
update the weights uh in the neural
network<00:15:55.200><c> of</c><00:15:55.360><c> the</c><00:15:55.480><c> players</c>

00:15:56.470 --> 00:15:56.480 align:start position:0%
network of the players
 

00:15:56.480 --> 00:15:57.910 align:start position:0%
network of the players
of<00:15:56.560><c> each</c><00:15:56.600><c> one.</c><00:15:57.079><c> So,</c><00:15:57.240><c> it's</c><00:15:57.360><c> going</c><00:15:57.480><c> to</c><00:15:57.520><c> be</c><00:15:57.839><c> it's</c>

00:15:57.910 --> 00:15:57.920 align:start position:0%
of each one. So, it's going to be it's
 

00:15:57.920 --> 00:15:59.550 align:start position:0%
of each one. So, it's going to be it's
going<00:15:58.040><c> to</c><00:15:58.079><c> be</c><00:15:58.120><c> responsible</c><00:15:58.680><c> for</c><00:15:59.320><c> uh</c><00:15:59.400><c> sorry,</c>

00:15:59.550 --> 00:15:59.560 align:start position:0%
going to be responsible for uh sorry,
 

00:15:59.560 --> 00:16:00.710 align:start position:0%
going to be responsible for uh sorry,
the<00:15:59.640><c> view</c><00:15:59.760><c> controller</c><00:16:00.160><c> class</c><00:16:00.400><c> is</c><00:16:00.480><c> going</c><00:16:00.600><c> to</c><00:16:00.640><c> be</c>

00:16:00.710 --> 00:16:00.720 align:start position:0%
the view controller class is going to be
 

00:16:00.720 --> 00:16:02.550 align:start position:0%
the view controller class is going to be
responsible<00:16:01.240><c> for</c><00:16:01.360><c> doing</c><00:16:01.640><c> the</c><00:16:01.720><c> mutations</c><00:16:02.480><c> and</c>

00:16:02.550 --> 00:16:02.560 align:start position:0%
responsible for doing the mutations and
 

00:16:02.560 --> 00:16:04.390 align:start position:0%
responsible for doing the mutations and
everything<00:16:02.800><c> like</c><00:16:02.959><c> that.</c><00:16:03.480><c> Now,</c><00:16:03.839><c> I</c><00:16:03.920><c> probably</c>

00:16:04.390 --> 00:16:04.400 align:start position:0%
everything like that. Now, I probably
 

00:16:04.400 --> 00:16:05.790 align:start position:0%
everything like that. Now, I probably
will<00:16:04.720><c> implement</c><00:16:05.079><c> this</c><00:16:05.240><c> into</c><00:16:05.480><c> the</c><00:16:05.600><c> actual</c>

00:16:05.790 --> 00:16:05.800 align:start position:0%
will implement this into the actual
 

00:16:05.800 --> 00:16:07.230 align:start position:0%
will implement this into the actual
neural<00:16:06.000><c> network</c><00:16:06.320><c> itself,</c><00:16:06.760><c> so</c><00:16:06.880><c> you</c><00:16:06.959><c> can</c><00:16:07.120><c> use</c>

00:16:07.230 --> 00:16:07.240 align:start position:0%
neural network itself, so you can use
 

00:16:07.240 --> 00:16:09.030 align:start position:0%
neural network itself, so you can use
this<00:16:07.400><c> for</c><00:16:07.480><c> other</c><00:16:07.640><c> problems</c><00:16:08.480><c> in</c><00:16:08.600><c> the</c><00:16:08.680><c> future,</c>

00:16:09.030 --> 00:16:09.040 align:start position:0%
this for other problems in the future,
 

00:16:09.040 --> 00:16:10.510 align:start position:0%
this for other problems in the future,
because<00:16:09.480><c> that's</c><00:16:09.760><c> the</c><00:16:09.839><c> way</c><00:16:10.000><c> you</c><00:16:10.120><c> kind</c><00:16:10.280><c> of</c><00:16:10.360><c> would</c>

00:16:10.510 --> 00:16:10.520 align:start position:0%
because that's the way you kind of would
 

00:16:10.520 --> 00:16:11.550 align:start position:0%
because that's the way you kind of would
want<00:16:10.680><c> it.</c><00:16:10.800><c> You'd</c><00:16:10.920><c> want</c><00:16:11.079><c> the</c><00:16:11.120><c> neural</c><00:16:11.320><c> network</c>

00:16:11.550 --> 00:16:11.560 align:start position:0%
want it. You'd want the neural network
 

00:16:11.560 --> 00:16:13.230 align:start position:0%
want it. You'd want the neural network
class<00:16:11.880><c> to</c><00:16:12.000><c> have</c><00:16:12.160><c> a</c><00:16:12.240><c> mutate</c><00:16:12.680><c> function</c><00:16:13.040><c> that</c><00:16:13.160><c> you</c>

00:16:13.230 --> 00:16:13.240 align:start position:0%
class to have a mutate function that you
 

00:16:13.240 --> 00:16:15.030 align:start position:0%
class to have a mutate function that you
can<00:16:13.360><c> just</c><00:16:13.560><c> call</c><00:16:14.280><c> that</c><00:16:14.360><c> will</c><00:16:14.440><c> do</c><00:16:14.560><c> this</c><00:16:14.720><c> all</c><00:16:14.839><c> for</c>

00:16:15.030 --> 00:16:15.040 align:start position:0%
can just call that will do this all for
 

00:16:15.040 --> 00:16:17.069 align:start position:0%
can just call that will do this all for
you,<00:16:15.240><c> but</c><00:16:15.959><c> um</c><00:16:16.440><c> yeah,</c><00:16:16.680><c> I've</c><00:16:16.800><c> not</c><00:16:16.920><c> really</c>

00:16:17.069 --> 00:16:17.079 align:start position:0%
you, but um yeah, I've not really
 

00:16:17.079 --> 00:16:18.270 align:start position:0%
you, but um yeah, I've not really
planned<00:16:17.320><c> this</c><00:16:17.480><c> project.</c><00:16:17.800><c> I'm</c><00:16:17.880><c> kind</c><00:16:18.040><c> of</c><00:16:18.120><c> just</c>

00:16:18.270 --> 00:16:18.280 align:start position:0%
planned this project. I'm kind of just
 

00:16:18.280 --> 00:16:19.870 align:start position:0%
planned this project. I'm kind of just
going<00:16:18.520><c> at</c><00:16:18.640><c> it,</c><00:16:18.800><c> so</c><00:16:19.400><c> that's</c><00:16:19.600><c> why</c><00:16:19.680><c> we're</c><00:16:19.760><c> not</c>

00:16:19.870 --> 00:16:19.880 align:start position:0%
going at it, so that's why we're not
 

00:16:19.880 --> 00:16:21.069 align:start position:0%
going at it, so that's why we're not
doing<00:16:20.000><c> it</c><00:16:20.079><c> that</c><00:16:20.200><c> way.</c>

00:16:21.069 --> 00:16:21.079 align:start position:0%
doing it that way.
 

00:16:21.079 --> 00:16:23.270 align:start position:0%
doing it that way.
And<00:16:21.240><c> so,</c><00:16:21.400><c> we</c><00:16:21.560><c> call</c><00:16:21.800><c> that</c><00:16:22.079><c> there</c><00:16:22.440><c> in</c><00:16:22.680><c> the</c><00:16:22.959><c> create</c>

00:16:23.270 --> 00:16:23.280 align:start position:0%
And so, we call that there in the create
 

00:16:23.280 --> 00:16:24.550 align:start position:0%
And so, we call that there in the create
player<00:16:23.520><c> with</c><00:16:23.720><c> layer</c><00:16:23.839><c> one</c><00:16:24.000><c> weights.</c><00:16:24.280><c> We</c><00:16:24.360><c> call</c>

00:16:24.550 --> 00:16:24.560 align:start position:0%
player with layer one weights. We call
 

00:16:24.560 --> 00:16:26.550 align:start position:0%
player with layer one weights. We call
update<00:16:24.920><c> player</c><00:16:25.160><c> brain,</c><00:16:25.880><c> and</c><00:16:26.040><c> we</c><00:16:26.160><c> just</c><00:16:26.320><c> pass</c>

00:16:26.550 --> 00:16:26.560 align:start position:0%
update player brain, and we just pass
 

00:16:26.560 --> 00:16:28.310 align:start position:0%
update player brain, and we just pass
both<00:16:26.760><c> of</c><00:16:26.839><c> those</c><00:16:26.959><c> arrays</c><00:16:27.240><c> in.</c><00:16:27.839><c> Uh</c><00:16:28.040><c> by</c><00:16:28.160><c> the</c><00:16:28.240><c> way,</c>

00:16:28.310 --> 00:16:28.320 align:start position:0%
both of those arrays in. Uh by the way,
 

00:16:28.320 --> 00:16:29.350 align:start position:0%
both of those arrays in. Uh by the way,
this<00:16:28.480><c> probably</c><00:16:28.720><c> would</c><00:16:28.800><c> be</c><00:16:28.880><c> a</c><00:16:28.920><c> lot</c><00:16:29.160><c> more</c>

00:16:29.350 --> 00:16:29.360 align:start position:0%
this probably would be a lot more
 

00:16:29.360 --> 00:16:31.230 align:start position:0%
this probably would be a lot more
efficient<00:16:29.720><c> if</c><00:16:29.839><c> I</c><00:16:29.920><c> just</c><00:16:30.200><c> used</c><00:16:30.520><c> pure</c><00:16:30.760><c> C</c><00:16:30.959><c> arrays</c>

00:16:31.230 --> 00:16:31.240 align:start position:0%
efficient if I just used pure C arrays
 

00:16:31.240 --> 00:16:33.310 align:start position:0%
efficient if I just used pure C arrays
for<00:16:31.360><c> this</c><00:16:31.680><c> for</c><00:16:31.800><c> all</c><00:16:31.959><c> of</c><00:16:32.079><c> the</c><00:16:32.360><c> kind</c><00:16:32.520><c> of</c><00:16:33.240><c> uh</c>

00:16:33.310 --> 00:16:33.320 align:start position:0%
for this for all of the kind of uh
 

00:16:33.320 --> 00:16:34.750 align:start position:0%
for this for all of the kind of uh
weights<00:16:33.680><c> and</c><00:16:33.760><c> neuron</c><00:16:34.040><c> stuff,</c><00:16:34.360><c> but</c><00:16:34.640><c> for</c>

00:16:34.750 --> 00:16:34.760 align:start position:0%
weights and neuron stuff, but for
 

00:16:34.760 --> 00:16:35.829 align:start position:0%
weights and neuron stuff, but for
whatever<00:16:34.959><c> reason,</c><00:16:35.200><c> when</c><00:16:35.320><c> I</c><00:16:35.360><c> started</c><00:16:35.680><c> this</c>

00:16:35.829 --> 00:16:35.839 align:start position:0%
whatever reason, when I started this
 

00:16:35.839 --> 00:16:37.590 align:start position:0%
whatever reason, when I started this
out,<00:16:36.079><c> I</c><00:16:36.160><c> just</c><00:16:36.520><c> did</c><00:16:36.680><c> it</c><00:16:36.800><c> all</c><00:16:36.920><c> with</c><00:16:37.120><c> NS</c><00:16:37.320><c> mutable</c>

00:16:37.590 --> 00:16:37.600 align:start position:0%
out, I just did it all with NS mutable
 

00:16:37.600 --> 00:16:39.710 align:start position:0%
out, I just did it all with NS mutable
arrays.<00:16:37.920><c> So,</c><00:16:38.560><c> obviously,</c><00:16:38.839><c> that's</c><00:16:39.000><c> very</c><00:16:39.640><c> uh</c>

00:16:39.710 --> 00:16:39.720 align:start position:0%
arrays. So, obviously, that's very uh
 

00:16:39.720 --> 00:16:41.270 align:start position:0%
arrays. So, obviously, that's very uh
inefficient<00:16:40.160><c> compared</c><00:16:40.440><c> to</c><00:16:40.520><c> just</c><00:16:40.680><c> pure</c><00:16:40.920><c> C,</c><00:16:41.120><c> but</c>

00:16:41.270 --> 00:16:41.280 align:start position:0%
inefficient compared to just pure C, but
 

00:16:41.280 --> 00:16:42.270 align:start position:0%
inefficient compared to just pure C, but
I'll<00:16:41.360><c> probably</c><00:16:41.640><c> rewrite</c><00:16:41.920><c> this</c><00:16:42.040><c> at</c><00:16:42.120><c> some</c>

00:16:42.270 --> 00:16:42.280 align:start position:0%
I'll probably rewrite this at some
 

00:16:42.280 --> 00:16:44.390 align:start position:0%
I'll probably rewrite this at some
point.<00:16:43.040><c> Um</c><00:16:43.560><c> but</c><00:16:43.720><c> again,</c><00:16:43.920><c> this</c><00:16:44.040><c> is</c><00:16:44.120><c> not</c><00:16:44.240><c> really</c>

00:16:44.390 --> 00:16:44.400 align:start position:0%
point. Um but again, this is not really
 

00:16:44.400 --> 00:16:45.870 align:start position:0%
point. Um but again, this is not really
about<00:16:44.600><c> the</c><00:16:44.720><c> actual</c><00:16:45.240><c> the</c><00:16:45.360><c> code.</c><00:16:45.640><c> It's</c><00:16:45.720><c> just</c>

00:16:45.870 --> 00:16:45.880 align:start position:0%
about the actual the code. It's just
 

00:16:45.880 --> 00:16:47.630 align:start position:0%
about the actual the code. It's just
about<00:16:46.120><c> the</c><00:16:46.320><c> kind</c><00:16:46.480><c> of</c><00:16:46.560><c> logic</c><00:16:46.880><c> of</c><00:16:47.040><c> understanding</c>

00:16:47.630 --> 00:16:47.640 align:start position:0%
about the kind of logic of understanding
 

00:16:47.640 --> 00:16:48.990 align:start position:0%
about the kind of logic of understanding
these<00:16:48.040><c> neural</c><00:16:48.280><c> networks</c><00:16:48.640><c> and</c><00:16:48.720><c> stuff</c><00:16:48.920><c> like</c>

00:16:48.990 --> 00:16:49.000 align:start position:0%
these neural networks and stuff like
 

00:16:49.000 --> 00:16:50.030 align:start position:0%
these neural networks and stuff like
that.<00:16:49.160><c> So,</c>

00:16:50.030 --> 00:16:50.040 align:start position:0%
that. So,
 

00:16:50.040 --> 00:16:52.069 align:start position:0%
that. So,
um<00:16:50.600><c> okay,</c><00:16:50.800><c> so</c><00:16:50.959><c> here</c><00:16:51.200><c> we're</c><00:16:51.280><c> going</c><00:16:51.400><c> to</c><00:16:51.480><c> be</c>

00:16:52.069 --> 00:16:52.079 align:start position:0%
um okay, so here we're going to be
 

00:16:52.079 --> 00:16:53.150 align:start position:0%
um okay, so here we're going to be
obviously<00:16:52.440><c> create</c><00:16:52.800><c> we're</c><00:16:52.880><c> going</c><00:16:53.000><c> to</c><00:16:53.040><c> call</c>

00:16:53.150 --> 00:16:53.160 align:start position:0%
obviously create we're going to call
 

00:16:53.160 --> 00:16:55.910 align:start position:0%
obviously create we're going to call
that<00:16:53.280><c> function</c><00:16:53.760><c> with</c><00:16:54.200><c> our</c><00:16:55.000><c> uh</c><00:16:55.360><c> both</c><00:16:55.640><c> of</c><00:16:55.760><c> our</c>

00:16:55.910 --> 00:16:55.920 align:start position:0%
that function with our uh both of our
 

00:16:55.920 --> 00:16:58.150 align:start position:0%
that function with our uh both of our
layer<00:16:56.160><c> one</c><00:16:56.480><c> layer</c><00:16:56.720><c> two</c><00:16:56.920><c> weights,</c><00:16:57.800><c> and</c><00:16:57.959><c> these</c>

00:16:58.150 --> 00:16:58.160 align:start position:0%
layer one layer two weights, and these
 

00:16:58.160 --> 00:16:59.510 align:start position:0%
layer one layer two weights, and these
are<00:16:58.240><c> going</c><00:16:58.360><c> to</c><00:16:58.440><c> need</c><00:16:58.640><c> to</c><00:16:58.760><c> be</c><00:16:59.079><c> slightly</c>

00:16:59.510 --> 00:16:59.520 align:start position:0%
are going to need to be slightly
 

00:16:59.520 --> 00:17:01.790 align:start position:0%
are going to need to be slightly
mutated,<00:17:00.079><c> but</c><00:17:00.320><c> based</c><00:17:00.800><c> off</c><00:17:01.000><c> of</c><00:17:01.120><c> the</c><00:17:01.280><c> best</c><00:17:01.720><c> or</c>

00:17:01.790 --> 00:17:01.800 align:start position:0%
mutated, but based off of the best or
 

00:17:01.800 --> 00:17:04.350 align:start position:0%
mutated, but based off of the best or
the<00:17:01.839><c> most</c><00:17:02.120><c> fittest</c><00:17:02.720><c> player.</c><00:17:03.120><c> So,</c>

00:17:04.350 --> 00:17:04.360 align:start position:0%
the most fittest player. So,
 

00:17:04.360 --> 00:17:05.669 align:start position:0%
the most fittest player. So,
what<00:17:04.439><c> we're</c><00:17:04.520><c> going</c><00:17:04.640><c> to</c><00:17:04.720><c> do</c><00:17:05.040><c> is</c><00:17:05.320><c> we</c><00:17:05.480><c> actually</c>

00:17:05.669 --> 00:17:05.679 align:start position:0%
what we're going to do is we actually
 

00:17:05.679 --> 00:17:07.910 align:start position:0%
what we're going to do is we actually
need<00:17:05.800><c> a</c><00:17:05.839><c> way</c><00:17:06.000><c> of</c><00:17:06.079><c> us</c><00:17:06.199><c> to</c><00:17:06.400><c> determine</c><00:17:07.240><c> who</c><00:17:07.480><c> is</c><00:17:07.720><c> the</c>

00:17:07.910 --> 00:17:07.920 align:start position:0%
need a way of us to determine who is the
 

00:17:07.920 --> 00:17:09.270 align:start position:0%
need a way of us to determine who is the
fittest<00:17:08.280><c> player.</c><00:17:08.839><c> And</c><00:17:08.959><c> as</c><00:17:09.079><c> I</c><00:17:09.120><c> already</c>

00:17:09.270 --> 00:17:09.280 align:start position:0%
fittest player. And as I already
 

00:17:09.280 --> 00:17:10.510 align:start position:0%
fittest player. And as I already
mentioned,<00:17:09.640><c> that's</c><00:17:09.800><c> going</c><00:17:09.920><c> to</c><00:17:10.000><c> be</c><00:17:10.079><c> based</c><00:17:10.360><c> on</c>

00:17:10.510 --> 00:17:10.520 align:start position:0%
mentioned, that's going to be based on
 

00:17:10.520 --> 00:17:11.910 align:start position:0%
mentioned, that's going to be based on
how<00:17:10.760><c> far</c><00:17:11.000><c> they</c><00:17:11.120><c> make</c><00:17:11.320><c> it</c><00:17:11.400><c> through</c><00:17:11.560><c> the</c><00:17:11.640><c> game.</c>

00:17:11.910 --> 00:17:11.920 align:start position:0%
how far they make it through the game.
 

00:17:11.920 --> 00:17:14.150 align:start position:0%
how far they make it through the game.
So,<00:17:12.040><c> the</c><00:17:12.120><c> basically</c><00:17:12.439><c> the</c><00:17:12.560><c> last</c><00:17:13.000><c> one</c><00:17:13.240><c> surviving</c>

00:17:14.150 --> 00:17:14.160 align:start position:0%
So, the basically the last one surviving
 

00:17:14.160 --> 00:17:15.710 align:start position:0%
So, the basically the last one surviving
is<00:17:14.280><c> going</c><00:17:14.400><c> to</c><00:17:14.480><c> be</c><00:17:14.560><c> the</c><00:17:14.640><c> fittest</c><00:17:14.959><c> one.</c><00:17:15.560><c> So,</c><00:17:15.640><c> if</c>

00:17:15.710 --> 00:17:15.720 align:start position:0%
is going to be the fittest one. So, if
 

00:17:15.720 --> 00:17:16.829 align:start position:0%
is going to be the fittest one. So, if
we<00:17:15.800><c> go</c><00:17:15.880><c> down</c><00:17:16.040><c> here</c><00:17:16.240><c> to</c><00:17:16.320><c> where</c><00:17:16.480><c> we</c><00:17:16.560><c> actually</c>

00:17:16.829 --> 00:17:16.839 align:start position:0%
we go down here to where we actually
 

00:17:16.839 --> 00:17:19.390 align:start position:0%
we go down here to where we actually
check<00:17:17.640><c> the</c><00:17:17.959><c> kind</c><00:17:18.120><c> of</c><00:17:18.199><c> collision</c><00:17:18.760><c> with</c><00:17:19.079><c> the</c><00:17:19.280><c> the</c>

00:17:19.390 --> 00:17:19.400 align:start position:0%
check the kind of collision with the the
 

00:17:19.400 --> 00:17:21.069 align:start position:0%
check the kind of collision with the the
bird<00:17:19.600><c> and</c><00:17:19.679><c> the</c><00:17:19.760><c> pipes</c><00:17:20.160><c> or</c><00:17:20.280><c> the</c><00:17:20.520><c> uh</c><00:17:20.640><c> the</c><00:17:20.760><c> up</c><00:17:20.959><c> and</c>

00:17:21.069 --> 00:17:21.079 align:start position:0%
bird and the pipes or the uh the up and
 

00:17:21.079 --> 00:17:22.990 align:start position:0%
bird and the pipes or the uh the up and
bottom<00:17:21.280><c> of</c><00:17:21.320><c> the</c><00:17:21.400><c> screen,</c><00:17:22.240><c> then</c><00:17:22.439><c> inside</c><00:17:22.800><c> here,</c>

00:17:22.990 --> 00:17:23.000 align:start position:0%
bottom of the screen, then inside here,
 

00:17:23.000 --> 00:17:24.390 align:start position:0%
bottom of the screen, then inside here,
we<00:17:23.120><c> can</c><00:17:23.240><c> actually</c><00:17:23.480><c> basically</c><00:17:23.839><c> constantly</c><00:17:24.240><c> be</c>

00:17:24.390 --> 00:17:24.400 align:start position:0%
we can actually basically constantly be
 

00:17:24.400 --> 00:17:28.150 align:start position:0%
we can actually basically constantly be
updating<00:17:24.880><c> these</c><00:17:25.079><c> best</c><00:17:26.079><c> um</c><00:17:26.520><c> weights</c><00:17:26.880><c> arrays</c><00:17:27.760><c> to</c>

00:17:28.150 --> 00:17:28.160 align:start position:0%
updating these best um weights arrays to
 

00:17:28.160 --> 00:17:29.910 align:start position:0%
updating these best um weights arrays to
correspond<00:17:28.640><c> with</c><00:17:28.800><c> the</c><00:17:28.880><c> current</c><00:17:29.400><c> best</c><00:17:29.679><c> player.</c>

00:17:29.910 --> 00:17:29.920 align:start position:0%
correspond with the current best player.
 

00:17:29.920 --> 00:17:31.110 align:start position:0%
correspond with the current best player.
Now,<00:17:30.040><c> obviously,</c><00:17:30.320><c> at</c><00:17:30.400><c> the</c><00:17:30.480><c> start,</c><00:17:30.880><c> all</c><00:17:31.000><c> the</c>

00:17:31.110 --> 00:17:31.120 align:start position:0%
Now, obviously, at the start, all the
 

00:17:31.120 --> 00:17:32.230 align:start position:0%
Now, obviously, at the start, all the
players<00:17:31.400><c> are</c><00:17:31.480><c> kind</c><00:17:31.600><c> of</c><00:17:31.679><c> equal,</c><00:17:32.000><c> because</c>

00:17:32.230 --> 00:17:32.240 align:start position:0%
players are kind of equal, because
 

00:17:32.240 --> 00:17:33.750 align:start position:0%
players are kind of equal, because
they're<00:17:32.400><c> all</c><00:17:32.480><c> going</c><00:17:32.600><c> to</c><00:17:32.679><c> be</c><00:17:32.720><c> alive</c><00:17:33.600><c> for</c><00:17:33.720><c> a</c>

00:17:33.750 --> 00:17:33.760 align:start position:0%
they're all going to be alive for a
 

00:17:33.760 --> 00:17:35.110 align:start position:0%
they're all going to be alive for a
certain<00:17:33.920><c> amount</c><00:17:34.080><c> of</c><00:17:34.160><c> time.</c><00:17:34.760><c> And</c><00:17:34.880><c> obviously,</c>

00:17:35.110 --> 00:17:35.120 align:start position:0%
certain amount of time. And obviously,
 

00:17:35.120 --> 00:17:36.590 align:start position:0%
certain amount of time. And obviously,
as<00:17:35.240><c> time</c><00:17:35.440><c> goes</c><00:17:35.600><c> through,</c><00:17:35.840><c> multiple</c><00:17:36.200><c> ones</c><00:17:36.440><c> may</c>

00:17:36.590 --> 00:17:36.600 align:start position:0%
as time goes through, multiple ones may
 

00:17:36.600 --> 00:17:37.750 align:start position:0%
as time goes through, multiple ones may
be<00:17:36.720><c> at</c><00:17:36.840><c> the</c><00:17:36.880><c> same</c><00:17:37.120><c> score.</c><00:17:37.440><c> So,</c><00:17:37.560><c> we're</c><00:17:37.640><c> just</c>

00:17:37.750 --> 00:17:37.760 align:start position:0%
be at the same score. So, we're just
 

00:17:37.760 --> 00:17:39.310 align:start position:0%
be at the same score. So, we're just
going<00:17:37.880><c> to</c><00:17:37.960><c> constantly</c><00:17:38.280><c> update</c><00:17:38.679><c> it</c><00:17:38.800><c> until</c>

00:17:39.310 --> 00:17:39.320 align:start position:0%
going to constantly update it until
 

00:17:39.320 --> 00:17:41.150 align:start position:0%
going to constantly update it until
they're<00:17:39.480><c> all</c><00:17:39.600><c> dead</c><00:17:39.840><c> essentially.</c><00:17:40.240><c> So,</c>

00:17:41.150 --> 00:17:41.160 align:start position:0%
they're all dead essentially. So,
 

00:17:41.160 --> 00:17:43.710 align:start position:0%
they're all dead essentially. So,
um<00:17:41.840><c> best</c><00:17:42.400><c> layer</c><00:17:42.640><c> one</c><00:17:42.880><c> weights,</c><00:17:43.480><c> we're</c><00:17:43.600><c> going</c>

00:17:43.710 --> 00:17:43.720 align:start position:0%
um best layer one weights, we're going
 

00:17:43.720 --> 00:17:45.830 align:start position:0%
um best layer one weights, we're going
to<00:17:44.080><c> set</c><00:17:44.240><c> that</c><00:17:44.360><c> equal</c><00:17:44.679><c> to</c>

00:17:45.830 --> 00:17:45.840 align:start position:0%
to set that equal to
 

00:17:45.840 --> 00:17:48.070 align:start position:0%
to set that equal to
uh<00:17:46.120><c> p.brain,</c>

00:17:48.070 --> 00:17:48.080 align:start position:0%
uh p.brain,
 

00:17:48.080 --> 00:17:50.750 align:start position:0%
uh p.brain,
and<00:17:48.200><c> then</c><00:17:48.320><c> we'll</c><00:17:48.480><c> get</c><00:17:49.040><c> layer</c><00:17:49.280><c> one</c><00:17:50.160><c> uh</c><00:17:50.320><c> weights</c>

00:17:50.750 --> 00:17:50.760 align:start position:0%
and then we'll get layer one uh weights
 

00:17:50.760 --> 00:17:52.230 align:start position:0%
and then we'll get layer one uh weights
over<00:17:50.920><c> there.</c>

00:17:52.230 --> 00:17:52.240 align:start position:0%
over there.
 

00:17:52.240 --> 00:17:54.390 align:start position:0%
over there.
And<00:17:52.360><c> then</c><00:17:52.480><c> the</c><00:17:52.600><c> same</c><00:17:53.000><c> for</c><00:17:53.200><c> layer</c><00:17:53.440><c> two.</c>

00:17:54.390 --> 00:17:54.400 align:start position:0%
And then the same for layer two.
 

00:17:54.400 --> 00:17:55.190 align:start position:0%
And then the same for layer two.
And<00:17:54.520><c> so,</c><00:17:54.600><c> that's</c><00:17:54.760><c> going</c><00:17:54.880><c> to</c><00:17:54.920><c> basically</c>

00:17:55.190 --> 00:17:55.200 align:start position:0%
And so, that's going to basically
 

00:17:55.200 --> 00:17:56.669 align:start position:0%
And so, that's going to basically
continue,<00:17:55.640><c> and</c><00:17:55.760><c> then</c><00:17:55.880><c> once</c><00:17:56.200><c> all</c><00:17:56.360><c> the</c><00:17:56.440><c> birds</c>

00:17:56.669 --> 00:17:56.679 align:start position:0%
continue, and then once all the birds
 

00:17:56.679 --> 00:17:58.830 align:start position:0%
continue, and then once all the birds
are<00:17:56.800><c> dead,</c><00:17:57.520><c> it's</c><00:17:57.679><c> going</c><00:17:57.800><c> to</c><00:17:57.880><c> call</c><00:17:58.160><c> self</c><00:17:58.720><c> uh</c>

00:17:58.830 --> 00:17:58.840 align:start position:0%
are dead, it's going to call self uh
 

00:17:58.840 --> 00:18:00.470 align:start position:0%
are dead, it's going to call self uh
restart.

00:18:00.470 --> 00:18:00.480 align:start position:0%
restart.
 

00:18:00.480 --> 00:18:02.950 align:start position:0%
restart.
Um<00:18:00.800><c> and</c><00:18:00.920><c> these</c><00:18:01.920><c> these</c><00:18:02.080><c> arrays</c><00:18:02.400><c> will</c><00:18:02.480><c> be</c><00:18:02.600><c> left</c>

00:18:02.950 --> 00:18:02.960 align:start position:0%
Um and these these arrays will be left
 

00:18:02.960 --> 00:18:04.550 align:start position:0%
Um and these these arrays will be left
with<00:18:03.120><c> whatever</c><00:18:03.400><c> the</c><00:18:03.520><c> last</c><00:18:04.040><c> bird</c><00:18:04.360><c> was</c>

00:18:04.550 --> 00:18:04.560 align:start position:0%
with whatever the last bird was
 

00:18:04.560 --> 00:18:06.270 align:start position:0%
with whatever the last bird was
essentially,<00:18:04.960><c> so</c><00:18:05.040><c> that</c><00:18:05.200><c> will</c><00:18:05.360><c> be</c><00:18:05.640><c> the</c><00:18:06.200><c> the</c>

00:18:06.270 --> 00:18:06.280 align:start position:0%
essentially, so that will be the the
 

00:18:06.280 --> 00:18:07.630 align:start position:0%
essentially, so that will be the the
best<00:18:06.520><c> weights.</c>

00:18:07.630 --> 00:18:07.640 align:start position:0%
best weights.
 

00:18:07.640 --> 00:18:09.190 align:start position:0%
best weights.
And<00:18:07.840><c> so,</c><00:18:07.920><c> we'll</c><00:18:08.000><c> do</c><00:18:08.080><c> a</c><00:18:08.120><c> quick</c><00:18:08.400><c> check</c><00:18:08.800><c> to</c><00:18:08.960><c> make</c>

00:18:09.190 --> 00:18:09.200 align:start position:0%
And so, we'll do a quick check to make
 

00:18:09.200 --> 00:18:10.430 align:start position:0%
And so, we'll do a quick check to make
sure<00:18:09.360><c> that</c><00:18:09.480><c> actually</c><00:18:09.720><c> did</c><00:18:09.960><c> work.</c><00:18:10.160><c> So,</c><00:18:10.320><c> we're</c>

00:18:10.430 --> 00:18:10.440 align:start position:0%
sure that actually did work. So, we're
 

00:18:10.440 --> 00:18:13.190 align:start position:0%
sure that actually did work. So, we're
going<00:18:10.560><c> to</c><00:18:10.640><c> set</c><00:18:11.560><c> the</c><00:18:12.240><c> um</c>

00:18:13.190 --> 00:18:13.200 align:start position:0%
going to set the um
 

00:18:13.200 --> 00:18:15.070 align:start position:0%
going to set the um
the<00:18:13.280><c> weights</c><00:18:13.880><c> to</c><00:18:14.080><c> the</c><00:18:14.160><c> best</c><00:18:14.520><c> layer</c><00:18:14.760><c> weights,</c>

00:18:15.070 --> 00:18:15.080 align:start position:0%
the weights to the best layer weights,
 

00:18:15.080 --> 00:18:16.790 align:start position:0%
the weights to the best layer weights,
but<00:18:15.320><c> for</c><00:18:15.440><c> all</c><00:18:15.640><c> of</c><00:18:15.720><c> the</c><00:18:15.800><c> birds.</c><00:18:16.080><c> So,</c><00:18:16.600><c> we</c><00:18:16.679><c> won't</c>

00:18:16.790 --> 00:18:16.800 align:start position:0%
but for all of the birds. So, we won't
 

00:18:16.800 --> 00:18:18.030 align:start position:0%
but for all of the birds. So, we won't
do<00:18:16.880><c> any</c><00:18:17.000><c> mutation.</c><00:18:17.480><c> We</c><00:18:17.520><c> just</c><00:18:17.640><c> want</c><00:18:17.760><c> to</c><00:18:17.800><c> quickly</c>

00:18:18.030 --> 00:18:18.040 align:start position:0%
do any mutation. We just want to quickly
 

00:18:18.040 --> 00:18:19.710 align:start position:0%
do any mutation. We just want to quickly
check<00:18:18.320><c> if</c><00:18:18.440><c> this</c><00:18:18.560><c> actually</c>

00:18:19.710 --> 00:18:19.720 align:start position:0%
check if this actually
 

00:18:19.720 --> 00:18:21.030 align:start position:0%
check if this actually
um<00:18:19.960><c> should</c><00:18:20.320><c> So,</c><00:18:20.440><c> basically,</c><00:18:20.679><c> it</c><00:18:20.720><c> should</c><00:18:20.880><c> do</c>

00:18:21.030 --> 00:18:21.040 align:start position:0%
um should So, basically, it should do
 

00:18:21.040 --> 00:18:22.390 align:start position:0%
um should So, basically, it should do
one<00:18:21.240><c> random</c><00:18:21.480><c> generation</c><00:18:21.960><c> of</c><00:18:22.040><c> a</c><00:18:22.080><c> thousand</c>

00:18:22.390 --> 00:18:22.400 align:start position:0%
one random generation of a thousand
 

00:18:22.400 --> 00:18:23.669 align:start position:0%
one random generation of a thousand
birds,<00:18:22.760><c> and</c><00:18:22.880><c> then</c><00:18:22.960><c> the</c><00:18:23.000><c> second</c><00:18:23.360><c> the</c><00:18:23.440><c> second</c>

00:18:23.669 --> 00:18:23.679 align:start position:0%
birds, and then the second the second
 

00:18:23.679 --> 00:18:26.430 align:start position:0%
birds, and then the second the second
generation<00:18:24.679><c> should</c><00:18:25.160><c> be</c><00:18:25.560><c> all</c><00:18:26.000><c> the</c><00:18:26.120><c> same</c>

00:18:26.430 --> 00:18:26.440 align:start position:0%
generation should be all the same
 

00:18:26.440 --> 00:18:27.470 align:start position:0%
generation should be all the same
weights.<00:18:26.720><c> They</c><00:18:26.800><c> should</c><00:18:26.960><c> all</c><00:18:27.040><c> have</c><00:18:27.159><c> the</c><00:18:27.200><c> exact</c>

00:18:27.470 --> 00:18:27.480 align:start position:0%
weights. They should all have the exact
 

00:18:27.480 --> 00:18:29.070 align:start position:0%
weights. They should all have the exact
same<00:18:27.679><c> brain</c><00:18:28.000><c> as</c><00:18:28.159><c> that</c><00:18:28.400><c> best</c><00:18:28.640><c> bird</c><00:18:28.880><c> from</c><00:18:29.000><c> the</c>

00:18:29.070 --> 00:18:29.080 align:start position:0%
same brain as that best bird from the
 

00:18:29.080 --> 00:18:30.230 align:start position:0%
same brain as that best bird from the
last<00:18:29.320><c> round.</c>

00:18:30.230 --> 00:18:30.240 align:start position:0%
last round.
 

00:18:30.240 --> 00:18:32.190 align:start position:0%
last round.
So,<00:18:30.440><c> we</c><00:18:30.600><c> will</c><00:18:30.720><c> click</c><00:18:30.960><c> play</c><00:18:31.240><c> and</c><00:18:31.400><c> run</c><00:18:31.560><c> this</c><00:18:31.840><c> onto</c>

00:18:32.190 --> 00:18:32.200 align:start position:0%
So, we will click play and run this onto
 

00:18:32.200 --> 00:18:34.230 align:start position:0%
So, we will click play and run this onto
the<00:18:32.400><c> iPad,</c><00:18:33.040><c> and</c>

00:18:34.230 --> 00:18:34.240 align:start position:0%
the iPad, and
 

00:18:34.240 --> 00:18:35.790 align:start position:0%
the iPad, and
show<00:18:34.400><c> you</c><00:18:34.480><c> guys</c><00:18:34.760><c> what</c><00:18:34.880><c> goes</c><00:18:35.120><c> on</c><00:18:35.280><c> here.</c><00:18:35.520><c> So,</c>

00:18:35.790 --> 00:18:35.800 align:start position:0%
show you guys what goes on here. So,
 

00:18:35.800 --> 00:18:37.830 align:start position:0%
show you guys what goes on here. So,
we're<00:18:35.880><c> going</c><00:18:36.000><c> to</c><00:18:36.080><c> set</c><00:18:36.320><c> again</c><00:18:37.200><c> a</c><00:18:37.240><c> thousand</c>

00:18:37.830 --> 00:18:37.840 align:start position:0%
we're going to set again a thousand
 

00:18:37.840 --> 00:18:39.750 align:start position:0%
we're going to set again a thousand
birds<00:18:38.320><c> for</c><00:18:38.480><c> the</c><00:18:38.560><c> first</c><00:18:38.919><c> generation,</c><00:18:39.560><c> so</c><00:18:39.679><c> you</c>

00:18:39.750 --> 00:18:39.760 align:start position:0%
birds for the first generation, so you
 

00:18:39.760 --> 00:18:42.110 align:start position:0%
birds for the first generation, so you
can<00:18:39.880><c> see</c><00:18:40.000><c> they're</c><00:18:40.200><c> all</c><00:18:40.280><c> again</c><00:18:40.760><c> very</c><00:18:40.960><c> random.</c>

00:18:42.110 --> 00:18:42.120 align:start position:0%
can see they're all again very random.
 

00:18:42.120 --> 00:18:44.149 align:start position:0%
can see they're all again very random.
And<00:18:42.480><c> once</c><00:18:42.679><c> they</c><00:18:42.840><c> all</c><00:18:42.960><c> die,</c><00:18:43.320><c> you</c><00:18:43.440><c> can</c><00:18:43.520><c> see</c><00:18:43.679><c> now</c>

00:18:44.149 --> 00:18:44.159 align:start position:0%
And once they all die, you can see now
 

00:18:44.159 --> 00:18:45.870 align:start position:0%
And once they all die, you can see now
they<00:18:44.360><c> all</c><00:18:44.520><c> stay</c><00:18:44.919><c> in</c><00:18:45.040><c> kind</c><00:18:45.200><c> of</c><00:18:45.280><c> one</c><00:18:45.560><c> single</c>

00:18:45.870 --> 00:18:45.880 align:start position:0%
they all stay in kind of one single
 

00:18:45.880 --> 00:18:47.149 align:start position:0%
they all stay in kind of one single
block,<00:18:46.240><c> because</c><00:18:46.440><c> they're</c><00:18:46.560><c> all</c><00:18:46.679><c> got</c><00:18:46.760><c> the</c><00:18:46.840><c> exact</c>

00:18:47.149 --> 00:18:47.159 align:start position:0%
block, because they're all got the exact
 

00:18:47.159 --> 00:18:49.149 align:start position:0%
block, because they're all got the exact
exact<00:18:47.400><c> same</c><00:18:47.600><c> weights,</c><00:18:48.320><c> so</c><00:18:48.440><c> they're</c><00:18:48.640><c> jumping</c>

00:18:49.149 --> 00:18:49.159 align:start position:0%
exact same weights, so they're jumping
 

00:18:49.159 --> 00:18:50.550 align:start position:0%
exact same weights, so they're jumping
at<00:18:49.280><c> the</c><00:18:49.360><c> exact</c><00:18:49.720><c> same</c><00:18:49.919><c> time</c><00:18:50.159><c> as</c><00:18:50.240><c> each</c><00:18:50.400><c> other.</c>

00:18:50.550 --> 00:18:50.560 align:start position:0%
at the exact same time as each other.
 

00:18:50.560 --> 00:18:53.669 align:start position:0%
at the exact same time as each other.
So,<00:18:51.159><c> that</c><00:18:51.280><c> does</c><00:18:51.480><c> confirm</c><00:18:52.159><c> that</c><00:18:52.480><c> uh</c><00:18:52.640><c> it</c><00:18:52.800><c> works</c>

00:18:53.669 --> 00:18:53.679 align:start position:0%
So, that does confirm that uh it works
 

00:18:53.679 --> 00:18:54.990 align:start position:0%
So, that does confirm that uh it works
what<00:18:53.840><c> we</c><00:18:54.120><c> what</c><00:18:54.240><c> we</c><00:18:54.280><c> just</c><00:18:54.440><c> tried</c><00:18:54.640><c> to</c><00:18:54.679><c> do</c><00:18:54.800><c> there.</c>

00:18:54.990 --> 00:18:55.000 align:start position:0%
what we what we just tried to do there.
 

00:18:55.000 --> 00:18:57.149 align:start position:0%
what we what we just tried to do there.
So,<00:18:55.480><c> we</c><00:18:55.640><c> have</c><00:18:56.360><c> um</c>

00:18:57.149 --> 00:18:57.159 align:start position:0%
So, we have um
 

00:18:57.159 --> 00:18:58.710 align:start position:0%
So, we have um
we've<00:18:57.280><c> been</c><00:18:57.400><c> able</c><00:18:57.600><c> to</c><00:18:57.880><c> adjust</c><00:18:58.400><c> the</c><00:18:58.480><c> weight</c>

00:18:58.710 --> 00:18:58.720 align:start position:0%
we've been able to adjust the weight
 

00:18:58.720 --> 00:19:00.669 align:start position:0%
we've been able to adjust the weight
values<00:18:59.040><c> of</c><00:18:59.120><c> the</c><00:18:59.200><c> second</c><00:18:59.480><c> generation.</c><00:19:00.440><c> Now,</c>

00:19:00.669 --> 00:19:00.679 align:start position:0%
values of the second generation. Now,
 

00:19:00.679 --> 00:19:01.750 align:start position:0%
values of the second generation. Now,
obviously,<00:19:00.880><c> what</c><00:19:00.960><c> we</c><00:19:01.040><c> need</c><00:19:01.159><c> to</c><00:19:01.240><c> do</c><00:19:01.400><c> to</c><00:19:01.520><c> allow</c>

00:19:01.750 --> 00:19:01.760 align:start position:0%
obviously, what we need to do to allow
 

00:19:01.760 --> 00:19:03.909 align:start position:0%
obviously, what we need to do to allow
it<00:19:01.880><c> to</c><00:19:02.040><c> progress</c><00:19:02.520><c> and</c><00:19:02.600><c> evolve</c><00:19:02.919><c> even</c><00:19:03.159><c> further,</c>

00:19:03.909 --> 00:19:03.919 align:start position:0%
it to progress and evolve even further,
 

00:19:03.919 --> 00:19:06.350 align:start position:0%
it to progress and evolve even further,
we<00:19:04.120><c> need</c><00:19:04.919><c> to</c><00:19:05.360><c> mutate</c><00:19:05.760><c> these</c><00:19:05.960><c> weights</c><00:19:06.240><c> or</c>

00:19:06.350 --> 00:19:06.360 align:start position:0%
we need to mutate these weights or
 

00:19:06.360 --> 00:19:07.870 align:start position:0%
we need to mutate these weights or
change<00:19:06.679><c> them</c><00:19:06.800><c> slightly,</c><00:19:07.240><c> so</c><00:19:07.360><c> they're</c><00:19:07.560><c> not</c><00:19:07.760><c> all</c>

00:19:07.870 --> 00:19:07.880 align:start position:0%
change them slightly, so they're not all
 

00:19:07.880 --> 00:19:09.230 align:start position:0%
change them slightly, so they're not all
exactly<00:19:08.320><c> the</c><00:19:08.400><c> same,</c><00:19:08.640><c> because</c><00:19:08.840><c> we</c><00:19:08.919><c> still</c><00:19:09.120><c> want</c>

00:19:09.230 --> 00:19:09.240 align:start position:0%
exactly the same, because we still want
 

00:19:09.240 --> 00:19:10.510 align:start position:0%
exactly the same, because we still want
the<00:19:09.320><c> birds</c><00:19:09.640><c> to</c><00:19:09.720><c> be</c><00:19:09.840><c> different.</c><00:19:10.200><c> We</c><00:19:10.280><c> still</c><00:19:10.400><c> want</c>

00:19:10.510 --> 00:19:10.520 align:start position:0%
the birds to be different. We still want
 

00:19:10.520 --> 00:19:12.149 align:start position:0%
the birds to be different. We still want
them<00:19:10.640><c> to</c><00:19:10.720><c> act</c><00:19:11.000><c> different,</c><00:19:11.760><c> otherwise,</c>

00:19:12.149 --> 00:19:12.159 align:start position:0%
them to act different, otherwise,
 

00:19:12.159 --> 00:19:14.990 align:start position:0%
them to act different, otherwise,
there's<00:19:12.320><c> no</c><00:19:12.440><c> more</c><00:19:12.960><c> uh</c><00:19:13.040><c> evolution</c><00:19:13.520><c> for</c><00:19:13.800><c> it.</c><00:19:13.919><c> So,</c>

00:19:14.990 --> 00:19:15.000 align:start position:0%
there's no more uh evolution for it. So,
 

00:19:15.000 --> 00:19:16.870 align:start position:0%
there's no more uh evolution for it. So,
we're<00:19:15.080><c> going</c><00:19:15.200><c> to</c><00:19:15.280><c> need</c><00:19:15.480><c> to</c><00:19:16.040><c> um</c><00:19:16.159><c> implement</c><00:19:16.640><c> some</c>

00:19:16.870 --> 00:19:16.880 align:start position:0%
we're going to need to um implement some
 

00:19:16.880 --> 00:19:19.230 align:start position:0%
we're going to need to um implement some
way<00:19:17.200><c> of</c><00:19:17.800><c> slightly</c><00:19:18.320><c> adjusting</c><00:19:18.800><c> these.</c><00:19:19.000><c> We</c><00:19:19.080><c> need</c>

00:19:19.230 --> 00:19:19.240 align:start position:0%
way of slightly adjusting these. We need
 

00:19:19.240 --> 00:19:21.030 align:start position:0%
way of slightly adjusting these. We need
to<00:19:19.320><c> keep</c><00:19:19.640><c> them</c><00:19:20.080><c> based</c><00:19:20.440><c> on</c><00:19:20.520><c> these</c><00:19:20.720><c> weights.</c><00:19:21.000><c> We</c>

00:19:21.030 --> 00:19:21.040 align:start position:0%
to keep them based on these weights. We
 

00:19:21.040 --> 00:19:21.790 align:start position:0%
to keep them based on these weights. We
don't<00:19:21.159><c> want</c><00:19:21.280><c> to</c><00:19:21.320><c> change</c><00:19:21.480><c> them</c><00:19:21.640><c> too</c>

00:19:21.790 --> 00:19:21.800 align:start position:0%
don't want to change them too
 

00:19:21.800 --> 00:19:22.990 align:start position:0%
don't want to change them too
drastically,<00:19:22.400><c> because</c><00:19:22.640><c> then</c><00:19:22.760><c> they'll</c><00:19:22.880><c> go</c>

00:19:22.990 --> 00:19:23.000 align:start position:0%
drastically, because then they'll go
 

00:19:23.000 --> 00:19:24.990 align:start position:0%
drastically, because then they'll go
back<00:19:23.159><c> to</c><00:19:23.240><c> being</c><00:19:23.480><c> random.</c><00:19:24.480><c> Uh</c><00:19:24.560><c> we</c><00:19:24.640><c> just</c><00:19:24.800><c> want</c><00:19:24.919><c> to</c>

00:19:24.990 --> 00:19:25.000 align:start position:0%
back to being random. Uh we just want to
 

00:19:25.000 --> 00:19:26.430 align:start position:0%
back to being random. Uh we just want to
change<00:19:25.360><c> some</c><00:19:25.560><c> of</c><00:19:25.640><c> them</c><00:19:25.760><c> as</c><00:19:25.880><c> well.</c><00:19:26.040><c> We</c><00:19:26.159><c> need</c>

00:19:26.430 --> 00:19:26.440 align:start position:0%
change some of them as well. We need
 

00:19:26.440 --> 00:19:28.110 align:start position:0%
change some of them as well. We need
some<00:19:26.600><c> of</c><00:19:26.679><c> them</c><00:19:26.760><c> to</c><00:19:26.840><c> stay</c><00:19:26.960><c> the</c><00:19:27.080><c> same,</c><00:19:27.720><c> and</c><00:19:28.000><c> some</c>

00:19:28.110 --> 00:19:28.120 align:start position:0%
some of them to stay the same, and some
 

00:19:28.120 --> 00:19:30.270 align:start position:0%
some of them to stay the same, and some
of<00:19:28.200><c> them</c><00:19:28.560><c> will</c><00:19:28.679><c> be</c><00:19:28.800><c> slightly</c><00:19:29.080><c> mutated.</c><00:19:30.120><c> Now,</c>

00:19:30.270 --> 00:19:30.280 align:start position:0%
of them will be slightly mutated. Now,
 

00:19:30.280 --> 00:19:31.270 align:start position:0%
of them will be slightly mutated. Now,
thinking<00:19:30.520><c> about</c><00:19:30.720><c> it</c><00:19:30.760><c> again,</c><00:19:31.000><c> I'm</c><00:19:31.080><c> actually</c>

00:19:31.270 --> 00:19:31.280 align:start position:0%
thinking about it again, I'm actually
 

00:19:31.280 --> 00:19:32.710 align:start position:0%
thinking about it again, I'm actually
going<00:19:31.400><c> to</c><00:19:31.440><c> go</c><00:19:31.520><c> back</c><00:19:31.760><c> on</c><00:19:31.840><c> what</c><00:19:31.919><c> I</c><00:19:31.960><c> said</c><00:19:32.200><c> earlier.</c>

00:19:32.710 --> 00:19:32.720 align:start position:0%
going to go back on what I said earlier.
 

00:19:32.720 --> 00:19:33.950 align:start position:0%
going to go back on what I said earlier.
I<00:19:32.840><c> am</c><00:19:32.960><c> going</c><00:19:33.080><c> to</c><00:19:33.159><c> implement</c><00:19:33.520><c> the</c><00:19:33.560><c> mutate</c>

00:19:33.950 --> 00:19:33.960 align:start position:0%
I am going to implement the mutate
 

00:19:33.960 --> 00:19:35.669 align:start position:0%
I am going to implement the mutate
function<00:19:34.400><c> into</c><00:19:34.919><c> the</c><00:19:35.040><c> neural</c><00:19:35.280><c> network,</c>

00:19:35.669 --> 00:19:35.679 align:start position:0%
function into the neural network,
 

00:19:35.679 --> 00:19:36.909 align:start position:0%
function into the neural network,
because<00:19:35.880><c> it</c><00:19:35.960><c> just</c><00:19:36.120><c> makes</c><00:19:36.320><c> a</c><00:19:36.360><c> lot</c><00:19:36.480><c> more</c><00:19:36.600><c> sense.</c>

00:19:36.909 --> 00:19:36.919 align:start position:0%
because it just makes a lot more sense.
 

00:19:36.919 --> 00:19:38.750 align:start position:0%
because it just makes a lot more sense.
So,<00:19:37.000><c> this</c><00:19:37.120><c> will</c><00:19:37.240><c> happen</c><00:19:37.560><c> automatically</c><00:19:38.600><c> when</c>

00:19:38.750 --> 00:19:38.760 align:start position:0%
So, this will happen automatically when
 

00:19:38.760 --> 00:19:39.950 align:start position:0%
So, this will happen automatically when
you<00:19:38.880><c> set</c><00:19:39.200><c> the</c><00:19:39.280><c> weights.</c><00:19:39.640><c> It's</c><00:19:39.760><c> going</c><00:19:39.880><c> to</c>

00:19:39.950 --> 00:19:39.960 align:start position:0%
you set the weights. It's going to
 

00:19:39.960 --> 00:19:42.310 align:start position:0%
you set the weights. It's going to
automatically<00:19:40.440><c> mutate</c><00:19:40.840><c> them,</c><00:19:41.679><c> um</c><00:19:41.919><c> and</c><00:19:42.240><c> it</c>

00:19:42.310 --> 00:19:42.320 align:start position:0%
automatically mutate them, um and it
 

00:19:42.320 --> 00:19:43.430 align:start position:0%
automatically mutate them, um and it
will<00:19:42.560><c> keep</c><00:19:42.760><c> some</c><00:19:42.880><c> of</c><00:19:42.960><c> them</c><00:19:43.040><c> the</c><00:19:43.120><c> same,</c><00:19:43.280><c> but</c><00:19:43.360><c> it</c>

00:19:43.430 --> 00:19:43.440 align:start position:0%
will keep some of them the same, but it
 

00:19:43.440 --> 00:19:45.070 align:start position:0%
will keep some of them the same, but it
will<00:19:43.520><c> mutate</c><00:19:43.800><c> some</c><00:19:43.919><c> of</c><00:19:44.000><c> them.</c><00:19:44.120><c> So,</c><00:19:44.720><c> inside</c>

00:19:45.070 --> 00:19:45.080 align:start position:0%
will mutate some of them. So, inside
 

00:19:45.080 --> 00:19:46.350 align:start position:0%
will mutate some of them. So, inside
both<00:19:45.240><c> of</c><00:19:45.320><c> these</c><00:19:45.440><c> methods</c><00:19:45.760><c> here,</c><00:19:45.919><c> where</c><00:19:46.040><c> we</c><00:19:46.159><c> set</c>

00:19:46.350 --> 00:19:46.360 align:start position:0%
both of these methods here, where we set
 

00:19:46.360 --> 00:19:47.470 align:start position:0%
both of these methods here, where we set
the<00:19:46.440><c> layer</c><00:19:46.600><c> one</c><00:19:46.760><c> weights</c><00:19:47.000><c> and</c><00:19:47.120><c> set</c><00:19:47.240><c> the</c><00:19:47.320><c> layer</c>

00:19:47.470 --> 00:19:47.480 align:start position:0%
the layer one weights and set the layer
 

00:19:47.480 --> 00:19:48.390 align:start position:0%
the layer one weights and set the layer
two<00:19:47.679><c> weights,</c><00:19:47.880><c> we're</c><00:19:47.960><c> going</c><00:19:48.080><c> to</c><00:19:48.120><c> have</c><00:19:48.360><c> a</c>

00:19:48.390 --> 00:19:48.400 align:start position:0%
two weights, we're going to have a
 

00:19:48.400 --> 00:19:49.909 align:start position:0%
two weights, we're going to have a
similar<00:19:48.919><c> section</c><00:19:49.240><c> of</c><00:19:49.320><c> code.</c><00:19:49.600><c> It's</c><00:19:49.720><c> going</c><00:19:49.840><c> to</c>

00:19:49.909 --> 00:19:49.919 align:start position:0%
similar section of code. It's going to
 

00:19:49.919 --> 00:19:51.350 align:start position:0%
similar section of code. It's going to
loop<00:19:50.240><c> through</c><00:19:50.600><c> the</c><00:19:50.720><c> weights.</c><00:19:51.120><c> So,</c><00:19:51.280><c> we're</c>

00:19:51.350 --> 00:19:51.360 align:start position:0%
loop through the weights. So, we're
 

00:19:51.360 --> 00:19:52.950 align:start position:0%
loop through the weights. So, we're
going<00:19:51.480><c> to</c><00:19:52.120><c> we're</c><00:19:52.200><c> going</c><00:19:52.360><c> to</c><00:19:52.440><c> have</c><00:19:52.480><c> a</c><00:19:52.520><c> for</c><00:19:52.720><c> loop</c>

00:19:52.950 --> 00:19:52.960 align:start position:0%
going to we're going to have a for loop
 

00:19:52.960 --> 00:19:55.830 align:start position:0%
going to we're going to have a for loop
here<00:19:53.280><c> that</c><00:19:53.520><c> is</c><00:19:54.280><c> um</c><00:19:54.440><c> layer</c><00:19:54.680><c> one</c><00:19:54.920><c> weight.</c><00:19:55.560><c> So,</c><00:19:55.760><c> I</c>

00:19:55.830 --> 00:19:55.840 align:start position:0%
here that is um layer one weight. So, I
 

00:19:55.840 --> 00:19:57.990 align:start position:0%
here that is um layer one weight. So, I
will<00:19:55.920><c> be</c><00:19:56.040><c> less</c><00:19:56.240><c> than</c><00:19:56.400><c> layer</c><00:19:56.640><c> one</c><00:19:56.840><c> weights.</c>

00:19:57.990 --> 00:19:58.000 align:start position:0%
will be less than layer one weights.
 

00:19:58.000 --> 00:20:00.550 align:start position:0%
will be less than layer one weights.
count<00:19:58.520><c> and</c><00:19:58.920><c> we'll</c><00:19:59.040><c> increment</c><00:19:59.440><c> that.</c>

00:20:00.550 --> 00:20:00.560 align:start position:0%
count and we'll increment that.
 

00:20:00.560 --> 00:20:01.830 align:start position:0%
count and we'll increment that.
And<00:20:00.720><c> then</c><00:20:01.000><c> we're</c><00:20:01.120><c> going</c><00:20:01.240><c> to</c><00:20:01.320><c> go</c><00:20:01.520><c> through</c><00:20:01.760><c> we're</c>

00:20:01.830 --> 00:20:01.840 align:start position:0%
And then we're going to go through we're
 

00:20:01.840 --> 00:20:03.030 align:start position:0%
And then we're going to go through we're
going<00:20:01.960><c> to</c><00:20:02.000><c> make</c><00:20:02.200><c> a</c><00:20:02.280><c> decision.</c><00:20:02.720><c> So,</c><00:20:02.840><c> we'll</c><00:20:02.920><c> have</c>

00:20:03.030 --> 00:20:03.040 align:start position:0%
going to make a decision. So, we'll have
 

00:20:03.040 --> 00:20:04.430 align:start position:0%
going to make a decision. So, we'll have
some<00:20:03.200><c> kind</c><00:20:03.320><c> of</c><00:20:03.440><c> random</c><00:20:03.800><c> number</c><00:20:04.040><c> generator</c>

00:20:04.430 --> 00:20:04.440 align:start position:0%
some kind of random number generator
 

00:20:04.440 --> 00:20:05.830 align:start position:0%
some kind of random number generator
that's<00:20:04.600><c> going</c><00:20:04.720><c> to</c><00:20:04.800><c> decide</c><00:20:05.280><c> whether</c><00:20:05.560><c> or</c><00:20:05.640><c> not</c>

00:20:05.830 --> 00:20:05.840 align:start position:0%
that's going to decide whether or not
 

00:20:05.840 --> 00:20:07.590 align:start position:0%
that's going to decide whether or not
we're<00:20:05.920><c> going</c><00:20:06.040><c> to</c><00:20:06.120><c> mutate</c><00:20:06.520><c> this</c><00:20:06.680><c> weight.</c><00:20:07.520><c> And</c>

00:20:07.590 --> 00:20:07.600 align:start position:0%
we're going to mutate this weight. And
 

00:20:07.600 --> 00:20:09.830 align:start position:0%
we're going to mutate this weight. And
then<00:20:07.720><c> if</c><00:20:07.840><c> we</c><00:20:08.000><c> are,</c><00:20:08.600><c> we're</c><00:20:08.720><c> going</c><00:20:08.880><c> to</c><00:20:09.000><c> kind</c><00:20:09.240><c> of</c>

00:20:09.830 --> 00:20:09.840 align:start position:0%
then if we are, we're going to kind of
 

00:20:09.840 --> 00:20:10.470 align:start position:0%
then if we are, we're going to kind of
um

00:20:10.470 --> 00:20:10.480 align:start position:0%
um
 

00:20:10.480 --> 00:20:11.950 align:start position:0%
um
adjust<00:20:10.880><c> the</c><00:20:10.960><c> weight</c><00:20:11.200><c> slightly</c><00:20:11.600><c> so</c><00:20:11.720><c> that</c><00:20:11.840><c> the</c>

00:20:11.950 --> 00:20:11.960 align:start position:0%
adjust the weight slightly so that the
 

00:20:11.960 --> 00:20:13.870 align:start position:0%
adjust the weight slightly so that the
value<00:20:12.240><c> of</c><00:20:12.320><c> it</c><00:20:12.440><c> changes</c><00:20:12.760><c> a</c><00:20:12.800><c> little</c><00:20:12.960><c> bit.</c><00:20:13.160><c> So,</c>

00:20:13.870 --> 00:20:13.880 align:start position:0%
value of it changes a little bit. So,
 

00:20:13.880 --> 00:20:15.870 align:start position:0%
value of it changes a little bit. So,
we'll<00:20:14.040><c> create</c><00:20:14.520><c> a</c><00:20:14.760><c> random</c><00:20:15.200><c> number.</c><00:20:15.560><c> So,</c><00:20:15.720><c> we'll</c>

00:20:15.870 --> 00:20:15.880 align:start position:0%
we'll create a random number. So, we'll
 

00:20:15.880 --> 00:20:18.350 align:start position:0%
we'll create a random number. So, we'll
use<00:20:16.600><c> um</c><00:20:16.880><c> arc</c><00:20:17.160><c> for</c><00:20:17.360><c> random.</c><00:20:18.000><c> That's</c><00:20:18.120><c> probably</c>

00:20:18.350 --> 00:20:18.360 align:start position:0%
use um arc for random. That's probably
 

00:20:18.360 --> 00:20:20.110 align:start position:0%
use um arc for random. That's probably
the<00:20:18.480><c> easiest</c><00:20:18.760><c> way</c><00:20:18.880><c> to</c><00:20:19.000><c> do</c><00:20:19.160><c> this.</c><00:20:19.760><c> So,</c><00:20:20.000><c> should</c>

00:20:20.110 --> 00:20:20.120 align:start position:0%
the easiest way to do this. So, should
 

00:20:20.120 --> 00:20:22.310 align:start position:0%
the easiest way to do this. So, should
we<00:20:20.200><c> do</c><00:20:20.280><c> it</c><00:20:20.360><c> random</c><00:20:20.600><c> number</c><00:20:20.760><c> between</c><00:20:21.760><c> zero</c><00:20:22.160><c> and</c>

00:20:22.310 --> 00:20:22.320 align:start position:0%
we do it random number between zero and
 

00:20:22.320 --> 00:20:24.630 align:start position:0%
we do it random number between zero and
two?<00:20:22.600><c> So,</c><00:20:22.960><c> we'll</c><00:20:23.120><c> use</c><00:20:23.360><c> this</c><00:20:23.480><c> as</c><00:20:23.560><c> a</c><00:20:23.640><c> 30%</c><00:20:24.400><c> chance</c>

00:20:24.630 --> 00:20:24.640 align:start position:0%
two? So, we'll use this as a 30% chance
 

00:20:24.640 --> 00:20:27.910 align:start position:0%
two? So, we'll use this as a 30% chance
33%<00:20:25.280><c> chance.</c><00:20:25.560><c> So,</c><00:20:26.280><c> if</c><00:20:26.800><c> the</c><00:20:27.400><c> the</c><00:20:27.520><c> value</c><00:20:27.800><c> of</c><00:20:27.840><c> the</c>

00:20:27.910 --> 00:20:27.920 align:start position:0%
33% chance. So, if the the value of the
 

00:20:27.920 --> 00:20:29.350 align:start position:0%
33% chance. So, if the the value of the
random<00:20:28.240><c> number</c>

00:20:29.350 --> 00:20:29.360 align:start position:0%
random number
 

00:20:29.360 --> 00:20:30.230 align:start position:0%
random number
uh<00:20:29.440><c> oops</c>

00:20:30.230 --> 00:20:30.240 align:start position:0%
uh oops
 

00:20:30.240 --> 00:20:32.670 align:start position:0%
uh oops
If<00:20:30.360><c> the</c><00:20:30.440><c> value</c><00:20:30.640><c> of</c><00:20:30.720><c> the</c><00:20:30.800><c> random</c><00:20:31.080><c> number</c><00:20:31.600><c> is</c><00:20:32.560><c> uh</c>

00:20:32.670 --> 00:20:32.680 align:start position:0%
If the value of the random number is uh
 

00:20:32.680 --> 00:20:35.910 align:start position:0%
If the value of the random number is uh
let's<00:20:32.880><c> say</c><00:20:33.680><c> zero.</c>

00:20:35.910 --> 00:20:35.920 align:start position:0%
let's say zero.
 

00:20:35.920 --> 00:20:37.190 align:start position:0%
let's say zero.
So,<00:20:35.960><c> if</c><00:20:36.040><c> the</c><00:20:36.160><c> random</c><00:20:36.440><c> number</c><00:20:36.600><c> comes</c><00:20:36.880><c> out</c><00:20:37.000><c> to</c><00:20:37.080><c> be</c>

00:20:37.190 --> 00:20:37.200 align:start position:0%
So, if the random number comes out to be
 

00:20:37.200 --> 00:20:39.990 align:start position:0%
So, if the random number comes out to be
zero,<00:20:38.200><c> then</c><00:20:38.680><c> this</c><00:20:38.840><c> is</c><00:20:38.920><c> a</c><00:20:39.000><c> 33%</c><00:20:39.720><c> chance</c><00:20:39.920><c> of</c>

00:20:39.990 --> 00:20:40.000 align:start position:0%
zero, then this is a 33% chance of
 

00:20:40.000 --> 00:20:41.670 align:start position:0%
zero, then this is a 33% chance of
happening.<00:20:40.320><c> So,</c><00:20:40.480><c> what</c><00:20:40.640><c> we'll</c><00:20:40.800><c> do</c><00:20:41.000><c> here</c><00:20:41.360><c> is</c><00:20:41.560><c> we</c>

00:20:41.670 --> 00:20:41.680 align:start position:0%
happening. So, what we'll do here is we
 

00:20:41.680 --> 00:20:44.190 align:start position:0%
happening. So, what we'll do here is we
will<00:20:42.000><c> randomize</c><00:20:43.200><c> whatever</c><00:20:43.520><c> current</c><00:20:43.880><c> weight</c>

00:20:44.190 --> 00:20:44.200 align:start position:0%
will randomize whatever current weight
 

00:20:44.200 --> 00:20:46.630 align:start position:0%
will randomize whatever current weight
we're<00:20:44.360><c> on.</c><00:20:44.560><c> So,</c><00:20:45.240><c> that'll</c><00:20:45.440><c> be</c><00:20:45.600><c> index</c><00:20:46.200><c> I.</c><00:20:46.440><c> So,</c>

00:20:46.630 --> 00:20:46.640 align:start position:0%
we're on. So, that'll be index I. So,
 

00:20:46.640 --> 00:20:47.710 align:start position:0%
we're on. So, that'll be index I. So,
we'll<00:20:46.760><c> do</c>

00:20:47.710 --> 00:20:47.720 align:start position:0%
we'll do
 

00:20:47.720 --> 00:20:51.230 align:start position:0%
we'll do
layer<00:20:48.280><c> one</c><00:20:48.840><c> weights</c><00:20:50.000><c> uh</c><00:20:50.080><c> uh</c><00:20:50.120><c> replace</c><00:20:50.760><c> object</c>

00:20:51.230 --> 00:20:51.240 align:start position:0%
layer one weights uh uh replace object
 

00:20:51.240 --> 00:20:54.510 align:start position:0%
layer one weights uh uh replace object
at<00:20:51.360><c> index</c><00:20:52.520><c> um</c><00:20:53.040><c> with</c><00:20:53.240><c> object.</c><00:20:53.680><c> So,</c><00:20:53.800><c> index</c><00:20:54.320><c> will</c>

00:20:54.510 --> 00:20:54.520 align:start position:0%
at index um with object. So, index will
 

00:20:54.520 --> 00:20:56.230 align:start position:0%
at index um with object. So, index will
be<00:20:55.120><c> I.</c>

00:20:56.230 --> 00:20:56.240 align:start position:0%
be I.
 

00:20:56.240 --> 00:20:58.870 align:start position:0%
be I.
And<00:20:56.440><c> then</c><00:20:56.560><c> the</c><00:20:56.720><c> object,</c><00:20:57.640><c> this</c><00:20:57.920><c> will</c><00:20:58.040><c> just</c><00:20:58.280><c> be</c>

00:20:58.870 --> 00:20:58.880 align:start position:0%
And then the object, this will just be
 

00:20:58.880 --> 00:21:02.110 align:start position:0%
And then the object, this will just be
uh<00:20:58.960><c> NS</c><00:20:59.640><c> number</c><00:21:00.480><c> float</c><00:21:00.960><c> with</c><00:21:01.400><c> value</c><00:21:01.880><c> number</c>

00:21:02.110 --> 00:21:02.120 align:start position:0%
uh NS number float with value number
 

00:21:02.120 --> 00:21:04.470 align:start position:0%
uh NS number float with value number
sorry<00:21:02.360><c> number</c><00:21:02.600><c> float.</c><00:21:03.680><c> And</c><00:21:03.840><c> then</c><00:21:04.000><c> this</c><00:21:04.240><c> float</c>

00:21:04.470 --> 00:21:04.480 align:start position:0%
sorry number float. And then this float
 

00:21:04.480 --> 00:21:05.430 align:start position:0%
sorry number float. And then this float
we're<00:21:04.560><c> actually</c><00:21:04.720><c> going</c><00:21:04.840><c> to</c><00:21:04.920><c> have</c><00:21:05.160><c> another</c>

00:21:05.430 --> 00:21:05.440 align:start position:0%
we're actually going to have another
 

00:21:05.440 --> 00:21:08.070 align:start position:0%
we're actually going to have another
random<00:21:05.760><c> number</c><00:21:06.160><c> between</c><00:21:07.200><c> minus</c><00:21:07.560><c> one</c><00:21:07.720><c> and</c><00:21:07.880><c> one</c>

00:21:08.070 --> 00:21:08.080 align:start position:0%
random number between minus one and one
 

00:21:08.080 --> 00:21:09.710 align:start position:0%
random number between minus one and one
just<00:21:08.280><c> as</c><00:21:08.400><c> we</c><00:21:08.520><c> randomize</c><00:21:09.000><c> them</c><00:21:09.120><c> initially</c><00:21:09.560><c> when</c>

00:21:09.710 --> 00:21:09.720 align:start position:0%
just as we randomize them initially when
 

00:21:09.720 --> 00:21:11.710 align:start position:0%
just as we randomize them initially when
we<00:21:09.800><c> create</c><00:21:10.080><c> the</c><00:21:10.160><c> first</c><00:21:10.640><c> neural</c><00:21:10.880><c> networks.</c>

00:21:11.710 --> 00:21:11.720 align:start position:0%
we create the first neural networks.
 

00:21:11.720 --> 00:21:15.470 align:start position:0%
we create the first neural networks.
Also,<00:21:11.960><c> we'll</c><00:21:12.040><c> just</c>

00:21:15.470 --> 00:21:15.480 align:start position:0%
 
 

00:21:15.480 --> 00:21:17.310 align:start position:0%
 
I'll<00:21:15.640><c> put</c><00:21:15.760><c> that</c><00:21:15.880><c> in</c><00:21:16.000><c> there.</c><00:21:16.280><c> So,</c><00:21:17.000><c> what</c><00:21:17.160><c> this</c>

00:21:17.310 --> 00:21:17.320 align:start position:0%
I'll put that in there. So, what this
 

00:21:17.320 --> 00:21:18.950 align:start position:0%
I'll put that in there. So, what this
code<00:21:17.600><c> basically</c><00:21:17.920><c> does</c><00:21:18.160><c> to</c><00:21:18.280><c> recap</c><00:21:18.600><c> again,</c><00:21:18.840><c> we</c>

00:21:18.950 --> 00:21:18.960 align:start position:0%
code basically does to recap again, we
 

00:21:18.960 --> 00:21:20.830 align:start position:0%
code basically does to recap again, we
loop<00:21:19.280><c> through</c><00:21:19.640><c> all</c><00:21:19.840><c> of</c><00:21:20.000><c> the</c><00:21:20.200><c> weights</c><00:21:20.640><c> in</c><00:21:20.760><c> the</c>

00:21:20.830 --> 00:21:20.840 align:start position:0%
loop through all of the weights in the
 

00:21:20.840 --> 00:21:23.470 align:start position:0%
loop through all of the weights in the
layer<00:21:21.040><c> one</c><00:21:21.200><c> weights</c><00:21:22.080><c> and</c><00:21:22.240><c> then</c><00:21:22.560><c> 33%</c><00:21:23.320><c> of</c><00:21:23.400><c> the</c>

00:21:23.470 --> 00:21:23.480 align:start position:0%
layer one weights and then 33% of the
 

00:21:23.480 --> 00:21:26.270 align:start position:0%
layer one weights and then 33% of the
time<00:21:24.240><c> we're</c><00:21:24.400><c> going</c><00:21:24.680><c> to</c><00:21:25.160><c> replace</c><00:21:25.880><c> one</c><00:21:26.080><c> of</c><00:21:26.160><c> the</c>

00:21:26.270 --> 00:21:26.280 align:start position:0%
time we're going to replace one of the
 

00:21:26.280 --> 00:21:28.590 align:start position:0%
time we're going to replace one of the
weights<00:21:26.760><c> with</c><00:21:26.920><c> a</c><00:21:27.000><c> random</c><00:21:27.760><c> value.</c><00:21:28.440><c> So,</c><00:21:28.560><c> a</c>

00:21:28.590 --> 00:21:28.600 align:start position:0%
weights with a random value. So, a
 

00:21:28.600 --> 00:21:30.710 align:start position:0%
weights with a random value. So, a
completely<00:21:28.960><c> random</c><00:21:29.240><c> value</c><00:21:30.000><c> just</c><00:21:30.240><c> as</c><00:21:30.360><c> we</c><00:21:30.480><c> would</c>

00:21:30.710 --> 00:21:30.720 align:start position:0%
completely random value just as we would
 

00:21:30.720 --> 00:21:32.030 align:start position:0%
completely random value just as we would
generate<00:21:31.040><c> random</c><00:21:31.280><c> values</c><00:21:31.520><c> initially</c><00:21:31.920><c> with</c>

00:21:32.030 --> 00:21:32.040 align:start position:0%
generate random values initially with
 

00:21:32.040 --> 00:21:34.070 align:start position:0%
generate random values initially with
the<00:21:32.400><c> original</c><00:21:32.760><c> neural</c><00:21:32.960><c> network.</c><00:21:33.360><c> So,</c><00:21:33.880><c> this</c>

00:21:34.070 --> 00:21:34.080 align:start position:0%
the original neural network. So, this
 

00:21:34.080 --> 00:21:35.510 align:start position:0%
the original neural network. So, this
function's<00:21:34.440><c> going</c><00:21:34.560><c> to</c><00:21:34.600><c> be</c><00:21:34.720><c> exactly</c><00:21:35.120><c> the</c><00:21:35.200><c> same</c>

00:21:35.510 --> 00:21:35.520 align:start position:0%
function's going to be exactly the same
 

00:21:35.520 --> 00:21:37.390 align:start position:0%
function's going to be exactly the same
as<00:21:35.680><c> in</c><00:21:36.120><c> uh</c><00:21:36.360><c> the</c><00:21:36.480><c> layer</c><00:21:36.720><c> twos</c><00:21:36.960><c> as</c><00:21:37.080><c> well.</c><00:21:37.240><c> So,</c><00:21:37.320><c> we</c>

00:21:37.390 --> 00:21:37.400 align:start position:0%
as in uh the layer twos as well. So, we
 

00:21:37.400 --> 00:21:39.150 align:start position:0%
as in uh the layer twos as well. So, we
can<00:21:37.520><c> copy</c><00:21:37.800><c> this</c><00:21:38.320><c> obviously</c><00:21:38.600><c> making</c><00:21:38.880><c> sure</c><00:21:39.040><c> that</c>

00:21:39.150 --> 00:21:39.160 align:start position:0%
can copy this obviously making sure that
 

00:21:39.160 --> 00:21:41.350 align:start position:0%
can copy this obviously making sure that
you<00:21:39.240><c> change</c><00:21:40.160><c> the</c><00:21:40.240><c> reference</c><00:21:40.720><c> from</c><00:21:40.880><c> layer</c><00:21:41.080><c> one</c>

00:21:41.350 --> 00:21:41.360 align:start position:0%
you change the reference from layer one
 

00:21:41.360 --> 00:21:42.790 align:start position:0%
you change the reference from layer one
to<00:21:41.480><c> layer</c><00:21:41.680><c> two.</c>

00:21:42.790 --> 00:21:42.800 align:start position:0%
to layer two.
 

00:21:42.800 --> 00:21:44.470 align:start position:0%
to layer two.
So,<00:21:42.920><c> this</c><00:21:43.080><c> is</c><00:21:43.160><c> kind</c><00:21:43.360><c> of</c><00:21:43.440><c> a</c><00:21:43.560><c> basic</c><00:21:44.160><c> form</c><00:21:44.400><c> of</c>

00:21:44.470 --> 00:21:44.480 align:start position:0%
So, this is kind of a basic form of
 

00:21:44.480 --> 00:21:46.030 align:start position:0%
So, this is kind of a basic form of
mutation.<00:21:45.000><c> Now,</c><00:21:45.160><c> I've</c><00:21:45.280><c> not</c><00:21:45.520><c> actually</c>

00:21:46.030 --> 00:21:46.040 align:start position:0%
mutation. Now, I've not actually
 

00:21:46.040 --> 00:21:47.350 align:start position:0%
mutation. Now, I've not actually
experimented<00:21:46.640><c> with</c><00:21:46.720><c> this</c><00:21:46.880><c> yet.</c><00:21:47.040><c> So,</c><00:21:47.120><c> I</c><00:21:47.160><c> don't</c>

00:21:47.350 --> 00:21:47.360 align:start position:0%
experimented with this yet. So, I don't
 

00:21:47.360 --> 00:21:48.550 align:start position:0%
experimented with this yet. So, I don't
know<00:21:47.440><c> how</c><00:21:47.640><c> well</c><00:21:47.840><c> this</c><00:21:47.960><c> is</c><00:21:48.040><c> going</c><00:21:48.160><c> to</c><00:21:48.240><c> work</c><00:21:48.480><c> if</c>

00:21:48.550 --> 00:21:48.560 align:start position:0%
know how well this is going to work if
 

00:21:48.560 --> 00:21:50.910 align:start position:0%
know how well this is going to work if
it's<00:21:48.640><c> going</c><00:21:48.760><c> to</c><00:21:48.840><c> work</c><00:21:48.960><c> at</c><00:21:49.160><c> all</c><00:21:49.800><c> or</c><00:21:50.040><c> if</c><00:21:50.480><c> uh</c><00:21:50.560><c> the</c>

00:21:50.910 --> 00:21:50.920 align:start position:0%
it's going to work at all or if uh the
 

00:21:50.920 --> 00:21:52.430 align:start position:0%
it's going to work at all or if uh the
the<00:21:51.000><c> probability</c><00:21:51.480><c> of</c><00:21:51.680><c> replacing</c><00:21:52.080><c> the</c><00:21:52.160><c> values</c>

00:21:52.430 --> 00:21:52.440 align:start position:0%
the probability of replacing the values
 

00:21:52.440 --> 00:21:53.550 align:start position:0%
the probability of replacing the values
is<00:21:52.520><c> too</c><00:21:52.680><c> high</c><00:21:52.880><c> or</c><00:21:52.960><c> too</c><00:21:53.120><c> low.</c><00:21:53.240><c> So,</c><00:21:53.360><c> we're</c><00:21:53.440><c> going</c>

00:21:53.550 --> 00:21:53.560 align:start position:0%
is too high or too low. So, we're going
 

00:21:53.560 --> 00:21:54.470 align:start position:0%
is too high or too low. So, we're going
to

00:21:54.470 --> 00:21:54.480 align:start position:0%
to
 

00:21:54.480 --> 00:21:56.950 align:start position:0%
to
see<00:21:54.680><c> that</c><00:21:54.800><c> in</c><00:21:54.920><c> a</c><00:21:54.960><c> minute.</c><00:21:55.840><c> And</c><00:21:56.320><c> I'll</c><00:21:56.480><c> probably</c>

00:21:56.950 --> 00:21:56.960 align:start position:0%
see that in a minute. And I'll probably
 

00:21:56.960 --> 00:21:59.350 align:start position:0%
see that in a minute. And I'll probably
implement<00:21:57.400><c> better</c><00:21:57.640><c> way</c><00:21:57.720><c> of</c><00:21:57.800><c> doing</c><00:21:58.360><c> um</c>

00:21:59.350 --> 00:21:59.360 align:start position:0%
implement better way of doing um
 

00:21:59.360 --> 00:22:01.190 align:start position:0%
implement better way of doing um
mutation<00:21:59.800><c> because</c><00:22:00.480><c> obviously</c><00:22:00.800><c> this</c><00:22:00.960><c> is</c><00:22:01.040><c> just</c>

00:22:01.190 --> 00:22:01.200 align:start position:0%
mutation because obviously this is just
 

00:22:01.200 --> 00:22:02.910 align:start position:0%
mutation because obviously this is just
completely<00:22:01.760><c> randomizing</c><00:22:02.280><c> one</c><00:22:02.400><c> of</c><00:22:02.480><c> the</c><00:22:02.560><c> things</c>

00:22:02.910 --> 00:22:02.920 align:start position:0%
completely randomizing one of the things
 

00:22:02.920 --> 00:22:06.150 align:start position:0%
completely randomizing one of the things
whereas<00:22:03.520><c> this</c><00:22:03.960><c> Stack</c><00:22:04.240><c> Overflow</c><00:22:05.120><c> page</c><00:22:05.560><c> did</c><00:22:05.800><c> say</c>

00:22:06.150 --> 00:22:06.160 align:start position:0%
whereas this Stack Overflow page did say
 

00:22:06.160 --> 00:22:08.750 align:start position:0%
whereas this Stack Overflow page did say
that<00:22:07.000><c> uh</c><00:22:07.080><c> you</c><00:22:07.200><c> can</c><00:22:07.920><c> adjust</c><00:22:08.320><c> the</c><00:22:08.440><c> weight</c>

00:22:08.750 --> 00:22:08.760 align:start position:0%
that uh you can adjust the weight
 

00:22:08.760 --> 00:22:11.230 align:start position:0%
that uh you can adjust the weight
slightly<00:22:09.320><c> or</c><00:22:09.880><c> swap</c><00:22:10.240><c> two</c><00:22:10.440><c> weights</c><00:22:10.960><c> swap</c><00:22:11.160><c> the</c>

00:22:11.230 --> 00:22:11.240 align:start position:0%
slightly or swap two weights swap the
 

00:22:11.240 --> 00:22:13.030 align:start position:0%
slightly or swap two weights swap the
positions<00:22:11.640><c> of</c><00:22:11.720><c> two</c><00:22:11.880><c> weights.</c><00:22:12.200><c> So,</c><00:22:12.720><c> there</c><00:22:12.920><c> are</c>

00:22:13.030 --> 00:22:13.040 align:start position:0%
positions of two weights. So, there are
 

00:22:13.040 --> 00:22:14.630 align:start position:0%
positions of two weights. So, there are
probably<00:22:13.440><c> different</c><00:22:13.760><c> ways</c><00:22:14.000><c> and</c><00:22:14.160><c> better</c><00:22:14.440><c> ways</c>

00:22:14.630 --> 00:22:14.640 align:start position:0%
probably different ways and better ways
 

00:22:14.640 --> 00:22:16.630 align:start position:0%
probably different ways and better ways
of<00:22:14.760><c> doing</c><00:22:15.000><c> this.</c><00:22:15.240><c> But</c><00:22:15.480><c> for</c><00:22:15.600><c> now</c><00:22:16.120><c> for</c><00:22:16.240><c> the</c><00:22:16.320><c> first</c>

00:22:16.630 --> 00:22:16.640 align:start position:0%
of doing this. But for now for the first
 

00:22:16.640 --> 00:22:18.550 align:start position:0%
of doing this. But for now for the first
kind<00:22:16.840><c> of</c><00:22:16.920><c> mutation</c><00:22:17.400><c> tests,</c><00:22:18.200><c> we're</c><00:22:18.320><c> just</c><00:22:18.440><c> going</c>

00:22:18.550 --> 00:22:18.560 align:start position:0%
kind of mutation tests, we're just going
 

00:22:18.560 --> 00:22:20.310 align:start position:0%
kind of mutation tests, we're just going
to<00:22:18.640><c> completely</c><00:22:19.160><c> randomize</c><00:22:19.880><c> a</c><00:22:19.960><c> few</c><00:22:20.160><c> of</c><00:22:20.240><c> the</c>

00:22:20.310 --> 00:22:20.320 align:start position:0%
to completely randomize a few of the
 

00:22:20.320 --> 00:22:22.550 align:start position:0%
to completely randomize a few of the
weights<00:22:20.640><c> in</c><00:22:20.760><c> the</c><00:22:20.800><c> network.</c><00:22:21.120><c> So,</c><00:22:21.480><c> roughly</c><00:22:21.800><c> 33%</c>

00:22:22.550 --> 00:22:22.560 align:start position:0%
weights in the network. So, roughly 33%
 

00:22:22.560 --> 00:22:23.550 align:start position:0%
weights in the network. So, roughly 33%
of<00:22:22.640><c> them.</c>

00:22:23.550 --> 00:22:23.560 align:start position:0%
of them.
 

00:22:23.560 --> 00:22:24.790 align:start position:0%
of them.
So,<00:22:23.679><c> there</c><00:22:23.760><c> were</c><00:22:23.840><c> a</c><00:22:23.880><c> few</c><00:22:24.080><c> things</c><00:22:24.320><c> in</c><00:22:24.400><c> that</c><00:22:24.520><c> code</c>

00:22:24.790 --> 00:22:24.800 align:start position:0%
So, there were a few things in that code
 

00:22:24.800 --> 00:22:26.270 align:start position:0%
So, there were a few things in that code
code<00:22:24.960><c> that</c><00:22:25.080><c> need</c><00:22:25.280><c> need</c><00:22:25.440><c> to</c><00:22:25.520><c> clearing</c><00:22:25.840><c> up</c><00:22:26.200><c> uh</c>

00:22:26.270 --> 00:22:26.280 align:start position:0%
code that need need to clearing up uh
 

00:22:26.280 --> 00:22:28.550 align:start position:0%
code that need need to clearing up uh
which<00:22:26.520><c> I've</c><00:22:26.640><c> now</c><00:22:26.800><c> done.</c><00:22:27.560><c> And</c><00:22:28.200><c> uh</c><00:22:28.280><c> yeah,</c><00:22:28.440><c> so</c>

00:22:28.550 --> 00:22:28.560 align:start position:0%
which I've now done. And uh yeah, so
 

00:22:28.560 --> 00:22:30.070 align:start position:0%
which I've now done. And uh yeah, so
we're<00:22:28.640><c> going</c><00:22:28.760><c> to</c><00:22:28.840><c> run</c><00:22:29.000><c> this</c><00:22:29.160><c> now</c><00:22:29.480><c> on</c><00:22:29.600><c> the</c><00:22:29.760><c> iPad.</c>

00:22:30.070 --> 00:22:30.080 align:start position:0%
we're going to run this now on the iPad.
 

00:22:30.080 --> 00:22:31.150 align:start position:0%
we're going to run this now on the iPad.
So,<00:22:30.160><c> I've</c><00:22:30.200><c> got</c><00:22:30.360><c> it</c><00:22:30.440><c> connected.</c><00:22:30.960><c> We're</c><00:22:31.040><c> going</c>

00:22:31.150 --> 00:22:31.160 align:start position:0%
So, I've got it connected. We're going
 

00:22:31.160 --> 00:22:33.430 align:start position:0%
So, I've got it connected. We're going
to<00:22:31.240><c> click</c><00:22:31.800><c> play.</c><00:22:32.720><c> All</c><00:22:32.800><c> right.</c><00:22:32.960><c> So,</c><00:22:33.080><c> here</c><00:22:33.240><c> we</c>

00:22:33.430 --> 00:22:33.440 align:start position:0%
to click play. All right. So, here we
 

00:22:33.440 --> 00:22:35.510 align:start position:0%
to click play. All right. So, here we
are<00:22:33.679><c> with</c>

00:22:35.510 --> 00:22:35.520 align:start position:0%
are with
 

00:22:35.520 --> 00:22:37.190 align:start position:0%
are with
Um<00:22:35.840><c> so,</c><00:22:36.120><c> what</c><00:22:36.240><c> we're</c><00:22:36.320><c> going</c><00:22:36.440><c> to</c><00:22:36.480><c> do</c><00:22:36.600><c> is</c><00:22:36.720><c> select</c>

00:22:37.190 --> 00:22:37.200 align:start position:0%
Um so, what we're going to do is select
 

00:22:37.200 --> 00:22:39.190 align:start position:0%
Um so, what we're going to do is select
1,000<00:22:37.600><c> birds</c><00:22:37.800><c> again</c><00:22:38.000><c> as</c><00:22:38.120><c> we</c><00:22:38.240><c> did</c><00:22:38.520><c> on</c><00:22:38.679><c> the</c><00:22:38.800><c> first</c>

00:22:39.190 --> 00:22:39.200 align:start position:0%
1,000 birds again as we did on the first
 

00:22:39.200 --> 00:22:41.669 align:start position:0%
1,000 birds again as we did on the first
go.<00:22:40.000><c> Start</c><00:22:40.760><c> and</c><00:22:41.040><c> again</c><00:22:41.240><c> it's</c><00:22:41.360><c> going</c><00:22:41.480><c> to</c><00:22:41.520><c> do</c><00:22:41.560><c> the</c>

00:22:41.669 --> 00:22:41.679 align:start position:0%
go. Start and again it's going to do the
 

00:22:41.679 --> 00:22:44.270 align:start position:0%
go. Start and again it's going to do the
first<00:22:42.080><c> random</c><00:22:42.480><c> generation.</c><00:22:43.679><c> And</c><00:22:43.880><c> then</c><00:22:44.160><c> what</c>

00:22:44.270 --> 00:22:44.280 align:start position:0%
first random generation. And then what
 

00:22:44.280 --> 00:22:46.590 align:start position:0%
first random generation. And then what
we<00:22:44.400><c> should</c><00:22:44.640><c> see</c><00:22:44.960><c> is</c><00:22:45.160><c> that</c><00:22:45.880><c> they</c><00:22:46.080><c> are</c><00:22:46.240><c> getting</c>

00:22:46.590 --> 00:22:46.600 align:start position:0%
we should see is that they are getting
 

00:22:46.600 --> 00:22:49.070 align:start position:0%
we should see is that they are getting
progressively<00:22:47.240><c> smarter</c><00:22:47.640><c> now.</c>

00:22:49.070 --> 00:22:49.080 align:start position:0%
progressively smarter now.
 

00:22:49.080 --> 00:22:50.630 align:start position:0%
progressively smarter now.
So,<00:22:49.160><c> we're</c><00:22:49.240><c> going</c><00:22:49.360><c> to</c><00:22:49.440><c> run</c><00:22:49.679><c> that</c><00:22:50.000><c> with</c><00:22:50.240><c> 1,000</c>

00:22:50.630 --> 00:22:50.640 align:start position:0%
So, we're going to run that with 1,000
 

00:22:50.640 --> 00:22:52.430 align:start position:0%
So, we're going to run that with 1,000
bird<00:22:50.840><c> generation.</c><00:22:51.880><c> Some</c><00:22:52.080><c> of</c><00:22:52.160><c> them</c><00:22:52.280><c> are</c><00:22:52.320><c> going</c>

00:22:52.430 --> 00:22:52.440 align:start position:0%
bird generation. Some of them are going
 

00:22:52.440 --> 00:22:53.470 align:start position:0%
bird generation. Some of them are going
to<00:22:52.520><c> survive.</c><00:22:52.880><c> You</c><00:22:52.920><c> can</c><00:22:53.040><c> see</c><00:22:53.120><c> that</c><00:22:53.240><c> we've</c><00:22:53.320><c> got</c>

00:22:53.470 --> 00:22:53.480 align:start position:0%
to survive. You can see that we've got
 

00:22:53.480 --> 00:22:55.630 align:start position:0%
to survive. You can see that we've got
one<00:22:53.720><c> bird</c><00:22:54.000><c> left.</c><00:22:54.600><c> And</c><00:22:54.800><c> then</c><00:22:54.960><c> when</c><00:22:55.120><c> this</c><00:22:55.360><c> bird</c>

00:22:55.630 --> 00:22:55.640 align:start position:0%
one bird left. And then when this bird
 

00:22:55.640 --> 00:22:57.910 align:start position:0%
one bird left. And then when this bird
dies,<00:22:56.480><c> we're</c><00:22:56.600><c> going</c><00:22:56.720><c> to</c><00:22:56.840><c> generate</c><00:22:57.600><c> another</c>

00:22:57.910 --> 00:22:57.920 align:start position:0%
dies, we're going to generate another
 

00:22:57.920 --> 00:23:00.230 align:start position:0%
dies, we're going to generate another
generation<00:22:59.120><c> with</c>

00:23:00.230 --> 00:23:00.240 align:start position:0%
generation with
 

00:23:00.240 --> 00:23:01.790 align:start position:0%
generation with
weights<00:23:00.560><c> based</c><00:23:00.880><c> off</c><00:23:01.000><c> of</c><00:23:01.040><c> that</c><00:23:01.240><c> first</c><00:23:01.560><c> bird.</c>

00:23:01.790 --> 00:23:01.800 align:start position:0%
weights based off of that first bird.
 

00:23:01.800 --> 00:23:04.030 align:start position:0%
weights based off of that first bird.
Now,<00:23:01.960><c> it</c><00:23:02.080><c> kind</c><00:23:02.320><c> of</c><00:23:02.400><c> doesn't</c><00:23:03.080><c> exactly</c><00:23:03.600><c> improve</c>

00:23:04.030 --> 00:23:04.040 align:start position:0%
Now, it kind of doesn't exactly improve
 

00:23:04.040 --> 00:23:05.830 align:start position:0%
Now, it kind of doesn't exactly improve
too<00:23:04.240><c> well</c><00:23:04.400><c> at</c><00:23:04.480><c> the</c><00:23:04.520><c> moment.</c><00:23:05.200><c> Uh</c><00:23:05.280><c> that</c><00:23:05.480><c> may</c><00:23:05.640><c> be</c>

00:23:05.830 --> 00:23:05.840 align:start position:0%
too well at the moment. Uh that may be
 

00:23:05.840 --> 00:23:07.669 align:start position:0%
too well at the moment. Uh that may be
to<00:23:05.960><c> do</c><00:23:06.080><c> with</c><00:23:06.400><c> the</c><00:23:06.480><c> method</c><00:23:06.880><c> of</c><00:23:07.120><c> crossover</c><00:23:07.600><c> or</c>

00:23:07.669 --> 00:23:07.679 align:start position:0%
to do with the method of crossover or
 

00:23:07.679 --> 00:23:08.710 align:start position:0%
to do with the method of crossover or
the<00:23:07.720><c> method</c><00:23:08.000><c> method</c><00:23:08.240><c> of</c><00:23:08.320><c> the</c><00:23:08.400><c> genetic</c>

00:23:08.710 --> 00:23:08.720 align:start position:0%
the method method of the genetic
 

00:23:08.720 --> 00:23:11.550 align:start position:0%
the method method of the genetic
implantation<00:23:09.280><c> I've</c><00:23:09.400><c> used.</c><00:23:10.160><c> But</c><00:23:10.720><c> um</c><00:23:10.920><c> over</c><00:23:11.160><c> time</c>

00:23:11.550 --> 00:23:11.560 align:start position:0%
implantation I've used. But um over time
 

00:23:11.560 --> 00:23:13.870 align:start position:0%
implantation I've used. But um over time
hopefully<00:23:12.480><c> I'm</c><00:23:12.600><c> going</c><00:23:12.880><c> to</c><00:23:13.080><c> be</c><00:23:13.200><c> able</c><00:23:13.360><c> to</c>

00:23:13.870 --> 00:23:13.880 align:start position:0%
hopefully I'm going to be able to
 

00:23:13.880 --> 00:23:15.270 align:start position:0%
hopefully I'm going to be able to
improve<00:23:14.280><c> this.</c><00:23:14.440><c> So,</c><00:23:14.520><c> I'm</c><00:23:14.560><c> going</c><00:23:14.679><c> to</c><00:23:15.080><c> give</c><00:23:15.200><c> it</c>

00:23:15.270 --> 00:23:15.280 align:start position:0%
improve this. So, I'm going to give it
 

00:23:15.280 --> 00:23:16.710 align:start position:0%
improve this. So, I'm going to give it
another<00:23:15.440><c> try.</c><00:23:16.040><c> Go</c><00:23:16.160><c> on</c><00:23:16.280><c> the</c><00:23:16.360><c> second</c>

00:23:16.710 --> 00:23:16.720 align:start position:0%
another try. Go on the second
 

00:23:16.720 --> 00:23:18.190 align:start position:0%
another try. Go on the second
generation.

00:23:18.190 --> 00:23:18.200 align:start position:0%
generation.
 

00:23:18.200 --> 00:23:20.390 align:start position:0%
generation.
And<00:23:18.920><c> you</c><00:23:19.040><c> can</c><00:23:19.160><c> see</c><00:23:19.320><c> a</c><00:23:19.400><c> lot</c><00:23:19.640><c> more</c><00:23:19.880><c> birds</c><00:23:20.240><c> did</c>

00:23:20.390 --> 00:23:20.400 align:start position:0%
And you can see a lot more birds did
 

00:23:20.400 --> 00:23:21.750 align:start position:0%
And you can see a lot more birds did
make<00:23:20.560><c> it</c><00:23:20.640><c> through.</c><00:23:20.760><c> See,</c><00:23:20.920><c> nine</c><00:23:21.240><c> birds</c><00:23:21.520><c> made</c><00:23:21.679><c> it</c>

00:23:21.750 --> 00:23:21.760 align:start position:0%
make it through. See, nine birds made it
 

00:23:21.760 --> 00:23:22.710 align:start position:0%
make it through. See, nine birds made it
through<00:23:21.920><c> that</c><00:23:22.040><c> time.</c><00:23:22.200><c> So,</c><00:23:22.280><c> there</c><00:23:22.400><c> is</c><00:23:22.560><c> some</c>

00:23:22.710 --> 00:23:22.720 align:start position:0%
through that time. So, there is some
 

00:23:22.720 --> 00:23:25.630 align:start position:0%
through that time. So, there is some
evidence<00:23:23.560><c> of</c><00:23:23.720><c> improvement.</c><00:23:24.840><c> Um</c><00:23:25.240><c> but</c><00:23:25.520><c> yeah,</c>

00:23:25.630 --> 00:23:25.640 align:start position:0%
evidence of improvement. Um but yeah,
 

00:23:25.640 --> 00:23:27.470 align:start position:0%
evidence of improvement. Um but yeah,
obviously<00:23:26.280><c> this</c><00:23:26.440><c> is</c><00:23:26.560><c> probably</c><00:23:26.840><c> not</c>

00:23:27.470 --> 00:23:27.480 align:start position:0%
obviously this is probably not
 

00:23:27.480 --> 00:23:29.950 align:start position:0%
obviously this is probably not
sufficient<00:23:28.120><c> to</c><00:23:28.960><c> actually</c><00:23:29.320><c> allow</c><00:23:29.520><c> the</c><00:23:29.640><c> bird</c><00:23:29.840><c> to</c>

00:23:29.950 --> 00:23:29.960 align:start position:0%
sufficient to actually allow the bird to
 

00:23:29.960 --> 00:23:32.190 align:start position:0%
sufficient to actually allow the bird to
completely<00:23:30.520><c> train</c><00:23:30.800><c> itself</c><00:23:31.120><c> to</c><00:23:31.200><c> know</c><00:23:31.400><c> how</c><00:23:31.600><c> to</c>

00:23:32.190 --> 00:23:32.200 align:start position:0%
completely train itself to know how to
 

00:23:32.200 --> 00:23:35.110 align:start position:0%
completely train itself to know how to
play<00:23:32.360><c> that</c><00:23:32.520><c> game.</c><00:23:32.840><c> But</c><00:23:33.560><c> that</c><00:23:33.760><c> is</c><00:23:33.920><c> the</c><00:23:34.000><c> basic</c><00:23:34.760><c> um</c>

00:23:35.110 --> 00:23:35.120 align:start position:0%
play that game. But that is the basic um
 

00:23:35.120 --> 00:23:36.710 align:start position:0%
play that game. But that is the basic um
or<00:23:35.200><c> at</c><00:23:35.280><c> least</c><00:23:35.400><c> a</c><00:23:35.480><c> good</c><00:23:35.720><c> start</c><00:23:36.240><c> with</c><00:23:36.560><c> the</c>

00:23:36.710 --> 00:23:36.720 align:start position:0%
or at least a good start with the
 

00:23:36.720 --> 00:23:37.990 align:start position:0%
or at least a good start with the
genetic<00:23:37.080><c> algorithm</c><00:23:37.400><c> at</c><00:23:37.480><c> least</c><00:23:37.679><c> I</c><00:23:37.760><c> think</c>

00:23:37.990 --> 00:23:38.000 align:start position:0%
genetic algorithm at least I think
 

00:23:38.000 --> 00:23:39.470 align:start position:0%
genetic algorithm at least I think
because<00:23:38.360><c> uh</c><00:23:38.880><c> that's</c><00:23:39.040><c> the</c><00:23:39.120><c> first</c><00:23:39.320><c> time</c><00:23:39.440><c> I've</c>

00:23:39.470 --> 00:23:39.480 align:start position:0%
because uh that's the first time I've
 

00:23:39.480 --> 00:23:41.110 align:start position:0%
because uh that's the first time I've
actually<00:23:39.679><c> played</c><00:23:39.880><c> around</c><00:23:40.080><c> with</c><00:23:40.160><c> that.</c><00:23:40.360><c> So,</c>

00:23:41.110 --> 00:23:41.120 align:start position:0%
actually played around with that. So,
 

00:23:41.120 --> 00:23:43.230 align:start position:0%
actually played around with that. So,
I'm<00:23:41.440><c> probably</c><00:23:41.880><c> going</c><00:23:42.160><c> to</c><00:23:42.480><c> have</c><00:23:42.640><c> a</c><00:23:42.679><c> second</c><00:23:43.040><c> part</c>

00:23:43.230 --> 00:23:43.240 align:start position:0%
I'm probably going to have a second part
 

00:23:43.240 --> 00:23:44.550 align:start position:0%
I'm probably going to have a second part
of<00:23:43.280><c> this</c><00:23:43.400><c> video</c><00:23:43.640><c> at</c><00:23:43.720><c> some</c><00:23:43.920><c> point</c><00:23:44.120><c> maybe</c><00:23:44.320><c> next</c>

00:23:44.550 --> 00:23:44.560 align:start position:0%
of this video at some point maybe next
 

00:23:44.560 --> 00:23:47.070 align:start position:0%
of this video at some point maybe next
week<00:23:44.920><c> if</c><00:23:45.200><c> I</c><00:23:45.920><c> um</c><00:23:46.000><c> implement</c><00:23:46.400><c> a</c><00:23:46.440><c> better</c><00:23:46.720><c> genetic</c>

00:23:47.070 --> 00:23:47.080 align:start position:0%
week if I um implement a better genetic
 

00:23:47.080 --> 00:23:48.270 align:start position:0%
week if I um implement a better genetic
algorithm<00:23:47.480><c> to</c><00:23:47.600><c> actually</c><00:23:47.800><c> get</c><00:23:47.920><c> the</c><00:23:48.000><c> bird</c><00:23:48.200><c> to</c>

00:23:48.270 --> 00:23:48.280 align:start position:0%
algorithm to actually get the bird to
 

00:23:48.280 --> 00:23:50.750 align:start position:0%
algorithm to actually get the bird to
improve<00:23:49.080><c> um</c><00:23:49.360><c> in</c><00:23:49.480><c> a</c><00:23:49.520><c> more</c><00:23:49.640><c> efficient</c><00:23:50.000><c> way</c><00:23:50.600><c> and</c><00:23:50.720><c> a</c>

00:23:50.750 --> 00:23:50.760 align:start position:0%
improve um in a more efficient way and a
 

00:23:50.760 --> 00:23:52.510 align:start position:0%
improve um in a more efficient way and a
lot<00:23:50.920><c> faster.</c><00:23:51.400><c> And</c><00:23:51.560><c> hopefully</c><00:23:52.040><c> I</c><00:23:52.120><c> can</c><00:23:52.280><c> get</c><00:23:52.440><c> a</c>

00:23:52.510 --> 00:23:52.520 align:start position:0%
lot faster. And hopefully I can get a
 

00:23:52.520 --> 00:23:54.630 align:start position:0%
lot faster. And hopefully I can get a
way<00:23:52.720><c> of</c><00:23:53.360><c> hopefully</c><00:23:53.600><c> I</c><00:23:53.640><c> can</c><00:23:53.720><c> get</c><00:23:53.920><c> a</c><00:23:54.200><c> scenario</c>

00:23:54.630 --> 00:23:54.640 align:start position:0%
way of hopefully I can get a scenario
 

00:23:54.640 --> 00:23:56.230 align:start position:0%
way of hopefully I can get a scenario
where<00:23:54.760><c> the</c><00:23:54.840><c> bird</c><00:23:55.040><c> actually</c><00:23:55.760><c> learns</c><00:23:56.040><c> to</c><00:23:56.120><c> play</c>

00:23:56.230 --> 00:23:56.240 align:start position:0%
where the bird actually learns to play
 

00:23:56.240 --> 00:23:57.430 align:start position:0%
where the bird actually learns to play
the<00:23:56.360><c> game</c><00:23:56.600><c> flawlessly</c><00:23:57.080><c> and</c><00:23:57.160><c> can</c>

00:23:57.430 --> 00:23:57.440 align:start position:0%
the game flawlessly and can
 

00:23:57.440 --> 00:23:59.750 align:start position:0%
the game flawlessly and can
theoretically<00:23:57.960><c> go</c><00:23:58.120><c> on</c><00:23:58.240><c> forever.</c><00:23:58.640><c> So,</c>

00:23:59.750 --> 00:23:59.760 align:start position:0%
theoretically go on forever. So,
 

00:23:59.760 --> 00:24:01.390 align:start position:0%
theoretically go on forever. So,
yeah.<00:23:59.960><c> Anyway,</c><00:24:00.200><c> I</c><00:24:00.240><c> hope</c><00:24:00.400><c> you</c><00:24:00.480><c> guys</c><00:24:01.080><c> um</c><00:24:01.200><c> found</c>

00:24:01.390 --> 00:24:01.400 align:start position:0%
yeah. Anyway, I hope you guys um found
 

00:24:01.400 --> 00:24:02.830 align:start position:0%
yeah. Anyway, I hope you guys um found
this<00:24:01.520><c> video</c><00:24:01.800><c> interesting.</c><00:24:02.360><c> It</c><00:24:02.440><c> wasn't</c><00:24:02.600><c> really</c>

00:24:02.830 --> 00:24:02.840 align:start position:0%
this video interesting. It wasn't really
 

00:24:02.840 --> 00:24:04.310 align:start position:0%
this video interesting. It wasn't really
a<00:24:02.920><c> tutorial</c><00:24:03.440><c> as</c><00:24:03.520><c> I</c><00:24:03.600><c> said</c><00:24:03.760><c> at</c><00:24:03.840><c> the</c><00:24:03.880><c> beginning,</c>

00:24:04.310 --> 00:24:04.320 align:start position:0%
a tutorial as I said at the beginning,
 

00:24:04.320 --> 00:24:05.830 align:start position:0%
a tutorial as I said at the beginning,
but<00:24:04.960><c> just</c><00:24:05.120><c> thought</c><00:24:05.240><c> it'd</c><00:24:05.320><c> be</c><00:24:05.400><c> interesting</c><00:24:05.760><c> to</c>

00:24:05.830 --> 00:24:05.840 align:start position:0%
but just thought it'd be interesting to
 

00:24:05.840 --> 00:24:07.430 align:start position:0%
but just thought it'd be interesting to
kind<00:24:06.000><c> of</c><00:24:06.080><c> show</c><00:24:06.240><c> the</c><00:24:06.400><c> development</c><00:24:06.840><c> progress</c><00:24:07.280><c> on</c>

00:24:07.430 --> 00:24:07.440 align:start position:0%
kind of show the development progress on
 

00:24:07.440 --> 00:24:09.270 align:start position:0%
kind of show the development progress on
this.<00:24:07.920><c> And</c><00:24:08.080><c> it's</c><00:24:08.200><c> a</c><00:24:08.440><c> very</c><00:24:08.640><c> new</c><00:24:08.800><c> topic</c><00:24:09.120><c> cuz</c><00:24:09.200><c> I've</c>

00:24:09.270 --> 00:24:09.280 align:start position:0%
this. And it's a very new topic cuz I've
 

00:24:09.280 --> 00:24:10.870 align:start position:0%
this. And it's a very new topic cuz I've
never<00:24:09.480><c> covered</c><00:24:09.720><c> this</c><00:24:09.880><c> on</c><00:24:10.000><c> the</c><00:24:10.080><c> channel.</c>

00:24:10.870 --> 00:24:10.880 align:start position:0%
never covered this on the channel.
 

00:24:10.880 --> 00:24:12.230 align:start position:0%
never covered this on the channel.
Neural<00:24:11.080><c> network</c><00:24:11.440><c> is</c><00:24:11.520><c> something</c><00:24:11.679><c> I'm</c><00:24:11.760><c> very</c><00:24:12.000><c> new</c>

00:24:12.230 --> 00:24:12.240 align:start position:0%
Neural network is something I'm very new
 

00:24:12.240 --> 00:24:14.150 align:start position:0%
Neural network is something I'm very new
to.<00:24:12.800><c> And</c><00:24:13.280><c> um</c><00:24:13.440><c> I'm</c><00:24:13.560><c> sure</c><00:24:13.720><c> that</c><00:24:13.840><c> many</c><00:24:14.040><c> of</c><00:24:14.120><c> you</c>

00:24:14.150 --> 00:24:14.160 align:start position:0%
to. And um I'm sure that many of you
 

00:24:14.160 --> 00:24:15.870 align:start position:0%
to. And um I'm sure that many of you
guys<00:24:14.360><c> may</c><00:24:14.440><c> already</c><00:24:14.920><c> be</c><00:24:15.160><c> be</c><00:24:15.360><c> more</c><00:24:15.560><c> familiar</c>

00:24:15.870 --> 00:24:15.880 align:start position:0%
guys may already be be more familiar
 

00:24:15.880 --> 00:24:18.270 align:start position:0%
guys may already be be more familiar
with<00:24:16.000><c> this</c><00:24:16.120><c> than</c><00:24:16.320><c> I</c><00:24:16.400><c> am.</c><00:24:17.160><c> Um</c><00:24:17.400><c> if</c><00:24:17.520><c> so,</c><00:24:17.760><c> then</c>

00:24:18.270 --> 00:24:18.280 align:start position:0%
with this than I am. Um if so, then
 

00:24:18.280 --> 00:24:20.590 align:start position:0%
with this than I am. Um if so, then
leave<00:24:18.520><c> any</c><00:24:18.640><c> comments</c><00:24:19.080><c> on</c><00:24:19.280><c> how</c><00:24:19.520><c> to</c><00:24:20.440><c> im-</c>

00:24:20.590 --> 00:24:20.600 align:start position:0%
leave any comments on how to im-
 

00:24:20.600 --> 00:24:22.230 align:start position:0%
leave any comments on how to im-
implement<00:24:21.120><c> a</c><00:24:21.160><c> genetic</c><00:24:21.560><c> algorithm</c><00:24:21.960><c> in</c><00:24:22.040><c> a</c><00:24:22.080><c> more</c>

00:24:22.230 --> 00:24:22.240 align:start position:0%
implement a genetic algorithm in a more
 

00:24:22.240 --> 00:24:24.110 align:start position:0%
implement a genetic algorithm in a more
efficient<00:24:22.640><c> way</c><00:24:22.800><c> than</c><00:24:22.960><c> I've</c><00:24:23.080><c> just</c><00:24:23.240><c> done.</c>

00:24:24.110 --> 00:24:24.120 align:start position:0%
efficient way than I've just done.
 

00:24:24.120 --> 00:24:25.710 align:start position:0%
efficient way than I've just done.
But<00:24:24.440><c> um</c><00:24:24.880><c> yeah,</c><00:24:25.040><c> so</c><00:24:25.160><c> that's</c><00:24:25.360><c> pretty</c><00:24:25.480><c> much</c><00:24:25.640><c> it.</c>

00:24:25.710 --> 00:24:25.720 align:start position:0%
But um yeah, so that's pretty much it.
 

00:24:25.720 --> 00:24:27.669 align:start position:0%
But um yeah, so that's pretty much it.
So,<00:24:25.800><c> I</c><00:24:25.840><c> hope</c><00:24:25.960><c> you</c><00:24:26.040><c> guys</c><00:24:26.360><c> enjoyed</c><00:24:26.760><c> this</c><00:24:26.960><c> video.</c>

00:24:27.669 --> 00:24:27.679 align:start position:0%
So, I hope you guys enjoyed this video.
 

00:24:27.679 --> 00:24:28.669 align:start position:0%
So, I hope you guys enjoyed this video.
Uh<00:24:27.760><c> thanks</c><00:24:28.000><c> for</c><00:24:28.080><c> watching.</c><00:24:28.360><c> Don't</c><00:24:28.480><c> forget</c><00:24:28.640><c> to</c>

00:24:28.669 --> 00:24:28.679 align:start position:0%
Uh thanks for watching. Don't forget to
 

00:24:28.679 --> 00:24:30.230 align:start position:0%
Uh thanks for watching. Don't forget to
subscribe<00:24:28.960><c> for</c><00:24:29.080><c> more</c><00:24:29.360><c> and</c><00:24:29.560><c> I</c><00:24:29.640><c> will</c><00:24:29.760><c> see</c><00:24:30.040><c> you</c>

00:24:30.230 --> 00:24:30.240 align:start position:0%
subscribe for more and I will see you
 

00:24:30.240 --> 00:24:32.840 align:start position:0%
subscribe for more and I will see you
next<00:24:30.520><c> time.</c>

