Skip to content

Commit 59d73c1

Browse files
committed
Fix formatting in t-SNE algorithm pseudocode
1 parent 2cc886c commit 59d73c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

published-paper-tsne.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Taken together, t-SNE puts emphasis on (1) modeling dissimilar datapoints by mea
168168
\State compute pairwise affinities $p_{j|i}$ with perplexity $Perp$ (using Equation 1)
169169
\State set $p_{ij} = \frac{1}{2n} (p_{j|i} + p_{i|j})$
170170
\State sample initial solution $\mathcal{Y}^{(0)} = \{y_1,\dots,y_n\}$ from $\mathcal{N}(0,1e^{-4} I)$
171-
\For{$t = 0$\dots$T$}
171+
\For{$t = 0$ $\dots$ $T$}
172172
\State compute low-dimensional affinities $q_{ij}$ (using Equation 4)
173173
\State compute gradient $\frac{\partial C}{\partial \mathcal{Y}}$ (using Equation 5)
174174
\State et $\mathcal{Y}^{t} = \mathcal{Y}^{t-1} + \eta \frac{\partial C}{\partial \mathcal{Y}} + \alpha(t) \left(\mathcal{Y}^{t-1} - \mathcal{Y}^{t-2}\right)$

0 commit comments

Comments
 (0)