# propeller.problems.simple-regression documentation

## Generated by Codox

# Propeller 0.3.0

# propeller.problems.simple-regression

Simple Regression:

Given inputs and outputs, find the target function.

### -main

`(-main & args)`

Runs propel-gp, giving it a map of arguments.

### error-function

`(error-function argmap data individual)`

Finds the behaviors and errors of an individual. The error is the absolute deviation between the target output value and the program’s selected behavior, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the INTEGER stack.

### instructions

Stack-specific instructions, input instructions, close, and constants

### train-and-test-data

Training data: Inputs and outputs with -10 <= x < 11

Test data: Inputs and outputs of -20 <= x < -10 and 11 <= x < 21