Evolution is an amazing problem-solving machine. Genetic algorithms are a class of computational models that mimic the natural selection process to solve problems. These routines, in turn, give computers greater flexibility in adapting to unforeseen circumstances in analyzing large data sets or in predicting uncertain outcomes.