Recent Posts
-
July 28, 2020
Deploy ML Models with Flask and Docker Easily
In this tutorial, I will show you step-by-step how to build a web application with Flask from a pre-trained toy ML classification model built offline and then containerize the application using Docker. You can find the project page here.Big pictur...
-
June 13, 2020
German Tank Problem Explained
Recently I came across a podcast talking about an anecdote about statisticians estimating the German monthly tank production numbers during World War II which I found it super interesting. The number of tanks production has been a classified infor...
-
June 09, 2020
Book Review: The Lady Tasting Tea
Here is the book review on this stimulating book: The Lady Tasting Tea: How Statistics Revolutionized Science in the Twentieth Century that I wrote in Chinese almost 10 years ago at the time when I was a college student majoring in Statistics.Hone...
-
April 13, 2020
Summary of Survival Analysis
There is no better topic than survival in 2020.It has been 6 years since last time I sat at Prof. Richard Cook’s STAT 935: The Analysis of Survival Data class at UWaterloo, struggling with the maximum likelihood function in CoxPH model. Thanks to ...
-
November 16, 2019
Super 在Python中的用法
经常在别人的code里面看到super,但是一直不太清楚具体的用法,官方的文档非常technical,于是在网上找到一个还不错的资源,终于有了点眉目。这篇post主要是根据我自己的理解重新阐述(翻译)一遍原资源的takeaways以防日后我又忘了的时候可以马上记起来。Super的基本用法先来看这样一个例子。我们想要计算矩形Rectangle和正方形Square的周长和面积。class Rectangle: def __init__(self, length, width): ...