Posts
Yu Yang's Blog
Cancel

# Emacs Configuration

References: Markdown Mode for Emacs Emacs: The Best Python Editor? Zenburn for Emacs Key settings Set Command as the meta key. ;; key bindings (when (eq system-type 'darwin) ;; mac ...

# 公司的力量

Reference: 公司的力量解说词 第一集 公司！公司！ 第二集 市场无限 第三集 猎富时代 第四集 进步之痛 进步之殇 1886年是公司史上重要的一年。在这一年，美国最高法院宣布公司被视为宪法保护下的自然人，受到《权利法案》的保障。也是在这一年，美国的罢工多达1500多次。 工业化的快速进程，使得世界在19世纪100年中所发生的改变，远远超过此前的3000年。然而正因为如此...

# SHAP

I found SHAP to be a very helpful and interesting tool, and this post is mainly my understanding of the two papers about SHAP by Scott M. Lundberg. The first paper is about general use of SHAP A Un...

# Scrape using PHP

I wrote some articles in my Wechat official account before. I worried that some day the links might not work anymore, so I decided to get the local html files of those articles. And the following i...

# Logistic Regression

Parameter Estimate The parameters are estimated by maximum likelihood estimate. When we assume $p$ is a constant, $L = \prod_{i=1}^{n} p^{y_{i}}(1-p)^{1-y_{i}}$, then \$\hat{p}=n^{-1} \sum_{i=1}^...

# Python and R

Tools R Interface to Python I found reticulate to be a pretty good tool. The following notes are for this tool. And the following implementations are in RStudio(R in terminal also works). Refere...

# R Packages

Create an R package References: Instructions for Creating Your Own R Package Warning about UTF-8 with roxygen2 Create from command line Create a folder named ‘greetings’: mkdir greetin...

# Cluster Notes

MSI Jupyter Notebook FileZilla to transfer data files. Cuda and GPU number setting Use the same configuration as in CSE Labs, configure ssh to login without password. CSE Labs SSH Set...