Home

Quadratic Predictor

A perceptron that prdicts a, b, and c in a quadratic equation

The idea of this code is an implimentation of machine learning that can solve a practical mathematical problem, it will (mostly) solve a Quadratic equation based off of x and y coordinates that are input. The internal logic is to pick three random a,b and c values, and another triplet that are randomly changed off the original based on the error of the previous Generation. After testing the error amount of each triplet, the best one is chosen and sent to the next generation where it pairs off with a new random triplet, once the error rate is low enough it will then end, showing the selected a, b and c values of the base equation.

Download Here

Render