Python & Data Science

Blog

Reference: Time Series Anatomy

A reference for time series anatomy: trend, seasonality, residual, autocorrelation, and stationarity, with Python decomposition examples and decision rules.

Reference: Significance Tests

A reference catalog of significance tests — z-tests, t-tests, chi-square, KS, and permutation tests — covering what each tests, when to use it, and common pitfalls.

Reference: Preprocessing

A practical reference on ML preprocessing: choosing imputation for MCAR/MAR/MNAR, avoiding train/test leakage, and keeping dtypes aligned in production.

Reference: Optimizers

A reference covering neural network optimizers from GD to AdamW, with learning-rate schedules, decision trees, and practical guidance for each architecture.

Reference: The MLOps Lifecycle

A one-page map of the MLOps lifecycle from training through deployment, monitoring, and retraining, pairing each stage to the production failure it catches.

Reference: LLM Vocabulary

Close the LLM vocabulary gap with this single-file reference on tokens, embeddings, attention, sampling, and the cost ladder from prompting to fine-tuning.

Reference: Hypothesis Testing

A complete reference on hypothesis testing: p-values, error types, power, multiple comparison corrections, and choosing the right test with Python examples.

The 'Just Run It' Trap

Learn how to calculate A/B test sample size in Python with statsmodels, avoid the peeking problem, and balance MDE, alpha, and power before you launch.

The 'Smart' Model that Failed

Learn why ARIMA and SARIMA outperform deep learning on small time-series datasets, with intuitive breakdowns of momentum, differencing, shocks, and seasonality.