‫Welcome back.
‫So now, since you have seen how this vector looks like and this vector looks like and also this vector
‫looks like, now you are in a position to transform this G prime cost function without the constant
‫terms.
‫Remember, JP was without the costs and terms.
‫You are in a position to take this cost function and get rid of this summation sign, because remember,
‫the summation sign just means that you have a lot of terms here from ickle zero up until N minus one,
‫which in our case is four.
‫Minus one equals three.
‫But just like in the previous course, you could put all these terms in a vector matrix form, which
‫looks like this.
‫So if you collect all the terms that have this vector and then this vector transposed, then you can
‫rewrite all those terms in one term like this.
‫And then if you collect all the terms from this cost function, then have this vector here and then
‫this vector here, like, for example, this and then this for all the eyes.
‫Then you can put all those items together and rewrite them as one term like this, and remember, since
‫you had a minus sign here, that's why you have a minus sign here as well.
‫And by the way, you have this suerte matrix here in the last element because you also have it here
‫and then the S is here because you also have it here.
‫So in this case, you would have this vector and this vector that would belong to this term.
‫And then in this case, your vectors would be here and then here, and then they would belong to this
‫term here.
‫And then if you look at this term here, well, first of all, instead of Delta, you have you here
‫and here as well.
‫You have a you here.
‫And if you collect all the terms together for all the eyes, then you will have this term here.
‫You see, you have here Delta, you transposed, so that would be for this one here and here, you have
‫just Delta you and that would be for this one here.
‫And so as a result, you get your global weight matrixes, this global weight matrix, we called it
‫Q double bar.
‫This global weight matrix, we called it T. Double Bar and this global weight matrix, we called it
‫our double bar.
‫So all we have done, we have rewritten the prime cost function in this form.
‫We went from the format with the summation sign to the one without it, and that's it.
‫So in this format, if you write them all open, you will get the form with the summation sign.
‫And then we have defined three huge weight matrices Q double bar, T double bar and then our double
‫bar that look like this respectively.
‫And now you have an exercise.
‫Your exercise now is to tell me what the dimensions of Q double bar, T double bar and our double bar
‫are.
‫What are their matrix dimensions.
‫Try it out yourself and then I'll see you in the next video.
‫Thank you very much.