public function _train(Learner $estimator, Dataset $dataset) : Learner
    {
        $estimator->train($dataset);

        return $estimator;
    }
public function _train(Learner $estimator, Dataset $dataset) : Learner
    {
        $estimator->train($dataset);

        return $estimator;
    }
public function _train ( Learner $ estimator , Dataset $ dataset ) : Learner { $ estimator -> train ( $ dataset ) ; return $ estimator ; }
Train an learner using a dataset and return it.

@param \Rubix\ML\Learner $estimator
@param \Rubix\ML\Datasets\Dataset $dataset
@return \Rubix\ML\Learner
Train an learner using a dataset and return it .