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 […]
Tag: education
How to create visualizations in Excel given nested scores
Here’s the scenario:We have two players named Eve and Inna in a game competition (say, Tennis). They play 5 matches against each other, and each match is composed of 3 games called Sets.We have data on scores of the players set by set for all 5 matches.So, the question is: How do we present this […]
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 […]
Word Connect Game
Recently, the game on New York Times has been getting a lot of attention and generating much excitement by the readers. While I don’t subscribe to the newspaper, my friends shared the game screens with me which prompted me to ponder if I could create my version of this in Python. So, after a few […]
Population, Procreation Simulation (Python)
In this post, I share my design and code for simulating some propagating organisms (you can think of them as humans, other creatures, cells, whatever you like) with certain rules. And although I have a couple of other variations of this made in C/C++ in the past, I wanted to do it in Python and […]
Simulating object’s free fall on different planets, sun, and the moon
How can we simulate a box being dropped straight from some height on Earth and graphically show the action in real-time? How will it be different on the Moon? Or on the Sun (assume it can resist the high temperature), or on other planets including dwarf planet like Pluto? Well, that was my curiousity that […]
A very effective, new AI-driven Video Creator
I am constantly scanning the AI space for new developments and newcomers in the arena. One of the most practical and stable tool I recently discovered is Pictory. It does video creation with a simple text script input, it generates videos even from a URL from any source (like a blog or article online) and […]
Early gambler’s prediction of Super Bowl winner for 2023 season
Here are the probabilities of each team winning the Super Bowl according to the betting odds from Caesars Sportsbook as of September 6, 2022: As you can see, the Buffalo Bills had the highest probability of winning the Super Bowl according to the betting odds, followed by the Tampa Bay Buccaneers and the Green Bay Packers, who […]
Microsoft + Gutenberg colab: Thousands of free audiobooks
Project Gutenberg and Microsoft recently worked together to create thousands of free and open audiobooks using a new neural text-to-speech technology and Project Gutenberg’s public domain collection of e-books. Microsoft development team: “Our system allows users to customize an audiobook’s speaking speed and style, emotional intonation, and can even match a desired voice using a […]
Impressive Voice->Text AI tool
I came across this newest entrant to voice to text AI generation tool called AudioNotes. It converts your ‘random’/unstructured voice notes and unstructured text notes into structured text summaries using AI. Essentially, it’s a note-taking app that analyzes the voice notes and can generate many variations depending on the need. I decided to give it […]