kgp.evolution / BaseModel / train

train

fun train(cases: Cases): Unit

Overrides Model.train

Trains the model on a set of input-output cases.

The best solution found will be kept and defines the model found for the program being searched for.

Parameters

cases - A set of input-output cases.