Ben Chuanlong Du's Blog

It is never too late to learn.

Bootstrap Resampling in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.bootstrap.html

Construct Confidence Intervals Using Jackknife

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

meterstick is an opensource Python library by Google, which provides a concise syntax to describe and execute routine data analysis tasks . Specially, it supports the statistical method "jackknife on bucketized data …

Birth Certificate in WA

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Order a Birth Certificate

  1. It is suggested that you order by mail if it is not urgent. Otherwise, it is suggested that you order online and use "UPS Next Day" delivery …

Loss Functions for Machine Learning Models

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. A Loss function is always non-negative. If you get a negative loss when training a model, there must be something wrong with the code. For example, maybe you …

Entropy

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Entropy
  2. Shannon Entropy
  3. Cross Entropy
  4. K-L divergence

Tips

  1. The entropy concept was first introduced for discrete distributions (called Shannon entropy), which is defined as

    $$H(X) = E …

Effect of Duplicating Observations in Linear Models

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

coefficients don't change but variance become smaller. use formula to show it ...

Complete Duplication of All Data Points

Complete Duplication of Some Data Points

Duplication with Noise

common in computer vision …