﻿1
00:00:00,540 --> 00:00:01,350
‫Welcome back.

2
00:00:02,130 --> 00:00:10,160
‫So now, since you have seen how this vector looks like and this vector looks like and also this vector

3
00:00:10,180 --> 00:00:20,940
‫looks like, now you are in a position to transform this G prime cost function without the constant

4
00:00:20,940 --> 00:00:21,460
‫terms.

5
00:00:21,490 --> 00:00:24,090
‫Remember, JP was without the costs and terms.

6
00:00:24,680 --> 00:00:33,180
‫You are in a position to take this cost function and get rid of this summation sign, because remember,

7
00:00:33,360 --> 00:00:40,800
‫the summation sign just means that you have a lot of terms here from ickle zero up until N minus one,

8
00:00:40,800 --> 00:00:42,540
‫which in our case is four.

9
00:00:42,540 --> 00:00:44,130
‫Minus one equals three.

10
00:00:45,160 --> 00:00:52,270
‫But just like in the previous course, you could put all these terms in a vector matrix form, which

11
00:00:52,270 --> 00:00:53,300
‫looks like this.

12
00:00:54,220 --> 00:01:04,450
‫So if you collect all the terms that have this vector and then this vector transposed, then you can

13
00:01:04,600 --> 00:01:08,140
‫rewrite all those terms in one term like this.

14
00:01:08,680 --> 00:01:15,130
‫And then if you collect all the terms from this cost function, then have this vector here and then

15
00:01:15,190 --> 00:01:22,630
‫this vector here, like, for example, this and then this for all the eyes.

16
00:01:23,550 --> 00:01:30,360
‫Then you can put all those items together and rewrite them as one term like this, and remember, since

17
00:01:30,360 --> 00:01:34,690
‫you had a minus sign here, that's why you have a minus sign here as well.

18
00:01:35,580 --> 00:01:42,540
‫And by the way, you have this suerte matrix here in the last element because you also have it here

19
00:01:42,990 --> 00:01:47,800
‫and then the S is here because you also have it here.

20
00:01:48,540 --> 00:01:56,910
‫So in this case, you would have this vector and this vector that would belong to this term.

21
00:01:57,780 --> 00:02:06,000
‫And then in this case, your vectors would be here and then here, and then they would belong to this

22
00:02:06,000 --> 00:02:06,810
‫term here.

23
00:02:07,730 --> 00:02:13,970
‫And then if you look at this term here, well, first of all, instead of Delta, you have you here

24
00:02:13,970 --> 00:02:15,170
‫and here as well.

25
00:02:15,170 --> 00:02:16,240
‫You have a you here.

26
00:02:17,030 --> 00:02:24,710
‫And if you collect all the terms together for all the eyes, then you will have this term here.

27
00:02:25,690 --> 00:02:32,440
‫You see, you have here Delta, you transposed, so that would be for this one here and here, you have

28
00:02:32,440 --> 00:02:36,160
‫just Delta you and that would be for this one here.

29
00:02:37,490 --> 00:02:45,800
‫And so as a result, you get your global weight matrixes, this global weight matrix, we called it

30
00:02:46,250 --> 00:02:48,290
‫Q double bar.

31
00:02:49,410 --> 00:02:56,970
‫This global weight matrix, we called it T. Double Bar and this global weight matrix, we called it

32
00:02:56,970 --> 00:02:58,340
‫our double bar.

33
00:02:59,250 --> 00:03:06,170
‫So all we have done, we have rewritten the prime cost function in this form.

34
00:03:06,780 --> 00:03:13,140
‫We went from the format with the summation sign to the one without it, and that's it.

35
00:03:13,890 --> 00:03:20,370
‫So in this format, if you write them all open, you will get the form with the summation sign.

36
00:03:21,120 --> 00:03:30,300
‫And then we have defined three huge weight matrices Q double bar, T double bar and then our double

37
00:03:30,300 --> 00:03:33,810
‫bar that look like this respectively.

38
00:03:34,440 --> 00:03:36,060
‫And now you have an exercise.

39
00:03:36,390 --> 00:03:43,590
‫Your exercise now is to tell me what the dimensions of Q double bar, T double bar and our double bar

40
00:03:43,590 --> 00:03:44,070
‫are.

41
00:03:44,790 --> 00:03:47,090
‫What are their matrix dimensions.

42
00:03:48,070 --> 00:03:51,690
‫Try it out yourself and then I'll see you in the next video.

43
00:03:51,870 --> 00:03:52,800
‫Thank you very much.

