## Bonus Evolutionary Algorithm

This is part of a series entitled Genetics In Action. To wrap up this series on evolutionary algorithms, I want to provide you with one final algorithm, the Flopping Fish Algorithm. This is not a particularly good algorithm at all, but it is one that I've seen in practice. Let's start by taking a genetic…

## Genetic Programming: DBA Salaries

This is part of a series entitled Genetics In Action. Today's post shows off another variant of genetic programming.  Last time around, we looked at mathematical functions using rgp.  Today, we are going to build conditional programs using evtree, another evolutionary library in R. Time To Buy Me A DBA The data set we will use…

## Genetic Programming: Mathematical Functions

This is part of a series entitled Genetics In Action. In today's post, I am going to look at two examples of deriving a mathematical function.  I will use the rgp package in R.  It appears that nobody is maintaining the rgp package anymore, so this isn't something I'd use in a production scenario, but…

## Genetic Programming

This is part of a series entitled Genetics In Action. Up to this point, we have looked at genetic algorithms, one particular evolutionary algorithm.  Now we're going to take a look at a different evolutionary algorithm called genetic programming.  John Koza popularized genetic programming with his eponymous series of books, starting with Genetic Programming and…

## Plot SQL Server CPU Usage With R

EDIT 2017-06-16: I revised the script a little bit to add in total CPU as well, making it easier to see when you're at 100% utilization. This is a quick way of grabbing the last 256 minutes of CPU usage data from SQL Server and plotting it using R. The SQL Server script comes from…

## Genetic Algorithms In R: The Holyfield Problem

This is part of a series entitled Genetics In Action. In the last post, we looked at solving a basic genetic algorithms problem:  finding a global maximum for a function consisting of a single real-valued variable.  Today, we are going to look at a more complex interaction and solve one of life's more interesting challenges:…

## Using Genetic Algorithms In R

This is part of a series entitled Genetics In Action. In today's post, we are going to look at the GA package in R, which implements genetic algorithm.  This package allows us to build different types of genetic algorithms in just a few lines of code.  Let's start with an easy example. Maximizing A Mathematical…

## Building A Genetic Algorithm

This is part of a series entitled Genetics In Action. So far, we have learned a little bit about evolutionary algorithms and taken a look at just enough high school biology to review the basics of genetics.  Today, I want to look at one particular type of evolutionary algorithm called a genetic algorithm. Although John…

## The Basics Of Genetics

This is part of a series entitled Genetics In Action. In today's post, I want to cover some extremely basic genetic concepts.  We use these concepts in genetic algorithms and genetic programming, and understanding the biological explanations will help us apply the metaphor to software development. Evolutionary Biology In 400 Words We have a population of…

## Evolutionary Algorithms: The Basics

This is part of a series entitled Genetics In Action. I'm in the process of creating a new talk, entitled Genetics In Action:  Evolutionary Algorithms.  I have no idea where, outside of work, I'm going to give this talk; still, it's a topic I love and maybe I'll sneak it in at some conference somewhere.…