141k views
5 votes
Suppose your training examples are sentences (sequences of words). Which of the following refers to the j^th word in the i^th training example?

We index into the ith row first to get ith the training example (represented by parentheses), then the column to get jth the word (represented by the brackets).

a. x^(j)
b. x^(j)
c. x^(i)


1 Answer

2 votes

Answer:

a. x^<i>(j)

Step-by-step explanation:

The solution has been explained in the question; however, I will provide further explanation.

The sequence to access a word is:

Training example --> Word

In other words, you first access the training example, before you gain access to the word being searched for.

Rewrite the following:

Training example --> Word

as:

ith training example --> jth word

Hence, the representation is:


x^{(i)<j>

User David Lacourt
by
3.7k points