Skip to content

Instantly share code, notes, and snippets.

@yatszhash
Created January 2, 2019 22:04
Show Gist options
  • Save yatszhash/04414224c78d38e7378e522f93d39e4c to your computer and use it in GitHub Desktop.
Save yatszhash/04414224c78d38e7378e522f93d39e4c to your computer and use it in GitHub Desktop.
X = \left[
\begin{array}{rrr}
x_{01} &...& x_{0k} & ... & x_{0K} \\
... \\
x_{t1} &...& x_{tk} & ... & x_{tK} \\
... \\
x_{T1} &...& x_{Tk} & ... & x_{TK}
\end{array}
\right]
softmax(b_{k}) = \frac{\exp(b_{k})}{\sum^{n}_{i=1}exp(b_{i})}
\hat{Y} = \underset{Y}{arg~max}P(Y|X)\\
= \underset{Y}{arg~max}(softmax(W\cdot\phi(X, Y))) \\
= \underset{Y}{arg~max}(W\cdot\phi(X, Y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment