Math, asked by Prasansa7026, 11 months ago

Suppose you have m = 23m=23 training examples with n = 5n=5 features (excluding the additional all-ones feature for the intercept term, which you should add). The normal equation is \theta = (x^tx)^{-1}x^ty=(x t x) 1 x t y. For the given values of mm and nn, what are the dimensions of \theta, xx, and yy in this equation?

Answers

Answered by Shaizakincsem
4

Thank you for asking this question. Here is your answer:

Following are the options for this question:

a) X is 23×6, y is 23×6, θ is 6×6

b) X is 23×5, y is 23×1, θ is 5×5

c) X is 23×6, y is 23×1, θ is 6×1

d) X is 23×5, y is 23×1, θ is 5×1

The correct answer for this question is. Option C: X is 23×6, y is 23×1, θ is 6×1

If there is any confusion please leave a comment below.



Similar questions