Skip to main content


Introduction to genetic algorithms

In this video, K.D. Gandhi provides an introduction to genetic algorithms. KD provides 2 coded examples in Javascript: a "Hello world" example, and an approximation solution to the Traveling Salesman Problem (TSP). K.D. also dives into variations and discusses mutations vs crossover and the need for both to avoid incestual clustering, which can result in local optimization, as opposed to global.

Project Members: Kamaldeep Gandhi

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.