This blog is powered by Jekyll.

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Code snippets

You can use code snippets in your blog post with the backtick symbol `code` is rendered as code.

For display mode code, use three backticks (```) for opening and closing:

def hello_world():
    print("Hello word")

hello_word()

Math snippets

I have also added MathJax support.

  1. Math delimiters for inline formulae are: $ ... $.
  2. Math delimiters for display formaluae are: $$ ... $.
  3. You can also use the eqnarray, equation and align environments directly.

Examples

The formula $sin(x^2)$ is rendered as $sin(x^2)$.

The formulae for LSTM can be rendered using:

$$
\begin{eqnarray*} 
\mathbf{i}_t &=& \sigma(\mathbf{W}_{xi}\mathbf{x}_t + \mathbf{W}_{hi}\mathbf{h}_{t-1} + \mathbf{W}_{ci}\mathbf{c}_{t-1} + \mathbf{b}_i) \\
\mathbf{c}_t &=& (1-\mathbf{i}_t) \odot \mathbf{c}_{t-1} + \mathbf{i}_t \odot \tanh(\mathbf{W}_{xc}\mathbf{x}_t + \mathbf{W}_{hc}\mathbf{h}_{t-1} + \mathbf{b}_c) \\
\mathbf{o}_t  &=& \sigma(\mathbf{W}_{xo}\mathbf{x}_t + \mathbf{W}_{ho}\mathbf{h}_{t-1} + \mathbf{W}_{co}\mathbf{c}_{t-1} + \mathbf{b}_o) \\
\mathbf{h}_t &=& \mathbf{o}_t \odot \tanh(\mathbf{c}_t)
\end{eqnarray*}
$$

Which gives: