Coding STEM

Calculating Euclidean Distance in Python

Euclidean distance is the length of the line segment between two points in Euclidean space. It can be calculated from the Cartesian coordinates of the points using the Pythagorean theorem. It is a simple formula enough to be calculated by hand but powerful enough to be used in Machine Learning and Artificial Intelligence applications for […]

Read More
Analytics Education STEM

Interactive Reports – State Facts

Here’s an interactive data visualization of some key stats about each state (and DC) such as: state capital, size in square miles, largest city (by population), state population, year of statehood, population density (taking into account land size), population change in percentage over the years, highest peak in state and median household income. Population change […]

Read More
Coding STEM

UPDATED: Find out more about your birthday

Sometime ago, I shared my code on how to determined the day of the week of someone’s birthday based on the DOB. You can check the original post here: https://flyingsalmon.net/which-day-were-you-born/Today, however, I am extending it a little further and also showing additional information about the birthday. For example:The key news/historical events of that day!What generation […]

Read More
Back To Top