propeller.problems.string-classification

String Classification:

Given a string, return true if it contains A, C, G, and T. Else return false.

-main

(-main & args)

Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.

error-function

(error-function argmap data individual)

Finds the behaviors and errors of an individual: Error is 0 if the value and the program’s selected behavior match, or 1 if they differ, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the BOOLEAN stack.

instructions

Set of original propel instructions

train-and-test-data

Training data: “GCG” “GACAG” “AGAAG” “CCCA” “GATTACA” “TAGG” “GACT” with associated boolean values based on problem definition.

Test data: “GCGT” “GACTTAG” “AGTAAG” “TCCTCA” “GAACA” “AGG” “GAC” with associated boolean values based on problem definition.