Skip to content

stevemacn/genetic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

46872c1 · Apr 2, 2017
Dec 2, 2014
Dec 2, 2014
Dec 2, 2014
Nov 20, 2014
Apr 2, 2017
Dec 3, 2014
Dec 3, 2014
Nov 25, 2014
Nov 22, 2014

Repository files navigation

Genetic algorithm

Curve fitting is a well researched problem. There are few approaches that use genetic algorithms for curve fitting. We try a new approach to curve fitting where we don't focus on performance but rather try to create "real" equations. This differs from the traditional approach, where parameters of a harmonic function are varied to produce a specific curve.

The visualization is written in D3 and javascript; however, the server and genetic algorithm are written entirely in clojure.

Examples

Generated by code

For goal graph - blue is randomly generated, red is our match. An example graph

Generated by code

For goal graph - blue is randomly generated, red is our match. An example graph

Setup and run

lein run -m myapp.core

Then navigate your browser to localhost:5000 to see some graphs