Blog
Research insights, ideas and practical guides on transportation, data science, AI, Swift and iOS.
46 postsRSS
Tags
Archive
2026
8 posts- The Journey Home: Women, Cities and Travelling After DarkA transport researcher who studies women's night travel walks a friend through 150 years of history, the world's cities, and what the evidence says actually works.

- The Sound of a Green Light: How Blind and Disabled People Cross the World's StreetsOn a trip to Tokyo, a blind traveller tells his friend what crossing a street feels like, and which cities help and which get in the way.

- How Long Should a Yellow Light Last? The Physics Behind the AmberMeher and her transport-planner mom work out the amber-light formula, and check a famous story about where it came from.

- Extreme Value Theory, Explained with a Story: Counting Crashes That Haven't Happened YetEstimate crashes from near-misses with extreme value theory, step by step.

- Red Means Stop: A Short History of the Traffic LightA grandfather who once directed traffic by hand tells his grandson how the traffic light came to be.

- Round and Round the Block: A Short History of ParkingTwo friends hunt for a parking spot, and a parking professor explains how it got this hard.

- Why Is the Road Painted Like a Zebra? A Short History of the CrosswalkA curious kid and her transport-planner mom on how crosswalks came to be.

- The Empirical Bayes Method, Explained with a Story: Why Crash Counts Alone Can Fool YouHow Empirical Bayes corrects misleading crash counts, step by step.

2023
2 posts- Ordered Logistic Regression in R (research-oriented modeling and interpretation)Fit an ordered logistic regression model in R and interpret it for research.

- Plotting Traffic Crash Trend using Python, Matplotlib, and SeabornTurn a year-by-year crash count table into a publication-ready dodged bar plot with pandas, Matplotlib and Seaborn.

2022
8 posts- Introduction to Box and Boxen Plots — Matplotlib, Pandas and Seaborn Visualization Guide (Part 3)Learn to draw box plots and boxen (letter-value) plots with Matplotlib, pandas and Seaborn.

- Introduction to Dodged Bar Plot (with Numerical Stats)— Python Visualization Guide (Part 2.3)Use dodged bar plots to compare numerical statistics such as means across groups in Python.

- Introduction to Stacked Bar Plot — Matplotlib, Pandas and Seaborn Visualization Guide (Part 2.2)Learn to draw stacked bar plots with Matplotlib, pandas and Seaborn.

- Introduction to Dodged Bar Plot — Matplotlib, Pandas and Seaborn Visualization Guide (Part 2.1)Learn to draw dodged (grouped) bar plots with Matplotlib, pandas and Seaborn.

- Introduction to Line Plot — Matplotlib, Pandas and Seaborn Visualization Guide (Part 1)Learn data visualization in Python from scratch, starting with line plots in Matplotlib, pandas and Seaborn.

- Generate Numerical Correlation and Nominal Association Plots using PythonPlot Pearson correlations between numeric variables and associations between categorical variables in Python.

- Set Up Python and VS Code for Data Science, Step by StepInstall Miniconda and Visual Studio Code, give each project its own clean environment, and run your first Jupyter notebook — with a screenshot for every click.

- Start Your Data Science Journey with These Books and CoursesTwenty-six books and courses, in the order I would take them if I started over, from your first line of Python to deep learning, time series and big data.

2021
7 posts- Introduction to PySparkGet started with PySpark: create a Spark session, load data, and filter, group and aggregate it.

- How to use Stata and Python Together Directly from Jupyter NotebookRun Stata and Python side by side in a single Jupyter notebook.

- Survival Analysis in Stata (KM Estimate, Cox-PH and AFT Model)Survival analysis in Stata: Kaplan-Meier curves, Cox proportional hazards regression and accelerated failure time models.

- Survival Analysis in Python (KM Estimate, Cox-PH and AFT Model)Survival analysis in Python: Kaplan-Meier curves, Cox proportional hazards regression and accelerated failure time models.

- Finding the Best Distribution that Fits Your Data using Python’s Fitter LibraryUse Python's fitter library to find the probability distribution that best fits your data.

- Modelling Binary Logistic Regression using Tidymodels Library in R (Part-1)A step-by-step guide to fitting logistic regression with R's tidymodels library.

- Generate Publication Ready Facet, Pair, and Joint Plots using Seaborn Library (Part 2)Generate publication-ready facet, pair and joint plots with Python's Seaborn library.

2020
21 posts- Generate Publication-Ready Plots Using Seaborn Library (Part-1)Generate publication-ready histograms, box plots, bar plots and more with Python's Seaborn library.

- Model Hyperparameters Tuning using Grid, Random and Genetic based Search in PythonTune machine learning models in Python with grid search, random search and genetic-algorithm search.

- Fitting MLR and Binary Logistic Regression using Python (Research-Oriented Modeling & Interpretation)Estimate multiple linear and binary logistic regression models in Python and report them for research publications.

- Machine Learning Model Explanation using Shapley ValuesInterpret a black-box machine learning model with SHAP (SHapley Additive exPlanations).

- Combining Multiple ggplot2 Plots for Scientific PublicationsLearn how to combine several ggplot2 plots into one figure for scientific publications.

- Modelling Multiple Linear Regression Using R (research-oriented modelling and interpretation)Train a multiple linear regression model in R, interpret its coefficients and run a stepwise regression.

- Online Courses for Starting your Research JourneyThe Coursera courses students should take to build research skills.

- Diabetes Prediction Model Explanation using LIMETrain and test a diabetes classification model in Python, then explain its predictions with LIME.

- Setting Up IPython Notebook using Anaconda DistributionSet up an Anaconda environment and connect it to an IPython (Jupyter) kernel.

- Decision Tree-Based Diabetes Classification in RTrain, prune and tune a decision tree classifier to predict diabetes in Python.

- How to Create and Customize Bar Plot Using ggplot2 Package in RBuild a bar plot in R with ggplot2, then adjust its colours and labels.

- Diabetes Classification using PyCaretCompare models, tune hyperparameters and plot results for a diabetes classifier in a few lines of code with PyCaret.

- How to Generate ECDF Plot using Python and RPlot an empirical cumulative distribution function (ECDF) and compute percentiles in both Python and R.

- How to use Notion Note-taking Application for ResearchAn introduction to the Notion note-taking app and how to organise your research in it.

- Inserting and Resizing Images in IPython Notebook (Python and R)A quick fix for showing image files inside a Jupyter (IPython) notebook, in both Python and R.

- Hyperparameter Tuning of Keras Deep Learning Model in PythonAutomate hyperparameter tuning for a Keras deep learning model in Python.

- Start Your CNN Journey with PyTorch in PythonClassify handwritten digits with a convolutional neural network (CNN) in PyTorch.

- Make Your Data Manipulation Fast, Fluent, and Fun Using the dfply Package in PythonManipulate data in Python with dplyr-style pipes using the dfply package.

- Modelling Binary Logistic Regression Using R (research-oriented modelling and interpretation)A hands-on guide to fitting a binary logistic regression model in R and interpreting it for research.

- Modelling Binary Logistic Regression Using Python (research-oriented modelling and interpretation)A hands-on guide to fitting a binary logistic regression model in Python and interpreting it the way research papers need.

- Programming, Data Science and Machine Learning Books (Python and R)Books that will help you understand the data science workflow and become a data scientist in Python and R.

No posts match.
46 posts · RSS feed