Ben Chuanlong Du's Blog

It is never too late to learn.

Best Way of Using HoloViews

Comments

  1. DataFrame.hvplot (via the Python package hvplot) is the most convenient way to use HoloViews.

  2. If you want to use HoloViews directly, it is better to create a HoloViews.Dataset object and use it for visualization.

  3. The groupby option generates a plot with a dropdown list for interactively showing plots of different groups. You can overlay plots of different groups together on the same plot simplify by calling the .overlay()

Tips on GitHub Actions

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

Tips and Traps

  1. You can use sudo without password in Linux and macOS when running GitHub Actions.

  2. GitHub Actions supports manual triggers with workflow_dispatch. Workflow parameters are supported in manually triggers …

Tips on nbconvert

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

  1. Converting too many notebooks at the same (multiprocessing) causes zmq.error.ZMQError: Address already in use. The simple way to fix this issue is to limit the number of processes converting …

Scaling Law for LLM

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

Beyond neural scaling laws – Paper Explained

Scaling Laws refer to the observed trend of some machine learning architectures (notably transformers) to scale their performance on predictable power law when given more …