Machine Learning in JS: k-nearest-neighbor Introduction

This article is part of the Machine Learning in Javascript series. My goal is to teach ML from fundamental to advanced topics using a common language. Javascript is an excellent choice because it requires no special environment to run, and its lack of ML libraries forces us to learn and

Modeling Physics in Javascript: Gravity and Drag

This is the first post in the Modeling Physics in Javascript series. As such, we'll need to cover some introductory material. There are some of you who have real training in physics and calculus. You may be tempted to scream "that's not the whole story" at me when

Modeling Physics in Javascript: Introduction

Physics in Javascript Table of Contents: Gravity and Drag Spring-Mass-Damper (Car Suspension, Part 1) Rigid Bodies, Part 1 (Pendulum Clock) Another post that starts with "I love": I love physics. I really do. Once upon a time I was a real engineer (Master in Mechanical Engineering, hybrid car

Using Gmail and IMAP to create an incoming email system

Today I just want to show off a fun little project I'm integrating into the Tidal dashboard. This article is applicable to anyone who wants to process a bunch of incoming emails -- potentially addressed to different recipients -- and route them either into user dashboards or support buckets or

Machine Learning: Introduction to Genetic Algorithms

I like starting my machine learning classes with genetic algorithms (which we'll abbreviate "GA" sometimes). Genetic algorithms are probably the least practical of the ML algorithms I cover, but I love starting with them because they're fascinating and they do a good job of introducing the "cost