Posts by Tags

ML

study-notes Welford’s algorithm for batch statistics updates

1 minute read

Created:

Computing moving statistics (e.g. mean and variance) is useful when dealing with very large datasets. Welford’s algorithm is one method for achieving this. This post derives how it works for single sample as well as batch updates.

coding

study-notes How to make a Python project

3 minute read

Created:

The resources/documentations out there can be overwhelming for scientific/academic software development. The general concept of building, managing dependencies, and CI/CD might be gently introduced/reviewed in this lecture, but one could probably find resources more updated and specific to Python elsewhere.

crystallography