Content Uniformity Tests Implementation Based on Monte-Carlo simulation in C++ and Python

Content uniformity tests process Implemention in C++ and Python codes. Using C++ to speed codes for 100 times.

2022-05-16 / 35 min read

Openblas vs Intel MKL for Numpy and AMD CPUs

Choose the faster library, OpenBLAS or MKL for AMD CPUs.

2022-02-25 / 4 min read

L2 regularization vs Weight decay

2021-09-14 / 2 min read

From Keras to PyTorch

This post is to record the issues I encounted during the implementation from Keras to PyTorch. At first the structure of the CNN modes is introduced. Then, the codes in Keras are shown. Next, The partial implementation in pure Pytorch is given and at last, the implementation in Pytorch Lightning is also presented.

2021-08-22 / 12 min read

如何搭建github pages以及提高访问速度

这个博客已经荒废了很久。由于定位上是一个偏向技术型的博客,记录学习中遇到的一些问题,所以我一般不会把学术研究内容或浅显的问题写在博客里。此外由于不想花钱和时间搭服务器,也不想花时间学习更多的建站知识,所以选择了 github pages 这一平台。本文就如何搭建 github pages 以及提高大陆地区的访问速度做一个简单介绍。

2021-01-26 / 3 min read

Using matplotlib to create publishable graphs

Working or sleeping, I dream of graphs - usually of rather fancy graphs on academic journals. When I think how brilliant graphs impact my feelings, I wonder about the code behind, for I am extremely tired of, and frightened by making plots by hand in Origin Lab or some other software.

2020-07-08 / 5 min read