Global

Members

arities :object

Symbols and their arities
Type:
  • object
Source:

gpParams :Object

GP default parameters
Type:
  • Object
Source:

RNG :Object

Random number generator with a specified seed.
Type:
  • Object
Source:

Methods

compareIndividuals(individual0, individual1) → {number}

Compare two individuals based on fitness. Maximizes
Parameters:
Name Type Description
individual0 Individual Individual 0
individual1 Individual 1ndividual 1
Source:
Returns:
1 if Individual 0 less than Individual 1
Type
number

contains(array, obj) → {boolean}

Check if array contains object.
Parameters:
Name Type Description
array array Array to check
obj object Object to check for
Source:
Returns:
If array contains object
Type
boolean

max(list) → {object}

Max value from an array.
Parameters:
Name Type Description
list array List of elements
Source:
Returns:
Max value
Type
object

min(list) → {object}

Min value from an array.
Parameters:
Name Type Description
list array List of elements
Source:
Returns:
Min value
Type
object

qualityMeasures(predictionData, observed) → {Object}

Model quality measures. Returns R^2 and MSE TODO very specific, make more general
Parameters:
Name Type Description
predictionData array Data predicted
observed array Data observed
Source:
Returns:
Type
Object