protected function preprocess(Dataset $dataset) : void
    {
        foreach ($this->transformers as $transformer) {
            $dataset->apply($transformer);
        }
    }
protected function preprocess(Dataset $dataset) : void
    {
        foreach ($this->transformers as $transformer) {
            $dataset->apply($transformer);
        }
    }
protected function preprocess ( Dataset $ dataset ) : void { foreach ( $ this -> transformers as $ transformer ) { $ dataset -> apply ( $ transformer ) ; } }
Apply the transformer middleware over a dataset.

@param \Rubix\ML\Datasets\Dataset $dataset
Apply the transformer middleware over a dataset .