Resources

This space serves as a repository for reference materials, study notes, cheat sheets, and technical guides compiled throughout my studies and research.

Posts below are arranged chronologically—spanning probability theory, machine learning, software tools, and computational notes. You can also use the Archive to browse all articles organized by tags.

Selected notes have also been compiled into standalone PDF documents:

  • Introduction to Probability Theory I (Spring 2020) [PDF]
  • Introduction to Probability Theory II (Fall 2020) [PDF]
  • Introduction to Latent Dirichlet Allocation [PDF]

Understanding ELMo

machine learning natural language processing

Word2Vec and FastText paved the way to quality word embedding by utilizing context information, either word-level or character-level. ELMo (embeddings from language model) improved upon those with not only single context, but with both character and word-level contexts by dedicated architecture for the tasks.
» continue reading


Understanding Latent Dirichlet Allocation (4) Gibbs Sampling

bayesian machine learning natural language processing

In the last article, I explained LDA parameter inference using variational EM algorithm and implemented it from scratch. In this post, let’s take a look at another algorithm proposed in the original paper that introduced LDA to derive approximate posterior distribution: Gibbs sampling. In addition, I would like to introduce and implement from scratch a collapsed Gibbs sampling method that can efficiently fit topic model to the data.
» continue reading