Notation conventions

x(i),  W[l]\mathbf{x}^{(i)},\; W^{[l]} Superscript in parentheses

An index in a superscript: x⁽ⁱ⁾ is the i-th training example, W⁽ˡ⁾ the weights of layer l. Not a power.

In ML papers

Parentheses or brackets around a superscript mark it as an index, not an exponent. x(i)\mathbf{x}^{(i)} is the ii-th training example and y(i)y^{(i)} its label; W[l]W^{[l]} or W(l)W^{(l)} belongs to layer ll. This frees the subscript for entries: xj(i)x^{(i)}_j is feature jj of example ii.

How to type it

LaTeXShows
x^{(i)}x(i)x^{(i)}
W^{[l]}W[l]W^{[l]}

A worked example

x(2)=(0.4,1.3),x1(2)=0.4\mathbf{x}^{(2)} = (0.4, 1.3), \quad x^{(2)}_1 = 0.4

Second example, first feature.

Common confusions

Equations that use it

Related

xi,  Wq,  pθ,  dmodelx_i,\; W_q,\; p_\theta,\; d_{\text{model}}Subscript (index or label)x2,  βt,  WQx^2,\; \beta^t,\; W^QSuperscript (power or label)x∈Rd\mathbf{x} \in \mathbb{R}^{d}Bold lowercase (vector)

Decode this example →