Yu YangReference Materials for Learning CausalityThis article strikes the start of my new series on causality. In this article, I will share the reference materials that I find very useful…Jun 23Jun 23

Yu YangInstall Graphviz and pygraphviz without root privilegeIn the official installation documentation of pygraphviz, it is suggested that we install Graphviz first with sudo apt-get install graphviz…Jun 26, 2022Jun 26, 2022

Yu YangExtract Tables from Notion with PythonI have become a fan of Notion these days. I use it on a daily basis to write my daily journal. On my daily journal, there are two tables…Aug 22, 2021Aug 22, 2021

Yu YangUnderstand penalty.factor in glmnetWhen trying to use glmnet, probably the most popular R package for regularized regression, to do weighted lasso estimation, I struggled a…Feb 14, 20211Feb 14, 20211

Yu YangUnderstand d-separationD-separation is a critical idea in Bayesian Networks. The problem it intends to tackle is: given a causal graph G, is a set X of variables…Feb 5, 20212Feb 5, 20212

Yu YanginAnalytics VidhyaUnderstand T5 — Text-to-Text Transfer TransformerThe original paper: Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer.Jan 26, 20211Jan 26, 20211

Yu YangUnderstand torch.scatter_()First, note that scatter_() is an inplace function, meaning that it will change the value of input tensor.Jul 15, 20205Jul 15, 20205