Skip to content
JamesNewton edited this page Jul 11, 2019 · 5 revisions

Machine Learning is what mad scientists like to call "Artificial Intelligence" these days. We call it that because we promised to make AI's really quickly a long time ago and failed. We don't say we are working on AI anymore, we just talk about Machine Learning. We've adjusted our goals. But ML is the first step towards AI.

Methods

Linear Regression

In school, you should have learned the standard linear equation:

Y = mX + b

You put in values of X, positive or negative, picked from a line we can show going left to right, and you get back values on the Y axis, which we show vertically:

The vertical position is computed from the horizontal position by multiplying it by some number we call "m" and then adding another number, we call "b".

If we have a bunch of points, taken from real world data, and we write a program that finds values for m and b which calculate a Y from each points X, which is pretty close to the actual points Y, then that program has learned to predict where new points will probably appear on that graph.

This is called Linear Regression and it's the first step in understanding Machine Learning.

Neural Nets

Neural Networks use Regression to train a slightly more complex formula which also makes predictions based on it's inputs. Instead of one X, there are many X's and each has it's own m. But let's change the letter from "m" to "w" for "Weight". Like:

Y = w1X1 + w2X2 ... + b

And we connect many of these formulas, each called a node, together to form a network:

Demos

Clone this wiki locally