Genetic Algorithm

I wrote a genetic algorithm for a computational economics class where the objective was to map a sine function over a fixed interval with a polynomial. The student with lowest sum of squared errors got a $50 prize – and that turned out to be me. I tried two approaches, based on the number of inflection points on the interval […]

Read more