![]()
Ka Ming Fung
Data Scientist · notes on forecasting, geospatial analysis & Python tooling
I'm Victor โ a data scientist writing up the things I learn along the way: time series forecasting, geospatial analysis, and the Python tooling that makes it all less painful. Before this, I did climate & atmospheric science research (Ph.D. @ CUHK, postdoc @ MIT) โ that work now lives on my academic archive.
Topics
Recent Posts
-
๐ฌ Wave Theory 101: From Ripples and Strings to Light and Sound
A comprehensive, visual foundation in classical wave mechanics โ exploring wave equations, transverse vs longitudinal motion, interference, standing wave...
Read article ยท Aug 2026
-
๐ The Case of the Sneaky Comma: Why Inlay Type Hints Are Your IDE's Greatest Superpower
A frustrating debugging story that reveals how Python type hinting โ and especially IDE Inlay Type Hints โ catches subtle syntax bugs and type mutations before...
Read article ยท Aug 2026
-
๐ฌ Why Triangles? Stress, Topology & 3D-Printed Cast Geometry
A decade after my first funded grant on 3D-printed orthopedic casts, we explore finite element stress mechanics, conformal surface tiling, and interactive...
Read article ยท Aug 2026
-
๐ Setting up Colorbar Colors Using R and ggplot2
How to configure colorbar colors and scales in ggplot2 for publication-quality plots.
Read article ยท Aug 2026
-
๐ Shadow Detection via HSV Chromaticity & Otsu Thresholding
An automated computer vision pipeline using HSV color space decoupling, Otsu thresholding, and morphological filtering to segment cast shadows with scikit-image.
Read article ยท Aug 2026
-
๐ Regional Analysis Using R
How to append geographic information to gridded data for regional analysis in R.
Read article ยท Aug 2026
Highlights
-
๐ Forecast Series
Feature engineering, ensemble models, and SHAP explainability for time series forecasting.
1 ยท Feature Engineering ยท 2 ยท Ensemble Models ยท 3 ยท SHAP Explainability
-
๐ Plotting US PM2.5
Interactive air quality maps with geopandas and folium.
-
๐ค๏ธ Finding Shadows with scikit-image
A computer-vision approach to detecting shadows in satellite imagery.
-
๐ก๏ธ Detrending HK Temperature
Time series detrending with pandas and scipy.
-
๐ Harness Engineering
Notes on building agentic coding harnesses.
-
๐ฐ Investment Comparator
A Streamlit app comparing total return with dividend reinvestment across tickers.