Category Archives: JavaScript

A Super Simple Single Page Web Application Using Only JavaScript and HTML

I recently started working on a project that uses the Nuxt.js JavaScript Framework. It had been several months since the last time I worked on a Web project. I knew from past experience that I should warm up with a … Continue reading

Posted in JavaScript | 1 Comment

A Neural Network with Raw JavaScript

On a recent Winter weekend, I was snowed-in in my house. To use some time productively, I dusted off some old JavaScript code I wrote. The code implements a complete neural network classifier from scratch. The goal of the demo … Continue reading

Posted in JavaScript, Machine Learning | Leave a comment

JavaScript and the Sapir-Whorf Hypothesis

The Sapir-Whorf hypothesis loosely states that the structure of a spoken language affects its the way its speakers see and understand the world. This makes intuitive sense — a tribesman from a primitive country there the language doesn’t have words … Continue reading

Posted in JavaScript, Machine Learning | Leave a comment

Parrando’s Paradox Using JavaScript

I was preparing to start a project that will use JavaScript. To get ready, I coded up a few short demos of my favorite problems, using JavaScript. One of these favorite problems is Parrando’s Paradox. It’s one of the most … Continue reading

Posted in JavaScript, Machine Learning | Leave a comment

A Quick Look at Deno

Deno is a program that allows you to run JavaScript and TypeScript programs. Deno is a direct successor to Node.js and in fact Deno was written by the guy who wrote Node.js. I started working on a small project that … Continue reading

Posted in JavaScript | Leave a comment

A Quick Look At The Dart Language

The Dart programming language has created in 2011. I hadn’t looked at Dart in a long time so I figured I’d install it and run a “Hello World” program to refresh my memory. Dart was intended to be a replacement … Continue reading

Posted in JavaScript | Leave a comment

Matrix Inverse with JavaScript

I regularly use several programming languages. For the past few months I’ve been working mostly with C#. It’s important for me to practice with the other programming languages I use so I don’t get rusty. So, I decided to port … Continue reading

Posted in JavaScript, Machine Learning | Comments Off on Matrix Inverse with JavaScript

Reading and Writing Files Using Node.js

For the past couple of months I’ve been exploring the idea of creating a simple neural network (single hidden layer only) library using JavaScript. To implement a neural network library, it’s necessary to be able to read and write files. … Continue reading

Posted in JavaScript, Machine Learning | Comments Off on Reading and Writing Files Using Node.js

Computing the Inverse of Matrix

The inverse of a matrix is used in many, many machine learning algorithms. In ordinary mathematics, the inverse of a number n is a number ni so that n * ni = 1. For example, if n = 5 the … Continue reading

Posted in JavaScript, Machine Learning | Comments Off on Computing the Inverse of Matrix

Investigating Neural Network Dropout Using JavaScript

I have implemented quite a few different types of neural networks using several different programming languages. The other day I took a close look at implementing a neural network with dropout training, using JavaScript. Dropout is a technique that is … Continue reading

Posted in JavaScript, Machine Learning | 4 Comments