Description Usage Arguments Value Author(s) See Also

Functions implementing particular crossover genetic operator for GA-PARSIMONY. Method uses for model parameters Heuristic Blending and random swapping for binary selected features.

1 | ```
parsimony_crossover(object, parents, alpha=0.1, perc_to_swap=0.5, ...)
``` |

`object` |
An object of class |

`parents` |
A two-rows matrix of values indexing the parents from the current population. |

`alpha` |
A tuning parameter for the Heuristic Blending outer bounds [Michalewicz, 1991]. Typical and default value is 0.1. |

`perc_to_swap` |
Percentage of features for swapping in the crossovering process. |

`...` |
Further arguments passed to or from other methods. |

Return a list with two elements:

`children` |
Matrix of dimension 2 times the number of decision variables containing the generated offsprings; |

`fitnessval` |
Vector of length 2 containing the fitness validation values for the offsprings. A value |

`fitnesstst` |
Vector of length 2 containing the fitness with the test database (if it was supplied), for the offsprings. A value |

`complexity` |
Vector of length 2 containing the model complexity for the offsprings. A value |

Francisco Javier Martinez de Pison. fjmartin@unirioja.es. EDMANS Group. http://www.mineriadatos.com

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.