4
$\begingroup$

$$h(x) = \sum_{i = 0}^n \theta_i x_i = \theta^T x$$

I understand the above equation apart from the last bit on the right side. I think you have to read it Theta transposes to X. What does it mean? Does someone maybe have an example how it is used? Since I'm not an English native speaker, can you write out, how I would speak it correctly when I read the last part of the equation?

| cite | improve this question | | | | |
$\endgroup$
5
$\begingroup$

You should read it as "(the transpose of $\theta$) times $x$", or, in this particular case, as "the scalar product of $\theta$ and $x$".

| cite | improve this answer | | | | |
$\endgroup$
  • 2
    $\begingroup$ Remark: $\theta$ is $n\times 1$, so $\theta^T$ is $1\times n$. Now $x$ is $n\times 1$, so $\theta^Tx$ is a product of a $1\times n$ matrix and a $n\times 1$ matrix, i.e. a $1\times1$ matrix, or a scalar. $\endgroup$ – user1551 Aug 28 '11 at 0:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.