method Creature.prototype.evolveDir Creature.prototype.evolveDir(dataSetDir: string,options: NeatOptions,): Promise<{ error: number; score: number; time: number; generation: number; }> Evolve the creature to achieve a lower error on a dataset. Parameters dataSetDir: string The directory containing the dataset. options: NeatOptions The NEAT configuration options. Return Type Promise<{ error: number; score: number; time: number; generation: number; }>