public function predict(Dataset $dataset) : array
    {
        $this->preprocess($dataset);

        return $this->estimator->predict($dataset);
    }
public function predict(Dataset $dataset) : array
    {
        $this->preprocess($dataset);

        return $this->estimator->predict($dataset);
    }
public function predict ( Dataset $ dataset ) : array { $ this -> preprocess ( $ dataset ) ; return $ this -> estimator -> predict ( $ dataset ) ; }
Preprocess the dataset and return predictions from the estimator.

@param \Rubix\ML\Datasets\Dataset $dataset
@return array
Preprocess the dataset and return predictions from the estimator .