private function fitTransformers(array &$samples) { foreach ($this->transformers as $transformer) { $transformer->fit($samples); } }