kgp.evolution / Model

Model

interface Model

A model that trains a population of solutions.

Properties

population abstract var population: MutableList<Tree>

A set of solutions to a problem.

Functions

test abstract fun test(features: List<Feature>): Double

Tests the model on a set of features.

train abstract fun train(cases: Cases): Unit

Trains the model on the cases given.

Inheritors

BaseModel class BaseModel : Model

A base model for evolving trees.