public function train(array $samples, array $targets, float $desiredError = 0.001, int $maxIterations = 10000);