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:
1. Overview of Supervised Learning
The [Statistical Learning] series of posts are my summary of The Elements of Statistical Learning (ESL) and a memo on the lecture Advanced Data Mining (Spring, 2021) by Prof. Yongdai Kim. Main goal of the lecture is to interpret classical machine learning models in terms of statistics and decision theoretic framework.
» continue reading
Understanding ELMo
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 (5) Smooth LDA
From background to two inference processes, I covered all the important details of LDA so far. One thing left over is a difference between (basic) LDA and smooth LDA. Consider this last post as a cherry on top.
» continue reading
Understanding Latent Dirichlet Allocation (4) Gibbs Sampling
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
Understanding Latent Dirichlet Allocation (3) Variational EM
Now that we know the structure of the model, it is time to fit the model parameters with real data. Among the possible inference methods, in this article I would like to explain the variational expectation-maximization algorithm.
» continue reading