# Category Archives: JavaScript

## 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 | Comments Off on A Quick Look At The Dart Language

## 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

## Neural Network Momentum using JavaScript

I’ve been slowly but surely implementing core neural network functionality using the JavaScript language. My most recent exploration was modifying a back-propagation function so that it used momentum. The motivation is to speed up training. The idea is best explained … Continue reading

Posted in JavaScript, Machine Learning | 2 Comments

## Selecting n Random Items Using JavaScript

Even though I’m not a huge fan of JavaScript, I like the language more than most of my engineering / developer colleagues. Just for fun I decided to code up a function that selects n random integers from N. For … Continue reading

Posted in JavaScript, Miscellaneous | Comments Off on Selecting n Random Items Using JavaScript

## Neural Network Back-Propagation Using JavaScript

For the past few months, I’ve been slowly exploring the idea of implementing a neural network using raw (no libraries) JavaScript. Once every few days, on my lunch break, I’d design and code a few modules. This morning I made … Continue reading

Posted in JavaScript, Machine Learning | Comments Off on Neural Network Back-Propagation Using JavaScript

## Neural Network Input-Output Using JavaScript

Over the past few weeks I’ve been experimenting with the idea of implementing a basic single-hidden layer neural network using the JavaScript language. The first, obvious question is, “Why?” There are three reasons for this folly. First, neural network code … Continue reading

Posted in JavaScript, Machine Learning | Comments Off on Neural Network Input-Output Using JavaScript

## Quicksort Implemented Using JavaScript

My dog is responsible for this blog post. I’ll explain what that means in a moment. The quicksort algorithm is generally considered the best all-purpose technique to sort an array. Most programming languages have a built-in library that has a … Continue reading

Posted in JavaScript, Miscellaneous | Comments Off on Quicksort Implemented Using JavaScript